Re: A86: Question on tile maps


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

Re: A86: Question on tile maps




At 12:14 1999-01-27 -0800, you wrote:
>
>Not only is this easier programming, but it makes the game go at a constant
>rate.  Remember how in penguins if you didn't move to the left or right the
>game was extremely fast?  but when you started moving, the game slowed down?
>If you redraw the background independently of whether or not the player
>moved, it will keep the game going at the same speed no matter what (as
>opposed to using a timer routine).  This is a *good* thing.  Heed David's
>advice.

Huh? It's the scrolling that takes time, not putting/removing sprites.
If Penguins worked this way (I think I remember it did) that was
definately badly coded...

I believe a timer routine is still required if you intend to do smooth
scrolling. Also, depending on how many enemies is on the screen (or
in the level), the AI might take some time too (if you have smart
enemies).

//Jimmy Mårdell

E-mail: yarin@acc.umu.se
Homepage: http://www.acc.umu.se/~yarin/



References: