Jump to content

Multiselect tiles in tilemap using cursor


Ashish
 Share

Recommended Posts

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

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

 Share

  • Recently Browsing   0 members

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