Changing the behavior of individual tiles

Godot Version

4.2

Question

I want to edit a tile map for a 2d side scroller to change tiles’ properties within a script. let’s say I want the player to rotate 5° when I step on atlas coords 0,1, while atlas coords 0, 2 make the player rotate 10° and so on… how would you go about changing the behavior of a single tile in a tilemap.

They either need to be their own scenes or you have to check the current_tile and apply the effects this way

1 Like