Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Light |
So I’m attempting to make a game mechanic that lets the user do specific things when on top of different ground types (think Avatar the last air bender kind of stuff).
So the 2 questions I have are this:
-
Can you have 2 tileset nodes in one level that don’t break when they touch each other? I tried this in a couple of different ways, but the character freaks out when moving on them. I checked the collision and the player character sometimes thinks it doesn’t have a ground underneath and sometimes it thinks it has 2 for some reason?! Example - https://gfycat.com/TanWideeyedHedgehog
-
If it is possible to have 2 tilesets in one level, how can I tell what my character is standing on? So as an example, if I’m on the ice, the fiction would be lower and because is_on_ice would be true, I could allow the use of an ice ability
Also, currently walking into walls also makes my character think it is coming off the ground so this could be a deeper issue
Thanks in advance!
You might be able to use different TileSet
s on different TileMap
s if you have the maps use the same collision layers/masks.
Ertain | 2020-07-05 17:13