Jump to content


  • Content Count

  • Joined

  • Last visited

  1. @Tom Atom, this is exactly was I looking for. Found a good example here: http://phaser.io/examples/v2/sprites/extending-sprite-demo-2 I was so tired that I couldn't explain it well. Thank you all!
  2. I think I didn't explained well. I'm talking about reusing my code. Going to edit it Kind of I could create my own components, to make easier to usem them in medium to big projects.
  3. Hi! I'm new to JS gamedev, but I had a good experience in Flash/AS3. So, I'm starting a board game, and I need to roll a dice/roulette every turn. A kind of window will appear over the board and the player will be prompted to click the roulette. It will return a value between 1~9. What I have until now is ths: https://jsfiddle.net/snake/m317ona9/ As you can see in my code, I'm using create() and update() methods just to create this example. In real game it wouldn't be handled like that, but in middle of game. I have not so much ideas on how I can make a nice architecture in my code.
  4. I'm new to this world, although I have already some projects using Flash. How can I make a Phaser game to run as a native app? I'm looking a lot of mobile frameworks, as I already love Flixel, I want to try Phaser. Thanks!
  • Create New...