Hi All
Very simple object turning demo using left and right mouse or keyboard keys.
Rem Project: turnnumbers
Rem Created: 4/26/2005 7:40:32 PM
Rem ***** Main Source File *****
rem Standard Setup Code
sync on : sync rate 0 :
backdrop on
color backdrop rgb(0,0,0)
set text font "arial" : set text size 12 : set text transparent
load image "numbers.bmp",1
MAKE OBJECT CYLINDER 1,20
`set object 1,1,1,1,1
texture object 1,1
set text font "arial" : set text size 12 : set text transparent
autocam off
set camera range 1,40000
position camera 0,0,100
point camera 0,0,0
POSITION OBJECT 1,0,0,0
do
if rightkey()=1
turn object right 1,wrapvalue(360)-0.1
endif
if leftkey()=1
turn object left 1,wrapvalue(360)-0.1
endif
if mouseclick()=1
turn object left 1,wrapvalue(360)-0.1
endif
if mouseclick()=2
turn object right 1,wrapvalue(360)-0.1
endif
sync
loop
In Space No One can Hear You Scream! (When your comm Line is cut?)