Jump to content

Tilemap - custom tile properties/methods


Recommended Posts


I've been planning out my own Bomberman game. The idea is to make it multiplayer somewhere in the near future.

As for the creation of the maps I liked the idea of using the TileMap functionality and have certain tiles reside in layers.

But... having properties set for example in the application "Tiled" is not something I like or want to do. So my question is:


When Phaser creates a Tile is their maybe a callback that can be used upon creation of each Tile to append function/methods? Or should I create my own TileMap class?


The idea is for example to add functions on collision like:

function update (target) { // target being the colliding player, bomb or any other entity




I hope my question is clear enough :)

Thanks in advance

Link to comment
Share on other sites


  • Recently Browsing   0 members

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