Draw a sprite on a sprite
Posted: Fri Jun 06, 2025 8:57 pm
I would like it to be possible to draw a sprite on a sprite.
Code: Select all
CreateSprite(2, zoom,zoom/10);-1003
StartDrawing(SpriteOutput(2))
DisplaySprite(1,0,0)
DrawingMode(1)
DrawingFont(Police)
scor$="Score : "+Str(score)+" - (Best : "+Str(high)+") "
DrawText(zoom/45,zoom/52,scor$, RGB(177,177,77))
StopDrawing()
[21 :52 :11] [ERREUR] DisplaySprite(): Cette fonction ne peut être appelée à l'intérieur d'un bloc StartDrawing()/StopDrawing().
[21 :52 :21] Le programme a été arrêté.