[A83] Re: question about enemy movement!


[Prev][Next][Index][Thread]

[A83] Re: question about enemy movement!




when you determine if your character moves, the game forks.  It either 
moves the enemy, or does nothing.   Where you know that link is not moving, 
then you should put in a considerable delay, so that the game speed with 
and without your characters movement is consistent.  If your characters 
movement is really slowing the game down, you should optimize it.  either 
you shouldnt scroll every step, or your char should move more quickly.

-harper

At 11:24 AM 3/2/01 +0000, you wrote:

>Hello!
>
>I'm trying to do a zelda-type game. I have done all the basic work already 
>such
>  as the map, hit collision etc. What I need help with now is to the enemy
>movement. The enemies aren't supposed to have any AI. They're just 
>supposed to
>walk back and fourth controlled by randomize numbers. I have done this but it
>kinda sucks in my game. The enemies moves fast when you don't move your
>character but when you move they and the whole game slows down. How should 
>I do
>  this? Please let me know by explain how to do this or just simply give 
> me some code for doing this.
>
>/thanks
>Alex
>
>
>
>_________________________________________________________
>FreeBox - The World's Finest Web Mail Solution
>Get your own FREE email account at http://www.freebox.com





References: