Until now, we learned how to detect the click / touch on a button, but this time we don’t have buttons on the stage. We will need to… Continue reading
Tag: game
Do you remember we are going to build a 4 rows x 5 columns game field? Let’s place some tiles on the table. For the same reason that… Continue reading
As the sprite sheet is now preloaded, change create function this way:
1 2 3 |
create: function() { game.add.image(0, 0, "tiles"); } |
Now, run the game, and that’s what you are going to see: The magic started!… Continue reading
To run the game on your local server, simply point your browser to your game folder which in most cases will be http://localhost/phasergame/ and this is what you… Continue reading
With the great interest in mobile games, capable of running on modern portable devices such as smartphones and tablets, there’s a lot of talking about “cross-platform” term these… Continue reading