I want to detect collision / overlapping in "Spike" tile, I dont want to use 2 tilemaps 'cause I need to create a Mario Maker clone, save tilemap, open tilemap.
If I create an invisible sprite for each spike tile, I'm afraid to affect the performance, it's a mobile game, and at end of each level, the next level start immediately.
This is my actual code:
----> DOWNLOAD CAPX <----
(Player behavior: drag & drop)
Works fine on left and right collision only.
Sorry, I solved it, I had inverted the X and Y coordinates. If someone has the same problem:
----> THIS CAPX WORKS FINE<----