Jump to content

Need help for a start button


Le Twitch
 Share

Recommended Posts

Before the game starts, I want to have a start button and nothing else in the game besides the background. What is the best way of doing this? Should I have the sprites created, hide them and disable their functions until the start button is pressed or create the sprites themselves once the start button is pressed? If the second option, how would you go about it?

Link to comment
Share on other sites

States are the preferred way to do this. If you've already set up the game with states, you can just create a new state which is started first which just waits for an input before starting the game state.

 

Do I need to kill the sprites created in previous states?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...