How do I detect specific tile collision (Events) - SOLVED

Get help using Construct 2

Post » Thu Jun 01, 2017 5:29 am

Hi guys,

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:

Image

----> DOWNLOAD CAPX <----
(Player behavior: drag & drop)

Works fine on left and right collision only.

Some ideas?



-----

EDIT:

Sorry, I solved it, I had inverted the X and Y coordinates. If someone has the same problem:
----> THIS CAPX WORKS FINE<----


:D
B
45
S
17
G
7
Posts: 52
Reputation: 6,570

Return to How do I....?

Who is online

Users browsing this forum: charliesan763, dop2000, PROxMTswatTR, Walessio and 51 guests