Found an issue in SpiderBasic ? Please report it here !
poshu
 
Posts: 88
Joined: Mon Feb 24, 2014 11:46 pm

2.21 : StartDrawing() on SpriteOutput fails

by poshu Sat Jun 08, 2019 1:08 pm

Code: Select all
InitSprite()
OpenScreen(40,40 ,0,"")

Procedure Handler_Redraw()
   ClearScreen(RGB(255,0,0))
   
   DisplaySprite(0,20,20)
   FlipBuffers()
EndProcedure

CreateSprite(0,2,2)

StartDrawing(SpriteOutput(0))
Box(0,0,2,2,RGB(255,255,255))
StopDrawing()

BindEvent(#PB_Event_RenderFrame,@Handler_Redraw())

FlipBuffers()
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 3 guests