Jump to content

Gopherjs and Phaser


Odk
 Share

Recommended Posts

Hi,

I've recently started to experiment with Gopherjs ( https://github.com/gopherjs/gopherjs/ ) for Phaser games. Idea was to write backend and frontend in same lang (I use go on backends I create for clients). Managed to recreate http://phaser.io/examples/v2/games/starstruck example in go without much trouble, but now I'm creating game template with states and can't properly add multiple states. When I console log the game.state.states object I see all my states, but it always starts last one no mater which key I use in game.state.start(). Anyone here with experience in Phaser and Gopherjs?  

Link to comment
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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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