Jump to content
  • entries
    8
  • comments
    16
  • views
    5,968

About this blog

Tutorials for Ultra Engine/LeadWerks 5.

C++ Repository with final version of examples: https://github.com/Dreikblack/CppTutorialProject 

Be ready for Java code style in C++ code. Also take in consideration that English is not my native language.

Lua Repository with final version of examples: https://github.com/Dreikblack/LuaTutorialProject/

Entries in this blog

Lua Leadwerks 5 Tutorial - Adding prompt for usable objects in fps controller

In this tutorial will be used Tile, Camera:Pick() and Entity:GetDistance FPSPlayer component of FPS Template will be used as a base to modify Algorithm: 1. Create a Tile with text prompt 2. In Update function of component check if player look at usable object at close distance 3. if the check is passed then show prompt at center of screen Result will looks like that: Let's implement this Algorithm: 1. Add new component variable, for example after:

Dreikblack

Dreikblack in Lua

C++ Ultra Beginner's Guide #4 - adding features to strategy game - custom save/load system, particles, decals, sounds

In this tutorial we will add features to real-time tactic/strategy game in Ultra Engine fro prev tutorial: Plan: 1. Add flag model to use when pointing where to go for units 2. Make save/load system with quick save 3. Make blood particle emitter which will be used on hits and use it in Unit::Methood 4. Make blood decals which will be on the ground after death and spawn it in Unit::Kill 5. Download and use sounds for units getting damage.   In this tutoria

Dreikblack

Dreikblack in C++

C++ Ultra Beginner's Guide #3 - making simple strategy game - importing animated models, AI, health bars

In this tutorial we will make a simple real-time tactic/strategy game in Ultra Engine. Plan: 1. Download and import ground material, 2 characters models with animations 2. Create Unit component with bot behavior. 3. Add control over player units. 4. Making prefabs and new map In this tutorial used 0.9.9 engine version. Asset import Download and unpack ground material from there in Materials\Ground folder  Make in Models folder Characters in it Warrok

Dreikblack

Dreikblack in C++

Lua Ultra Beginner's Guide #3 - making simple strategy game - importing animated models, AI, health bars

In this tutorial we will make a simple real-time tactic/strategy game in Ultra Engine. Plan: 1. Download and import ground material, 2 characters models with animations and flag model 2. Create Unit component with bot behavior. 3. Add control over player units. 4. Making prefabs and new map In this tutorial used 1.0.0 Engine version from Steam Beta branch (Dev in Standalone version). Later versions, once they out, should be compitable code-wise. Just update sha

Dreikblack

Dreikblack in Lua

Lua Beginner's Guide - first map, Main Menu, Loading Screen and GUI

Prerequisites https://www.ultraengine.com/learn/luasetup?lang=lua You can use Engine's IDE for scripting, but VS Code in most cases is better. This Lua extension is quite useful for VS Code, if you don't mind Tencent. Map Create a simple map call start.ultra with a brush as floor and a Empty aka pivot with FPSPlayer component How to do it:   Now you can press "F5" in the editor, or select "Game" then "run" to run your game to just made map:

Dreikblack

Dreikblack in Lua

Lua Ultra Beginner's Guide #2 - making and using components

In this tutorial we will make a newcomponent, which will be moving an entity to way points and movement start will be activated by trigger zone Let's start with making WayPoint component: In the Ultra Editor click plus button in Project tab: Now open Visual Studio Code.   Open WayPoint.json "properties" is a list of component's fields avaible for edit in the Editor "name" - actual name of property that will be used in code later "label"

Dreikblack

Dreikblack in Lua

C++ Ultra Beginner's Guide #2 - making and using components

In this tutorial we will make a newcomponent, which will be moving an entity to way points and movement start will be activated by trigger zone 0.9.9 engine version used. Let's start with making WayPoint component: In the Leadwerks Editor click plus button in Project tab: Now open Visual Studio. Refresh Soution Editor if it was already open to see new component files in Source/Component/Logic folder. Open WayPoint.json "properties" is a list of compon

Dreikblack

Dreikblack in C++

C++ Beginner's Guide - first map, Main Menu, Loading Screen and GUI

Prerequisites https://www.leadwerks.com/learn/cppsetup?lang=cpp Install Ultra Engine Pro / Leadwerks 5 Pro Tutorial was updated for 0.9.9 version Check the environment variable LEADWERKS (typically "C:\Program Files\Ultra Engine" or if you got Ultra Engine through Steam it will be "C:\Program Files (x86)\Steam\steamapps\common\Ultra Engine Pro"). Install Visual Studio 2022 Community Edition During the installation process, make sure to select the "Desktop

Dreikblack

Dreikblack in C++

×
×
  • Create New...