Posted: 12th Feb 2006 19:32
Sry but I am not sure why it wouldn't load the code....
here it is
sync on
sync rate 30
set display mode 800,600,32
' The blocks I made in paint
load image "blue.png",1,1
load image "red.png",2,1
load image "orange.png",3,1
load image "green.png",4,1
' The size of the array that I would liek to start with
dim world(5,4)
Do
for indexY=0 to 3
for indexX=0 to 4
tilenum = read values
world(indexX,indexY)=tilenum
next indexX
next indexY
sync
Loop
' The data layout I was looking to try and do
world data:
data 1,1,1,1,1
data 2,2,2,2,2
data 3,3,3,3,3
data 4,4,4,4,4