ViaThinkSoft CodeLib
This article is in:
CodeLib → Programming aids → DarkBASIC
sync on
sync rate 30
make object cube 1,10
ghost object on 1
ink rgb(255,0,0),1
box 0,0,32,32
get image 1,0,0,32,32
backdrop off
draw to front
do
rem 3D Object
y = y +1
rotate object 1,wrapvalue(y),wrapvalue(y),wrapvalue(y)
rem Sprite
sprite 1,mousex(),mousey(),1
hide sprite 1
paste sprite 1,mousex(),mousey()
rem Text
ink rgb(255,255,255),1
text 100,100,"text"
sync
loop
Daniel Marschall
ViaThinkSoft Co-Founder
ViaThinkSoft Co-Founder