• Content Count

  • Joined

  • Last visited

  1. I am building a simple board game, all the pieces are tiles. I want to reflect the health of some of the pieces so I wanted to add a number onto the tile. I created a couple functions to replace removeTileAt and putTileAt, these just call the normal DynamicTileMap functions and then also draw or delete the number in text on the tile. However, I would really like to extend some class in Phaser3 that draws the tiles and just add the text drawing there, or at least that seems like what I want to do but I really don't understand enough object stuff or phaser to figure out where to do it, I don't see any draw function for the tile class which I thought I would just overrride. What I have works but seems ugly! All thoughts appreciated!