The UI Update
Dev Name: Agustin Luis
Date: 8/04/2023
For this post, I will be discussing what has been achieved so far during the implementation of the UI. Since the last post, I was able to include a function to pause, A Death screen that allows the player to return to main menu, or retry or even quit. I have also developed the win screen that appears when the timer of the game reaches to zero. The win screen prompt the player to return to the main menu for the moment. With the win screen, there will be more implementation later on in the development of it. The key bind HUD has also been updated for the player and is not openable and closeable using tab. But a major issue that occurred during this process was the functionality for the the resume/retry button. When the player clicks the button, the player was supposed to be sent to the current level they were on but from the beginning, but that was not the case.
Now, when it came to fixing that issue, I had searched many videos on UE5 and UE4 to see what the issue was. In code, the data that was being passed through was the current level info which is in an array of levels. The current level would always update when the player goes to a different level, but when passed through to use to find the index of the level in the array, it consistently proceeded to send the player back to the main menu. With this going on, I was attempting to hard code the data just to see if that would work and that also had no luck either. But I was eventually able to fix it by using a combination of both blueprint and C++ to make it work and transfer the player to the correct level.
Get Lustrat Somnia
Lustrat Somnia
Horror game with horde defence
Status | Prototype |
Authors | The Vermilion Chocobos, Sun, Ren, TheCephaloDev |
Languages | English |
More posts
- Winning randomNov 18, 2023
- Components Vs ActorsNov 10, 2023
- UI subsystem abstractionNov 03, 2023
- UI versus Shared PointersOct 28, 2023
- AI Accidental MartydomOct 23, 2023
- Clashing systemsOct 20, 2023
- Positioning a randomized objectOct 16, 2023
- Dev Log: Issues with Turning MeshOct 14, 2023
- UI Player Feedback and DirectionOct 14, 2023
- DevLog: Point System and Random ItemsOct 07, 2023
Leave a comment
Log in with itch.io to leave a comment.