Hi, I'm making a game where I use Maps of 500 x 500 where I only use 9 pieces for each screen like this:
ooooo
oxxxo
oxxxo
oxxxo
ooooo
I load In memory only 25 pieces and I rotating it, depending of where he (the player) moves. I made an Array like this:
Piece can be Numbers from 1 to 255 then you can have the pieces loaded in a Sprite and get it from there.Code:Dim World (1 to 500, 1 to 500) as Byte then I read a Text File and I load it to my Array: Open ...... as #1 For I = 1 to 500 For J = 1 to 500 .... Input #1, Piece World (I,J)= val(Piece) ... ...
I hope you find this usefull. (sorry my english)
[Edited by Lepe on 07-18-2000 at 01:34 PM]




Reply With Quote