Flying enemy question

Die_In_Fire

Well-known member
How can I code an enemy with a behavior like the crows on castlevania series or battle toads second stage (the descending level)? I have never coded a flying enemy before...  There's some example on some mod?

It's for a normal level, not 2D.
 
Enemies for 2D games usually simple, ex: they fly/move/walk/run straight forward ignoring anything. IOW setting enemy AI for 2D games is easy. It would be tough if you have extra stuffs such as chasing player, wait until player get close and dodge player

For this flying enemy, do you want it to act similar to crows in Castlevania series i.e wait until players get close then fly up then dive toward player? or you have different AI in mind?
 
Yes similar to castlevania, but for a "normal" double drafon style stage, not for 2d stages.

It's for a level where you will find crows along the way and the boss it's a character who can summon crows to attack the player. Got the idea from saint seiya lol
Bloodbane said:
For this flying enemy, do you want it to act similar to crows in Castlevania series i.e wait until players get close then fly up then dive toward player?

Exactly what I want  :)
 
I've made crow for Castlevania Collab demo yesterday and its AI is like this:

- Wait in spawned spot until player gets close
- Fly upwards when player is close enough then fly toward player then stops in mid air
- Fly toward player again after stopping (cycle repeats)

If you like this, I'll upload it for you
But if you need AI change, tell me what needs to be changed :)

the boss it's a character who can summon crows to attack the player

Hmmm.... that sounds like different AI. So for this summoned crows, how will they attack? fly toward player then stop then repeat the cycle OR fly toward player then leave the screen?
 
Yes!! Please share it, it would be cool to try it!

Hmmm.... that sounds like different AI. So for this summoned crows, how will they attack? fly toward player then stop then repeat the cycle OR fly toward player then leave the screen?
I like that 2nd option for those crows  :)
 
Back
Top Bottom