Getting crushed in a platformer?

Get help using Construct 2

Post » Wed Aug 03, 2016 9:27 pm

Instead of just clipping through the solid object, who would I make the player "die" if they get caught between two solid objects.
Oh, okay.
B
23
S
5
Posts: 39
Reputation: 1,251

Post » Wed Aug 03, 2016 10:58 pm

Lots of ways to do this but for the most basic idea you can just use player on collision with object actions. I'm not sure exactly what you want, do you want the player to disappear? Play a death animation?
B
46
S
16
G
74
Posts: 2,089
Reputation: 44,187

Post » Thu Aug 04, 2016 3:39 am

If you want the player also not to "clip through" the object which is crushing them, try placing the "crusher" on top (zorder top) to the player - so when it closes down the player is behind it and you can't see.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
83
S
34
G
40
Posts: 3,032
Reputation: 30,474


Return to How do I....?

Who is online

Users browsing this forum: evillair, mongoose665, MPPlantOfficial and 49 guests