Re: A86: Question on tile maps


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

Re: A86: Question on tile maps




>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 know.  I *was* talking about the scrolling.  It was in response to a post
by David Phillips about redrawing the background for each game loop.

>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).

Right, it all depends on what's going on in the rest of the game.  You could
probably get by without using a timer routine as long as your game speed
doesn't fluctuate too much based on what's going on in the game at a certain
moment.  If your game engine can have an infinite amount of sprites on the
screen at one time, then you'd probably need to prepare for the worst and
write a timer routine.

-Justin Karneges [Infiniti]