Other than collision and overlapping?

Get help using Construct 2

Post » Thu Mar 01, 2012 12:26 pm

How to know the platform? I mean I have a game in mind where you can jump on the rocks to reach the other side of a river. Now there are some objects they are not rocks but crocodile back.

So when the player jumps on the croc back then the game will be over.

I have tried collision and overlapping event but they are not what I am looking for. I want the player to land on the back of the croc fully then goto game over layout.
B
2
Posts: 5
Reputation: 260

Post » Thu Mar 01, 2012 12:46 pm

Ok managed the issue. But I have another question. Is there any way where I can make 'every x second' event off?
B
2
Posts: 5
Reputation: 260

Post » Thu Mar 01, 2012 12:47 pm

Create a detector sprite, make it follow the player sprite but make it so it sticks out of the feet. Then you can check for platform overlap to know on which platform you're on.


For the every x seconds

[code]Global number disable = 0
+System: Every x seconds
+System: disable = 0
-> do stuff
[/code]

If you want to disable the event, set disable to 1Yann2012-03-01 12:49:20
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Thu Mar 01, 2012 12:50 pm

Thanks. I have done that just now using the sub event method.
Thanks again.
B
2
Posts: 5
Reputation: 260


Return to How do I....?

Who is online

Users browsing this forum: anty21ro, badmoodtaylor and 11 guests