Hi everybody zombie again. I'm having some trouble with this movement code, i cannot get my sphere to turn left or right and the only thing i haven't tried yet is keystate. I was wondering if anyone could help me. Please, it would be a big help.
sync on
sync rate 0
hide mouse
make object sphere 1,50
color object 1,rgb(240,0,10)
position object 1, 0,0,200
make object box 2,100,100,5
position object 2,-200,0,400
make object box 3,100,100,5
position object 3,-200,0,600
make object box 4,100,100,5
position object 4,-200,0,800
make object box 5,100,100,5
position object 5,-200,0,1000
make object box 6,100,100,5
position object 6,200,0,400
position camera 0,100,0
point camera 0,100,0
do
if upkey()=1 then move object 1,3
if downkey()=1 then move object 1,-3
if leftkey()=1 then move object 1,-1
if rightkey()=1 then move object 1,1
sync
loop
"You can't expect to wield supreme executive power just because some watery tart throws a sword at you..."