Alienhead Posted November 13, 2023 Share Posted November 13, 2023 As with my Ultra Request List, this is a single thread I'm wanting to use to report things I found not working right. I'll keep all my listing in a single thread. Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Alienhead Posted November 13, 2023 Author Share Posted November 13, 2023 I'm trying to use SetCursor() but all that happens is a window is created for a brief second then it closes. No errors listed anywhere. Quote --Load FreeImage plugin (optional) local fiplugin = LoadPlugin("Plugins/FITextureLoader") --Get the displays local displays = GetDisplays() --Create a window local window = CreateWindow("Ultra Engine", 0, 0, 1280, 720, displays[1], WINDOW_CENTER | WINDOW_TITLEBAR) window:SetCursor(CURSOR_NONE) --Create a world local world = CreateWorld() --Create a framebuffer local framebuffer = CreateFramebuffer(window) world:Render(framebuffer) --Load a map local mapname = "Maps/start.ultra" local cl = CommandLine() if type(cl["map"]) == "string" then mapname = cl["map"] end local scene = LoadMap(world, mapname) ------------------------------------------------------------------------- while window:KeyDown(KEY_ESCAPE) == false and window:Closed() == false do --Update the world world:Update() --Render the world to the framebuffer world:Render(framebuffer) end Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Alienhead Posted November 13, 2023 Author Share Posted November 13, 2023 This is the problems I'm facing with screening in the editor, maybe this gif will better explain it then my words. Gif saved at 12fps, sorry for the slowness. Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
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.