Godot Version
4.3
Question
I have a spike with collision and sprite and code and stuff, and i want to have it in a tilemap so i can place it with not much work. does anybody know how tho?
4.3
I have a spike with collision and sprite and code and stuff, and i want to have it in a tilemap so i can place it with not much work. does anybody know how tho?
please help, i really want this
The way that I’ve figured out how to do this is by giving spikes their own collision layer.
The spikes themselves won’t have a script that hurts the player, instead you would put it into the players script. You might want to look for the collisions through an area2d as a child.
Hope that helps!