look for the command "set object" and the pro versions that relate to the "transparency flag".
run this example if you have pro
rem ---------------------------------------------------------------
rem TRANSPARENCY BY INDI FOR dbpro
rem
rem ----------------------------------------------------------------
rem Set Up
sync on : sync rate 60
color backdrop rgb (192,192,192)
rem make a temp internal image with black in it
ink rgb(255,0,0),1
box 0,0,32,32
ink rgb(255,255,0),1
box 4,4,28,28
ink rgb(0,0,0),1
box 8,8,24,24
get image 1,0,0,32,32
cls
rem make a cube
make object cube 1,1
position object 1,0,0,0
texture object 1,1
REM --------------------------------------------------
REM THESE ARE DBPRO COMMANDS OTHERWISE LOOK FOR THE
REM COMMAND SET OBJECT IF USING CLASSIC
set object cull 1, 0
set object filter 1, 0
set object transparency 1, 1
REM --------------------------------------------------
rem update the camera
position camera 0,0,-3
point camera 0,0,0
rem temp main loop
disable escapekey
while escapekey()=0
r = wrapvalue(r)+1
rotate object 1,r,r,r
sync
endwhile
rem cleanup
delete object 1
delete image 1
end
and run this if you have classic
rem ---------------------------------------------------------------
rem TRANSPARENCY BY INDI FOR DBC
rem
rem ----------------------------------------------------------------
rem Set Up
sync on : sync rate 60
color backdrop rgb(192,192,192)
rem make a temp internal image with black in it
ink rgb(255,0,0),1
box 0,0,32,32
ink rgb(255,255,0),1
box 4,4,28,28
ink rgb(0,0,0),1
box 8,8,24,24
get image 1,0,0,32,32
cls
rem make a cube
make object cube 1,1
position object 1,0,0,0
texture object 1,1
set object 1,1,0,0,1,1,1
rem update the camera
position camera 0,0,-3
point camera 0,0,0
rem temp main loop
disable escapekey
while escapekey()=0
r = wrapvalue(r)+1
rotate object 1,r,r,r
sync
endwhile
rem cleanup
delete object 1
delete image 1
end