I keep getting a syntax error every time I use this code, I tried mixing the codes, in tutorial 1, and my code was:
sync on
sync rate 30
for x = 1 to 5
Make object cube x,100
position object x,Rnd(2000),0,Rnd(2000)
next x
make object sphere 1,100
do
ay# = object angle y(1)
cay# = camera angle y()
if upkey() = 1 then move camera 10
if leftkey() = 1 then yrotate camera wrapvalue (cay#-5)
if rightkey() = 1 then yrotate camera wrapvalue (cay#+5)
if upkey() = 1 then move object 1, 2
if leftkey() = 1 then ay# = wrapvalue(ay#+5)
if rightkey() = 1 then ay# = wrapvalue(ay#-5)
yrotate object 1,ay#
sync
loop
Any help would be appreciated, either I misread it, did something wrong, or it's just DB. Or I combined the codes, and I was supposed not to.
Before you ask, I got the DB pro free for 1 person. ;D