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

Simple states example


samme
 Share

Recommended Posts

  • There is only one file/script.
  • The states are simple objects (no prototype).
  • Three states: Boot, Menu, Game. You move through them with Start, Restart, and Quit.
  • Fun features:
    • Loading bar with setPreloadSprite
    • loadUpdate, loadRender, pause, render, and shutdown callbacks
    • Logs state changes with onStateChange signal so you can see what's happening

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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