Small problem. This is the source for a game I'm making, but it givers me the same error Stora Tomtefar had. It highlights my loop as a compiler error and says an object does not exist. Help please...
Rem Setup sync
Sync On
Sync Rate 30
load object "demon2.x" ,1
load object "level1.x",7
hide mouse
load object "gun.x",8
YRotate Object 8,90
position object 8,0,-6,15
Lock object on 8
do
caY# = camera angle y()
if upkey() = 1 then move camera 10
if rightkey()=1 then yrotate camera wrapvalue(cay#+5)
if leftkey()=1 then yrotate camera wrapvalue(cay#-5)
if downkey() =1 then move camera -10
sync
loop
Thanks...
Thanks!(for..whatever it is you did...)