Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Game States?


ShooterMG
 Share

Recommended Posts

As a past Flixel user, I love the similarities between Flixel and Phaser. I was wondering, does Phaser have something similar to a FlxState? Since my current game is so small, I was thinking about only having one "state", then just laying different images on top of the main game state to represent the other states. For example, the "title screen" state is really just going to be an image and a play button layered on top of the game, which has been paused underneath. Does this make sense (the words i'm saying, not my logic!), and is this a good approach (my logic!)? Or did I miss the memo on this one? :)

 

EDIT -- Ahh never mind, I should have looked at the docs first. I see there is a State class, so I guess I'll do some reading :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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