Dreikblack Posted February 1, 2025 Posted February 1, 2025 Need asap it for lua variation of my 3rd tutorial -- Get the displays local displays = GetDisplays() -- Create a window local window = CreateWindow("Ultra Engine", 0, 0, 1280, 720, displays[1], WINDOW_CENTER + WINDOW_TITLEBAR) -- Create a world local world = CreateWorld() -- Create a framebuffer local framebuffer = CreateFramebuffer(window) -- Create light local light = CreateBoxLight(world) light:SetRange(-10, 10) light:SetRotation(15, 15, 0) light:SetColor(2) -- Create camera local camera = CreateCamera(world) camera:SetClearColor(0.125) camera:SetPosition(0, 0, -3) camera:SetFov(70) camera:Project(Vec3(0,0,0), framebuffer) -- Main loop while not window:Closed() and not window:KeyDown(KEY_ESCAPE) do -- Click on an object to change its color world:Update() world:Render(framebuffer) end Quote Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Dreikblack Posted February 1, 2025 Author Posted February 1, 2025 Also not bound Material::SetPickMode() Quote Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Dreikblack Posted February 1, 2025 Author Posted February 1, 2025 Agent:Navigate returns nil when should bool You can add it to example to test it: local test = agent:Navigate(rayinfo.position) Print(test) https://www.ultraengine.com/learn/NavAgent_Navigate?lang=lua Quote Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Dreikblack Posted February 2, 2025 Author Posted February 2, 2025 Agent:GetDestination is not bound and i need for tutorial as well Quote Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Solution Josh Posted February 7, 2025 Solution Posted February 7, 2025 All these changes will be included in today's build. Camera::UnProject will be called Unproject in Lua, and will later get changed in C++ as well. 1 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.