Platform Behaviour - Collision, is not working

Get help using Construct 2

Post » Sun Sep 04, 2016 5:03 pm

Hi everyone,

I am currently making a tap and jump game. Everything will run itself, player only have to tap the screen to jump over the cliff, the same goes to the enemy, but enemy will jump over the cliff itself.

When enemy had collision with player, the expected outcome is,

- Background and Block will stop
- Player and enemy will stop
- Wait 2 sec, restart layout

But the actual outcome is very different from what i expected, outcome such as the enemy just push player to the edge of the layout, and it doesnt trigger "On collision with object" or after the enemy push player for few sec then only trigger "On collision with object".

Hopefully someone can give me some help ;)

My capx file : https://www.dropbox.com/s/0avf07x0m4m0y ... .capx?dl=0


Thanks!
B
48
S
20
G
6
Posts: 71
Reputation: 6,470

Post » Sun Sep 04, 2016 5:12 pm

Fixed.

I disabled 'PotatoHenchman' -> 'Set Platform Disabled' under Collision event sheet.

Please remember to enable the Platform behavior for PotatoHenchman on the start of a new game. :mrgreen:

https://www.dropbox.com/s/c7z2vo07l1os0 ... .capx?dl=0
B
11
S
6
G
15
Posts: 256
Reputation: 9,207

Post » Mon Sep 05, 2016 1:38 am

@Gmoney whao, thanks alot!
B
48
S
20
G
6
Posts: 71
Reputation: 6,470

Post » Mon Sep 05, 2016 2:23 am

You're welcome, johnkx. :mrgreen:
B
11
S
6
G
15
Posts: 256
Reputation: 9,207


Return to How do I....?

Who is online

Users browsing this forum: Kenthria, Mayfly, Yahoo [Bot] and 14 guests