CAn anyone help me build one of these for my game? I don't want you to tell me exactly how it's done, I just need some help working out my problems. One of the biggest ones I have right now is as follows:
I have a map array that it's reading. Basically it goes like this:
dim map(13,18)
Px = 1
Py = 1
for x = 1 to 13
for y = 1 to 18
read map
if map=1 then paste image 3,y*32,x*32,1
if map=9
sprite 1,y*32,x*32,2
Px = y*32
Py = x*32
endif
next x
next y
and then at the bottom of my code I have the array, I'm not going to post that. Now then, how do I make it read that from a file? It's all going to be in the data format, you know, data 1,1,1,1,1 so on and so forth, but I can't for the life of me figure out how to read it from a file and then write the map to the screen. And, if you have the time, could you tell me how to do multiple maps? I think I have an idea but I'm not sure if it will work...