Platform Knockback

For questions about using Classic.

Post » Fri Oct 21, 2011 10:55 pm

Hello, I'm making a weird platform exploration game where you beat the crap out of stuff. To make the 'beating the crap out of stuff' more fun, I want the enemies in my game to have a very big knockback, so you can fling them across the screen. Enemies have the Platform behavior and are set to ignore user input. I want the knockback to activate when the enemy collides with object 'BambooStick.' How do I get the enemy to get knocked back?
B
1
G
1
Posts: 6
Reputation: 437

Post » Thu Oct 27, 2011 7:42 pm

Just give the enemy sprites a high x speed away from the player:
http://dl.dropbox.com/u/5426011/examples7/knockback.cap
B
79
S
24
G
53
Posts: 4,735
Reputation: 40,233

Post » Sat Oct 29, 2011 6:15 pm

That helps a lot! Thank you! :D
B
1
G
1
Posts: 6
Reputation: 437


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests