01-22-2004, 04:07 AM
how do u make a map without having to put each indivis=dual pixel in.
map help
|
01-22-2004, 04:07 AM
how do u make a map without having to put each indivis=dual pixel in.
01-22-2004, 04:23 AM
A common practise is creating a map using DATA statements, like this...
Code: DATA 1,1,1,1,1 Code: DIM map(1 to mapWidth,1 to mapHeight) So you see, the DATA values just stand for tiles...you "tokenize" the map. 1 might stand for a solid block, 2 for treasure, 3 for an enemy...and so on. BTW if you don't understand this, read up on Multidimensional arrays and DATA statements. Meh, this was probably really confusing to you...I'm bad at explaining stuff like this. :roll:
f only life let you press CTRL-Z.
-------------------------------------- Freebasic is like QB, except it doesn't suck. |
« Next Oldest | Next Newest »
|