Today I developed a pause for my game whilst I was refining everything. Whilst not absolutely necessary for a game with such a short play time, I figured it would still be good to have and wouldn’t hurt to implement it.
First I created a simple pause widget with the text simply saying “Pause”.
I then added a simple pause button which still needs to be refined in terms of aesthetics, but serves its purpose for now.
I then put if button clicked – go to branch, which then triggers a set visibility of the pause widget; thus pausing or un-pausing the game depending on the state.
Here is what it looks like in game.