Posted By
|
Message
|
lembi2001
Registered 01/04/2005
Points 608
|
5th September, 2006 at 05:58:58 -
I need to create an event for the enemies so that if bullets are coming in their direction they will "run" away. I have the enemies using a bouncing ball movement and they always look at the player. I have tried to make the enemy bounce or reverse its movement but it has no success
n/a
|
Deleted User
|
5th September, 2006 at 06:34:08 -
Meh i dunno...
You could make it so that if a bullet is approaching the enemy, you can set their speed to 0 and then move their X&Y positions away from the bullet. So after they have avoided the bullet, they will go back to chase the player...
|
Werbad
Registered 18/09/2002
Points 235
|
5th September, 2006 at 06:57:36 -
Look at bullet
Set direction to Direction + 16
n/a
|
Deleted User
|
5th September, 2006 at 08:41:10 -
That would work too
|
axel Crazy?
Registered 05/02/2005
Points 4766
|
5th September, 2006 at 09:14:43 -
Yep. But +8 would maybe be more effective (+ 90 degrees). With +16, if you shoot right at it, it will run in the same direction as the bullet, and get hit anyway, won't it?
n/a
|
|
|