Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ben2420 |
Hi, I’m making a simple 2D platformer game (quite new to Godot). I have one Tilemap for all the platforms and another Tilemap for spike tiles. I want my player to restart (die) when touching the spike tiles however the only way I can think of getting it work is to make each spike an individual Node and duplicate with an Area2D to detect the collision but this seems a very slow process and would leave me with so many spike Nodes with the amount of spikes in the game!
Is there a way to allow my player to interact with the Tilemap so I can place spikes quickly and easily on my map as a Tile?
Thank you!