Drawing on Textures

Advanced game related topics
pg
User
User
Posts: 75
Joined: Wed Jun 18, 2003 3:31 pm
Location: Swiss
Contact:

Drawing on Textures

Post 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]
Fred
Administrator
Administrator
Posts: 18384
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Yes, you can't do texture/sprite mixing for now. Note than StartDrawing() can be only used with 2DDrawing commands.
Post Reply