when i run this:
sync on : sync rate 0
make object cube 1,100
make object cube 2,100
make object sphere 3,100
position object 1,0,0,0
position object 2,500,0,0
position object 3,250,0,0
position camera 200,0,-1000
do
if upkey() = 1 then move camera 10
if downkey() = 1 then move camera -10
if leftkey() = 1 then yrotate camera Wrapvalue(CAMERA ANGLE Y()-1)
if rightkey() = 1 then yrotate camera Wrapvalue(CAMERA ANGLE Y()+1)
move object 3,10
If Object collision(3,0)>0 then yrotate object 3,wrapvalue(ay + 180)
loop
only a blank screen appears and only shows dark basics mouse. but when i remove the sync rate and sync on it works again but it lags. Does any one know whats wrong?
--------
I HAVE NO IDEA HOW TO PROGRAM DARK BASIC!