I’m going crazy to manage the Tilemap Collision Mask.
I create the tiles and manage it into GDevelop and all works perfectly.
But, when I try (a lot of times) to use the collision mask the result is:
If I try to use the GD example it works perfectly.
Following the instruction ( Tilemap object [GDevelop wiki] ) not.
So I’m trying to understand where is my error, comparing the example Tile file with my but I discover that Tiled can’t open the JSON file :(.
Can you please share a tile (in tiled format) file that works.
I’m running GD and Tiled on Linux but I think that it isn’t my problem.
I’ve found another bug.
Even with tiled 1.9.2 the platform behavior Jumpthrough of the tiled map mask for Jumpthru class doesn’t work all the times.
If you try to deactivate the behavior for a “fallthrough” effect and reactivate it; soon or later (for me around 16 tries) the behavior will stop working. Probably due to the tilemapmask not correctly refreshing.
It works instead if i make a classic platform object with the built in GD platform jumpthrough behavior.
It would be great to fix this since every platformer need a correct collision detection…
also i’m stuck in developing the map cos this issue
My character move ala Sotn. also if you jump on a platform holding down you gonna get a bad behaviour imho becouse the player totally ignore the platform.
So if i am on a jumptru platform, first i check the collision and avoid the keyheld and then down + jumpkey is the combo.
My code works but partially…15% of the times the platform on the tiledmapmask is ignored but works with an object with GD builtin jumpthru platform behaviour
So if it works mosts of the times…something should be wrong
I honestly hope that is my fault so i can try to fix
Just here to say thanks for the update for tiled 1.10.
But the problem still persist. There are incompatibilities between the tiled collision masks and GD behaviours. Mostly the platform one. Deactivating it cause (randomly) the loss of the tiled collision mask.
Can be replicated creating an air platform and deactivating the GD platform behaviour.
Hope in a future fix
EDIT: even a classic jump on a classified jumptru platform from tiledmask have a chance to miss the collision
EDIT 2: fixed changin platform behaviour from jumptru platform to platform.
Thx Davy for the fix