Well, I'm working an a scrolling world game myself and maybe I can help a little. Basiclly what you would want to do is make a tile map to scroll. If you where going to do it traditional game like I'm trying to do. How you would load a data map from file is something I'm trying to learn now. However, this is what you would need to do.
note: This is code from a qbasic guide I found for scrolling. I just didn't want to type out a map.
'The map file... 30 x 15
DATA 3,3,3,3,3,3,3,3,3,3,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
DATA 3,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3
DATA 3,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3
DATA 3,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,2,3,2,2,2,2,2,2,2,3,3
DATA 3,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,3,2,2,2,2,2,2,2,3,3
DATA 3,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,2,3,2,2,2,2,2,2,2,3,3
DATA 2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,2,2,2,1,2,2,1,2,2,2,2,3,3
DATA 2,2,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,2,2,2,2,1,1,2,2,2,2,2,3,3
DATA 2,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,2,2,2,2,1,1,2,2,3,2,2,3,3
DATA 3,1,1,1,1,1,2,2,2,2,2,2,1,1,1,1,1,1,1,2,3,2,2,2,3,1,3,2,3,3
DATA 3,1,1,1,1,1,1,1,2,2,1,1,1,1,1,1,1,1,1,2,3,2,2,2,2,3,2,2,3,3
DATA 3,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,2,2,2,2,2,2,2,3,3
DATA 3,1,1,1,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,3,2,2,2,2,2,2,2,3,3
DATA 3,1,1,1,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,3,3,2,2,2,2,2,2,2,3,3
DATA 3,3,3,3,3,3,3,2,2,2,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
After get your map or find a program that will help create your data map. In qbasic revolutionary guide, it has a nice example of this.
Now what you would do is paste your images on the set number of the map and then setup your keys to scroll that map. The only problem is you will have to add a collision for when you reach the end of data. If you don't set the scroll to stop/collision, then you would get an error message saying data out of range etc.
Note: this data was used to show how you would scroll left to right. If anyone one needs some code examples. I've found a few that might be able to help.
P.S. I'm just learning myself so, I'm just trying to share what I learn as I pick it up. I'm not trying to teach anyone how to do it untill I get it all down myself. However, I do know this is a good starting point for the world. If anyone would like to also share what they learn etc. Feel free to email me at
[email protected]. I do know animation, because I've been drawing since I was in 2nd grade and I went to school for computer animation. So, if anyone needs help with that issue, I can help
cheers.
When the dark angel come's a knocking, don't be shy, let'm in.