Collisions tile

Is there a way for gravity to change when a player touches a tile with a specific ID in the tile map? For example, in my tile map, there’s a water tile with ID=2. When a player touches the tile with ID=2, the gravity will change.

Hi @teramila!

I’ve never used Tilemap, but 1 simple solution would be to create 1 invisible Sprite object at the desired location.
Then, in 1 event, test for collision with this sprite and adjust the player’s gravity accordingly.

A+
Xierra

2 Likes