Hi all
i have made a little fun program in dbpro.
Its an rotating cube with a smiley face on
but you should give it a try.
in the right corner there is a download button you will download the media.
Here is the source:
load image "smlieytex.bmp", 1
rem make the sync setup
sync on
sync rate 30
rem put autocam on.
autocam on
rem color the backdrop so it looks cooler:-)
color backdrop RGB(43,162,21)
rem make the 3D cube
make object cube 1,100
rem texture the cube
texture object 1,1
rem make the cube spinning.
do
angle#=object angle y(1)
angle#=wrapvalue(angle#-2)
`if rightkey()=1 then angle#=wrapvalue(angle#+2)
yrotate object 1,angle#
sync
loop
Enjoy!
Waggames