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
38
S
14
G
6
Posts: 49
Reputation: 5,589

Return to How do I....?

Who is online

Users browsing this forum: Artcadev, kainrazial and 7 guests