can anyone tell me why this code wont work for me?
the for loop wont work
make matrix 1,500,500,25,25
set matrix height 1,1,25,5
set matrix height 1,0,25,5
make object cube 1,5
make object cube 2,5
for x=1 to x=25
set matrix height 1,x,25,5
next x
update matrix 1
do
if upkey()=1
move object 1,0.1
endif
if downkey()=1
move object 1,-0.1
endif
if leftkey()=1
turn object left 1,0.1
endif
if rightkey()=1
turn object right 1,0.1
endif
rotate camera 0,0,0,0
position camera object position x(1),object position y(1)+5,object position z(1)-5
rotate camera object angle x(1),object angle y(1),object angle z(1)
move camera 0,-20
loop