Hi
Me and The Nerd have made this cool graphical demo in DBPro.
You can select 3 different textures that will be scrolled on the object
To download the media, click the red download button
Remember to put the media and the source in the same folder.
Here is the source code:
REM Project: lort
REM Created: 13-01-2005 13:27:52
REM
REM ***** Main Source File *****
REM
load image "water2.jpg",1
load image "slime1.jpg",3
load image "lava1.jpg",2
input "Which texture do you want? W=water L=lava S=slime ",tex$
make object sphere 1,5
if tex$="w"
texture object 1,1
te$="et"
endif
if tex$="l"
texture object 1,2
te$="to"
endif
if tex$="s"
texture object 1,3
te$="tre"
endif
sync on
sync rate 120
hide mouse
color backdrop RGB(0,0,0)
do
set cursor 0,0
print "Rotate object left=leftkey"
print "Rotate object right=rightkey"
if leftkey() = 1
turn object right 1,4
endif
if rightkey()=1
turn object left 1,4
endif
if te$="et"
scroll object texture 1,0.001,0.001
endif
if te$="to"
scroll object texture 1,0.001,0.001
endif
if te$="tre"
scroll object texture 1,0.001,0.001
endif
sync
loop
And the media: >