Jump to content

How can I "link" scenes in Phaser with game states?

Recommended Posts

Hello, how is it going? :)


I have trouble understanding how game states works in Phaser, I've searched the forum and I found a few posts about this, but I don't understand exactly how should I use it, I found it a bit confusing. ^^;

I know the basics, but I don't know how to implement it.


I mean, I have two files in HTML format, one is the menu and the other one the game itself.

Should I write all the code in one document or just leave it like is right now?


Thank you so much in advance. :)


Regards, Daniel.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...