Page 1 of 1

Drawing on Textures

Posted: Tue Dec 02, 2003 11:25 pm
by pg
I'm trying to draw a sprite to a texture but without success, it works with the simple 2D drawing like boxes but not with sprites.
Is this normal?

Does not work:
If StartDrawing(TextureOutput(2)) ; Draw a box on our texture..
DisplaySprite(0, 0, 0)
StopDrawing()
EndIf

[/code]

Posted: Wed Dec 03, 2003 10:23 am
by Fred
Yes, you can't do texture/sprite mixing for now. Note than StartDrawing() can be only used with 2DDrawing commands.