Hi Dpace Dream Studios. Here is a quick example of printing on top of DrawBox:
// Project: TestScale
// Created: 2014-11-03
// set window properties
SetWindowTitle( "scaletest" )
SetWindowSize( 1024, 768, 0 )
// set display properties
SetVirtualResolution( 1024, 768 )
ClearScreen()
` Draw your box
drawbox(1,1,128,128,255,255,0,0,1)
` Print your text (works with Text commands too)
Print("")
print(" TEST")
render()
update(0)
getimage(1,1,1,128,128)
createsprite(1,1)
FixSpriteToScreen(1,1)
ClearScreen()
do
for t = 1 to 200
print("")
Print("")
Print("")
print("Regular scaling (from 0,0)")
SetSpriteScale(1,0.01*t,0.01*t)
sync()
next t
for t = 1 to 200
print("")
Print("")
Print("")
print("Scale by offset (should be from centre of sprite)")
SetSpriteScaleByOffset(1,0.01*t,0.01*t)
sync()
next t
loop
Hope this helps.