Pausing game

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.

Creating pause widget.JPGFirst I created a simple pause widget with the text simply saying “Pause”.

pause button.JPGI then added a simple pause button which still needs to be refined in terms of aesthetics, but serves its purpose for now.

moving code from level blueprint to hud widget.JPGI 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.

New pause screen.JPGHere is what it looks like in game.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s