hi,
29 games, your code not work correctly in dbc.
modified:
sync rate 60
sync on
rem door
make object box 1,10,20,0.5
rem *** the offset limb ***
offset limb 1,0,5,0,0
rem re-make object with new offset
make mesh from object 1,1
delete object 1
make object 1,1,0
color object 1,rgb(100,70,10)
position object 1, -5,0,0
rem wall
make object box 2,10,10,0.5
position object 2,0,15,0
make object box 3,30,30,0.5
position object 3,-20,5,0
make object box 4,30,30,0.5
position object 4,20,5,0
rem floor
make object plain 5,70,70
xrotate object 5,90
position object 5,0,-15,0
color object 5,rgb(100,50,100)
color backdrop 0
position camera 0,0,-30
point camera 0,0,0
a=1
while mouseclick()=0
if n>=90
a=a-1
endif
if n<=0
a=a+1
endif
n=n+a
yrotate object 1,wrapvalue(n)
sync
endwhile
end
DirectX 9.0c (February 2010)/ DBClassic v1.20