logame team mailing list archive
-
logame team
-
Mailing list archive
-
Message #00012
Scrolling / Tiling
Hi all,
I have recently committed code that allows the background to scroll to
the left and the right as the player moves around. I can add scrolling
up and down later if it is needed. If anyone spots any bugs with this,
please let me know.
I am thinking of trying to implement some sort of tiling engine next,
that will read a level.yaml file and draw particular tiles at the
correct locations on the background. The idea is that all the tiles are
blitted once to the background when the level is loaded and then the
correct region of the background is blitted to the screen during play
(that last bit is already implemented.) This should keep the number of
blits down and the running speed up.
When I have got that done, I can work on the collision detection with
the scenery and a map editor...
Any comments/pointers?
Paul
PS: Ben, I have also sent this to you CC as I have no idea if it will
get to the list. As you are the a major contributor I wanted to let you
know what I was doing :)
Follow ups