Ashish Posted March 25, 2017 Share Posted March 25, 2017 Hello, I am working on a game using tilemap and phaser framework. I want select the multiple coordinates on tilemap using phaser (cursor) and then can be able to store into an array. Is this possible using phaser? suggest me some solution for this. Link to comment Share on other sites More sharing options...
Babsobar Posted March 27, 2017 Share Posted March 27, 2017 Have a look at the Phaser.tileMapLayer and Phaser.tileMap documentation, there are methods for obtaining the coordinates and tiletypes of tiles. The next step will probably be using phaser.rectangle in coordination with the pointer to select groups of tiles. Link to comment Share on other sites More sharing options...
Recommended Posts