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

2.21 : DisplayTransparentSprite() Color argument ignored

by poshu Sat Jun 08, 2019 1:07 pm

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

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

Procedure Handler_Loading(Type, Filename$, ObjectId)
   FlipBuffers()
EndProcedure

BindEvent(#PB_Event_RenderFrame,@Handler_Redraw())
BindEvent(#PB_Event_Loading,@Handler_Loading())

LoadSprite(0,"sprite.png",#PB_Sprite_AlphaBlending)
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 1 guest