How do I make a sprite fall over while being attacked.

Get help using Construct 2

Post » Wed Apr 30, 2014 7:33 am

I'm making a zombie game and I'm curious as to when I make my zombie sprite attack my victim sprite, the victim falls onto his back.

-Killer Jay17
B
3
Posts: 7
Reputation: 241

Post » Wed Apr 30, 2014 10:20 am

if victim on collsion with zombie & zombie.x-victim.x>0 then
victim.x +30
if victim on collsion with zombie & zombie.x-victim.x<0 then
victim.x -30
B
17
S
7
Posts: 360
Reputation: 2,202


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests