UQdeco2800 / 2022-studio-2

MIT License
5 stars 1 forks source link

Overall Pause Menu Update and Button Interaction #196

Closed Rey-666 closed 2 years ago

Rey-666 commented 2 years ago

Pause Menu Update and Buttons Interaction

Task: Pause Menu Button Interaction. Feature: Optimisation of Crafting Functionality and Additional Features

The pause menu is a newly added feature in sprint 2. But in this sprint, the main task is to make the buttons on the menu work, namely the "Resume" button and the "Exit" button. The two buttons are strongly connected with the Game pausing feature, and main menu. The player should be able to use the resume button to unpause the game and dispose the pause menu, the exit button should bring the player to the main menu. Additionally, the same task for the level two map as well.

Dependencies

Milestones

List of steps that need to be completed for this task.

Completion Deadline: Oct. 2

Documentation

Pause Menu Button Interaction Code Implementation

Member

IsaacGraham128 commented 2 years ago

Hey @Rey-666, I've added some additional functionality to now include the key binding aspect of the pause menu. I have also taken the liberty of changing some aspects of the OpenPauseComponent.java, GameAreaDisplay.java, and KeyboardPlayerInputComponent.java elements of your pause functionality to make things a little easier to run / use.

IsaacGraham128 commented 2 years ago

Hey @Rey-666 , key binding stuff is now fully complete! All you gotta do to make sure my thing is included is just change the visual element of my demo button to be exactly like your ones above with @cluanzon 's new pause screen