Posted: 31st May 2003 10:35
Why the same command in classical and professional DBasic are carried out on any other business???
Is present in view of command:
roll camera left
roll camera right
turn camera left
turn camera right
After start of the program, a bit later, in DBPRO management ceases to obey, whereas in classical DBasic all works correctly...
set display mode 1024,768,16
sync on : sync rate 30
autocam on
load image "night.jpg",2
cls
hide mouse
sync
make camera 1
set camera range 1,10,15000
backdrop on
color backdrop 1,0
make object sphere 2,10000,50,50
texture object 2,2
set object cull 2,0
set object light 2,0
position camera 1,200,0,0
point camera 1,0,0,0
do
if leftkey()=1 then roll camera left 1,0.1
if rightkey()=1 then roll camera right 1,0.1
if upkey()=1 then pitch camera up 1,0.1
if downkey()=1 then pitch camera down 1,0.1
if shiftkey()=1 then speed#=speed#+1
if controlkey()=1 then speed#=speed#-1
if speed#50 then speed#=50
sp#=speed#/50
move camera 1,sp#
sync
loop