How do I create a Kamikaze enemy?

Get help using Construct 2

Post » Fri Apr 27, 2012 2:48 pm

Hello All,

I'm very new to Construct 2. I've completed Beginner's guide to Construct 2 by Ashley and that's about it. I want to add a different enemy type that randomly spawns and charges the player. I have that all figured out except the behavior. I want the enemy to aggressively pursue the player wherever he moves on the map, following the player until the monster is either shot and destroyed or the monster collides with the player destroying the player. Can anyone tell me how to do that? As it is right now it's to easy for me to just move out of the way as they dart past me.
B
3
Posts: 2
Reputation: 339

Post » Fri Apr 27, 2012 3:16 pm

Bullet behavior for monster.
8 direction behavior for player.

Every X seconds (or every tick - depending probably on how fast the monster moves relative to the player) change his direction to face the player.

Like this:

http://img138.imageshack.us/img138/9416/followb.pngGeo2012-04-27 15:17:19
B
14
S
5
G
7
Posts: 235
Reputation: 5,175

Post » Fri Apr 27, 2012 3:26 pm

Excellent, thank you very much! I can't try it now because I'm at work. I'll try it when I get home to my computer tonight.
B
3
Posts: 2
Reputation: 339


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 18 guests