Sign in to follow this  
buttonsrtoys

How to start a game in a paused state?

Recommended Posts

I would like to start my game in a paused state with simple instructions on the screen, such as "Arrow keys to navigate, Space bar to shoot". Once the user hits one of these keys, the text would disappear and the game would start.

 

I'm clear on showing and hiding the text. Is there a simple technique for pausing the start of the game? Most of the examples I'm finding online are more involved than what I'm looking for.

Share this post


Link to post
Share on other sites

I'm not using game states currently. My game is effectively the classic Asteroids where play resets after all the targets are destroyed. The functionality's mostly there though I haven't programmed the play reset. Should I consider introducing game states? I'm not considering issuing the game. It's more of an exercise in getting up to speed on Phaser and JS.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.