Jump to content
  • entries
    10
  • comments
    25
  • views
    10,249

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

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++

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++ Leadwerks 5 showing only needed variables for Entities in debug

In Leaderks 5 debugger shows 2-3 times more variables for Entity based class instances that you screen can show without scrolling. Luckily i found a way to change it via .natvis files: https://learn.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects?view=vs-2022 Example natvis xml code for Pivot: <?xml version="1.0" encoding="utf-8"?> <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> <Type Name="Leadwerks:

Dreikblack

Dreikblack in C++

×
×
  • Create New...