omg lol, my first 3D thing
Rem Project: spirtes
Rem Created: 2005-10-07 21:08:48
Rem ***** Main Source File *****
Set window title "3D"
Set display mode 1024, 768, 32
hide mouse
make object cube 1, 1.1.1.1
do
if upkey() ; ROTATE OBJECT 1, 99, 0, 0
move object up 1, 0.01
endif
if downkey() ; ROTATE OBJECT 1, 99, 0, 0
move object down 1, 0.01
endif
if leftkey() ; ROTATE OBJECT 1, 99, 0, 0
move object left 1, 0.01
endif
if rightkey() ; ROTATE OBJECT 1, 99, 0, 0
move object right 1, 0.01
endif
loop
without the rotate object the cube can only go up,down,right and left like 2D games
Dark Basic Pro Rulz!