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

Leave a comment

Log in with itch.io to leave a comment.