I know this has been discussed lots, but do you think I can find any of those old threads!? Is anyone else having trouble searching these boards?
Anyway:
I have an image. I want to place it off-screen, draw some text on it, get the resulting image, so I can use the newly created image as a sprite.
Here's what I have so far - it grabs the sprite image just fine, but no text to be seen
function gettapvalimage( value$ )
s = CreateSprite( moneybagimage )
SetSpriteSize( s, 256, 256 )
SetSpriteDepth(s,2)
SetSpritePosition( s, -1000, 0 )
SetViewOffset(-1000,0)
t = CreateText(value$)
SetTextDepth(t,0)
SetTextPosition(t,-990,128)
Render()
i = GetImage( 0, 0, 255, 255 )
DeleteSprite( s )
DeleteText( t )
setviewoffset(0,0)
endfunction i