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
30
S
10
G
1
Posts: 41
Reputation: 2,471

Return to How do I....?

Who is online

Users browsing this forum: DharmaOne and 5 guests