OMG IT WORKS (with a slight change)
sync on : `manual screen refresh on : ink rgb(0,150,0),0 : box 0,0,20,20 : ink rgb(0,200,0),0 : for t=1 to 20 : circle rnd(20),rnd(20),0 : next t
get image 1,0,0,20,20 : make matrix 1,4000,4000,30,30 : prepare matrix texture 1,1,2,2
randomize matrix 1,50
update matrix 1
load object "game.x",1
SCALE OBJECT 1, 1000,1000,1000
d#=250.0 : s#=10.0 : `these never change so can go before the main loop
DO : if spacekey()=1 then move object 1,5
if controlkey()=1 then move object 1,4
if shiftkey()=1 then move object 1,3
if upkey()=1 then move object 1,2
if downkey()=1 then move object 1,1
if leftkey()=1 then yrotate object 1,wrapvalue(object angle y(1)-1) : walk=1
if rightkey()=1 then yrotate object 1,wrapvalue(object angle y(1)+1)
x#=object position x(1):z#=object position z(1):a#=object angle y(1)
x = x# : z = z# : `convert to integers (get ground height doesn't like reals)
y# = get ground height(1,x,z) + object size y(1)/2 : `place object at floor height, move up so that bottom of box is on floor
h# = y# + 20 : `adjust camera height to new box height
position object 1,x#,y#,z# : `update object position
set camera to follow x#,y#,z#,a#,d#,h#,s#,1
sync : loop
one problem my rubbish model walks sideways?
is that ment to happen?
btw i found this program called freeworld3D and apparently it works with DBPro
i made a map and im unsure how to import it into the game as its alot of files so i zipped it up and put it in the attachement for you to see what i can do.
please help
and thanks for that realy fast response!!!!!
oh and btw i put the saved file into the zipped file aswell if you have the program and need to save it different
and thanks again!
Creators of Outscape