Page 1 of 1

AI question

PostPosted: Mon Mar 26, 2007 7:37 pm
by kes
well i'm near to finish my game but i have a problem, i dont know how to make my enemys to shoot at my heros its a long story, but well how can i make the enemy to chase my heros with out the help of other actors (wire frame regions for examle) this is because i want to clone my actor, and remember my enemy is jus a guy with a smg.

PostPosted: Tue Mar 27, 2007 6:09 am
by DilloDude
What sort of game is it? A bird's-eye view sort of thing, or a sidescroller. What sort of variables do you have for aiming etc. It really helps sometimes to know where your character is aiming. Also, any info on obstacls would be handy.

PostPosted: Wed Mar 28, 2007 5:11 pm
by kes
DilloDude wrote:What sort of game is it? A bird's-eye view sort of thing, or a sidescroller. What sort of variables do you have for aiming etc. It really helps sometimes to know where your character is aiming. Also, any info on obstacls would be handy.

i used metal slug sprites, to make the same game, so its a side-scroller,i dont want the enemy to move, the heros just shoot to the side they're looking to with the variables der and izq (in in my language they are right an left, and they're integrer)