- Home /
Question by
aybarsmete1 · Nov 21, 2019 at 10:35 PM ·
2d2d-platformertilemap2d-physics2d-gameplay
How to store remaining durability of tiles? Tilemap
So, I made a building system that places and removes tiles by SetTile. When coming to removing, I wanted the tiles to be removed when clicked three times. I made a simple system with integers so after each click, it would add one to the integer and when it is 3, it would be removed. However, this system resembles for all tiles. I want each tile to store how many times are they clicked with integers. I would appreciate any help.
Comment
Your answer
Follow this Question
Related Questions
Trying to implement a parry mechanic 0 Answers
How To Make My 2D Character Jump Gradually 2 Answers
Bumper physics not working, 1 Answer