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

 Share

  • Recently Browsing   0 members

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