hi LB thats an excellent example just wish i had got this earler much better than the way i was doing it.
thanks for sharing
Printable View
hi LB thats an excellent example just wish i had got this earler much better than the way i was doing it.
thanks for sharing
It's not going to work. The enemy can't walk past you when your not covered.
I don't understand?
It's hard to explain. Without the background the player could be half way across the stage and the enemy still see me.
Then add a distance check to see if they are too far away?
It's pretty good. Anyone have any more ideas?
Sounds like my AI :)Quote:
Originally Posted by OldLongDragonThing
AI and Bot are 2 different things.
AI = Artificial Intelligence, AI could almost think like a human.
Bot = Robot, A Robot can't think atall and just does what it's told to.
AI could decide wether to go left or right, A Bot would just do it.
I suggest just to start off making Bots.
Wouldn't an AI system be incredibly heavy on the system resources? If you were to have an incredibly smart enemy, what if you had 10 of them active on the screen? A true AI would have quite a large number of scripts running at a time.
The computer would be running through at least thousands of enemy AI scripts a second, and that does not even include any of the normal game scripts such as the player scripts, the UI, and the various animations, sounds, and music.
My zombie game in progress can put more than 100 zombies without slowing down the game.