Emperor Baal is right. Try this.
hide mouse
load bitmap "sand.bmp",1
load bitmap "CANNON.BMP",2
GET IMAGE 1,1,1,255,254
load object "ttlevel2.3ds",1
load object "H-Alien Mutant-attack1.x",5
loop object 5
load object "L-SWAT-Attack1.x",2
load object "PLASCAN.X",4
make mesh from object 1,4
delete object 4
make object cube 1000,.3
add limb 1000,1,1
ROTATE LIMB 1000,1,0,180,0
OFFSET LIMB 1000,1,-1,-1,1.7
TEXTURE LIMB 1000,1,1
position object 1000,object position x(2),object position y(2)+1.8,object position z(2)
yrotate object 2,180
delete object 2
load music "ingame.mp3",1
loop music 1
move=0
xrotate object 1,90.00
position object 5,object position x(5),object position y(5)+1,object position z(5)+5
position object 1000,object position x(1000),object position y(1000)+0.67,object position z(1000)
lock on object 1000
do
cls
gosub loop
gosub 3dani
LOOP
loop:
position camera object position x(1000),object position y(1000),object position z(1000)
return
3dani:
cx#=wrapvalue(cx#+mousemovey())
cy#=wrapvalue(cy#+mousemovex())
cz#=wrapvalue(cz#+mousemovez())
rotate camera cx#,cy#,cz#
rotate object 1000,cx#,cy#,cz#
if controlkey()=0 then shoot=0
if controlkey()=0 then shoot=0
if controlkey()=1 then shoot=1
if controlkey()=1 then shoot=1
if upkey()=1 then move object 1000,0.060
if downkey()=1 then move object 1000,-0.060
if leftkey()=1 then turn object left 1000,1.00:turn camera left 1.00
if rightkey()=1 then turn object right 1000,1.00:turn camera right 1.00
rem if leftkey()=1 then position object 1000,object position x(1000)+-0.060,object position y(1000),object position z(1000)
rem if rightkey()=1 then position object 1000,object position x(1000)+0.060,object position y(1000),object position z(1000)
if rightkey()=0 then if leftkey()=0 then if upkey()=0 then if downkey()=0 then move=0
return
How do's that work?
Dont worry and keep a cool head.