ShufordTechnology Posted Monday at 02:58 PM Share Posted Monday at 02:58 PM Using examples from: https://www.ultraengine.com/learn/GUI?lang=cpp I can build the UI as i want, and it works fine, when the user presses "start game" i switch to the main game loop, loading all of the objects for the game. When the user presses ESC, it removes the world, scene, objects, etc then reloads the UI, and enters the UI loop. The problem is, the user interface buttons etc are all hidden behind a frozen screen of the last view in the 3D game. The buttons can be clicked, but you cannot see them. I tried to find a way to clear the screen before loading the UI, but have not found anything in the documentation. Quote Link to comment Share on other sites More sharing options...
Dreikblack Posted Monday at 03:27 PM Share Posted Monday at 03:27 PM No luck with SetOrder as well? https://www.ultraengine.com/learn/Camera_SetOrder?lang=cpp You can also take a look how i did loading a game from menu and loading menu from a game: https://github.com/Dreikblack/CppTutorialProject Quote Link to comment Share on other sites More sharing options...
ShufordTechnology Posted Monday at 03:37 PM Author Share Posted Monday at 03:37 PM There is no camera loaded when viewing the 2D menu. Example here: https://www.ultraengine.com/learn/CreateButton?lang=cpp Quote 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.