Search the Community
Showing results for tags 'phaser tiles'.
Found 1 result
Creating interactive tiles.
gravehopper posted a topic in Phaser 2Hello, I am stating out using phaser and well overall developing games in html5 but I have some experience with programming. I have a bit of a project that I have set out to do that is mainly based on creating a grid of interactive tiles. I looked through the api but could not find the exact methods used to interact and change phaser tiles. Something along the lines of make a grid of tiles 3x3 and on touch tap a tile will change to a different image with different properties. Also is there a way to make for example a player "die" if they step onto a tile with one image yet live if the same tile was "changed" via a tap. I have taken a look at the examples but I cannot seem to quite catch how the tiles are changed.\ Thanks in advance.