Code: Alles auswählen
;-Farbenverschwindentest
rot=255
gruen=255
blau=255
InitSprite()
OpenScreen(640,480,16,"Farb verschwinden test")
InitKeyboard()
Repeat
ClearScreen(0,0,0)
ExamineKeyboard()
StartDrawing(ScreenOutput())
FrontColor(rot$,gruen$,blau$)
For rot=rot-5 To 0
For gruen=gruen-5 To 0
For blau=blau-5 To 0
Locate(300,300)
BackColor(0,0,0)
DrawText("Dies ist ein Verschwindibus test :D")
StopDrawing()
FlipBuffers()
Delay(20)
Next rot
Next gruen
Next blau
Until KeyboardPushed(#PB_Key_Escape)
CloseScreen()
End
