2D game scrolling code
Posted: Sun Mar 07, 2010 5:56 am
A reasonably simple scrolling code for a 2D game
This newest update uses sprites for the map. It is much faster than the old version and uses only one window. Thanks, Cundo, for the inspiration!
Contains code to load a map, bitmaps for terrain features, and characteristics for each map square, and code to move the map around. (Use arrow keys)
Contains rudimentary code to move a character around on the map and check location attributes
.zip file contains .bas file, a .dat file with a demo map and some .bmps
bas file is commented extensively
This newest update uses sprites for the map. It is much faster than the old version and uses only one window. Thanks, Cundo, for the inspiration!
Contains code to load a map, bitmaps for terrain features, and characteristics for each map square, and code to move the map around. (Use arrow keys)
Contains rudimentary code to move a character around on the map and check location attributes
.zip file contains .bas file, a .dat file with a demo map and some .bmps
bas file is commented extensively