How do I Keep Collision after Adding Movement

Just started using Construct 2? Post your questions here

Post » Wed Oct 01, 2014 6:13 pm

Adding enemy movement during the platformer tutorial seems to have cancelled the "hurt" logic I added which caused bounceback and blinking when you'd collide with the snail from anywhere but the top. Why does adding movement cancel the hurt logic? I attached a screenshot of the event sheet.
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 4
Reputation: 208

Post » Thu Oct 02, 2014 11:19 am

The flash is now set up to happen when player.y<enemy.y and the platform is not falling..

I guess you'd want the else statement somewhere else..
moving the condition player.y<enemy.y to the subevent platform is falling would do the trick for now..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests