Closed BojanStankovic closed 7 years ago
Has anyone been assigned to this task yet?
You can see the "Assignees" at the top of the right sidebar in the issue, as well as some other relevant information like "Milestone" for example :wink: I took this issue 4 days ago
I have created a simple main menu from which it is possible to:
I used a tutorial that can be found here: https://www.youtube.com/watch?v=ulUO4EN8BG8
To do:
Introduction screen is added. It is displayed when the game starts and it transitions to the "main menu" screen after seconds.
The in-game menu is added. It is triggered by releasing the "P" key.
The end-game menu is added. Since we don't have the end-game condition at this point I have created a variable "AntsAmount" int the level and set it to 3. By hitting the "Spacebar" key, that variable is decremented by 1. When it reaches 0, the "Game Over" menu is displayed. It also pauses the game.
This is ready to be reviewed
I just tested the menus and all the button worked fine. I could only find 1 issue with it, you have to double click on the in game menu.
Fixed the focusing on the menu once it is displayed during the game
Great work Bojan, I will test it now and leave you some feedback! :)
Fixing the focusing on the widget caused problems with mouse movement controls when resuming the game. When the game is resumed player can look around only while holding down any of the mouse buttons. Moving through the world is not affected
I have disabled focusing to the "in-game menu" widget at the time being. The blueprint is still there but it is not attached to anything. I have merged it so we have the functionality of the screens. The bug is only a minor one, but I will open an issue for it. Closing...
This includes:
A hint: an "end screen" can be implemented regardless off the win/lose condition. Who ever is assigned to this task can use a dummy trigger for the end screen for development purposes.