Jump to content

State-Managemend in one file


blackgames
 Share

Recommended Posts

Hallo Community,

 

at first - sorry for my bad english.

I'm new to Phaser and I love it. Its an easy an fun framework!

 

I have one question at this time:

can I put the state-managemend process in one file? in the examples is in the html-part an include for boot.js, preloader.js etc.

I have put the syntax in one file and the console says that phaser has no definition for boot.js.

 

Or i have to make a state-managmend in the update function with switch functions? for examples with a var 0 = boot, 1 = preload ....

 

 

I hope you can read this german-english :-)

 

Thanks!

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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