hello i recently got this code from a friend and i have edited it a lil but i would like some1 2 help
i want to add a big matrix in for the person fly around
how do i do this step by step ?
load bitmap "floor1.bmp",1
get image 1,0,0,256,256
delete bitmap 1
rem Make a matrix
make matrix 1,1000,1000,11,11
prepare matrix texture 1,1,2,2
rem Fill matrix with first texture tile
fill matrix 1,0.0,1
for x=0 to 10
for y=0 to 10
if rnd(2)=0 then set matrix tile 1,x,y,2
set matrix tile 1,0,y,3
set matrix tile 1,10,y,3
set matrix tile 1,x,0,3
set matrix tile 1,x,10,3
set matrix tile 1,x,5,4
set matrix tile 1,x,5,4
next y
next x
update matrix 1
sync on : sync rate 60 : hide mouse : backdrop on : color backdrop 0
make object box 1,10,5,50 : make object box 2,30,7,10 : make object box 3, 5,5,30
make mesh from object 1, 2 : make mesh from object 2, 3
add limb 1, 1,2 : offset limb 1,1,0,0,-20:color object 1,rgb(0,225,0)
add limb 1, 2,1 : offset limb 1,2,-10,0,5:color object 2,rgb(0,225,0)
add limb 1, 3,1 : offset limb 1,3,10,0,5: color object 1,rgb(0,225,0)
delete object 2 : delete object 3
do
ya1#=ya1#+mouseMoveX()*0.1 : xa1#=xa1#+mouseMoveY()*0.1
ya1#=wrapvalue(ya1#)
x1#=object position x(1)
y1#=object position y(1)
z1#=object position z(1)
ay1#=object angle y(1)
set camera to follow x1#,y1#,z1#,ay1#,100,y1#+20,10,1
move object 1, 10
rotate object 1, wrapvalue(xa1#-(xa1#*2)),ya1#,0
sync
loop
thanxs
-_-~*^%"£$^$_-_-www.kinggamers.co.uk-_-~*^%"£$^$_-_-