

If you want to save space (both in disk and memory). The encoding is pretty much slow (on high compression settings of course), the decoding however is pretty fast (although PB implementation -is pnglib?- Is actually pretty slow). the 255,0,255 is still on my screen.īMP does handle RLE as well, Its just never been widely supported.

The problem is that the mousesprite/mousetailsprite is not transparent.

Until KeyboardPushed(#PB_Key_Escape) Or Event = #PB_Event_CloseWindow TransparentSpriteColor(#imgPlayer, 255, 0, 255) LoadSprite(#imgPlayer, "player.png", #PB_Sprite_Texture) ayertail(i)\y = ayertail(i-1)\oldyĭisplaySprite3D(#imgPlayer, ayer\x, ayer\y)ĭisplaySprite3D(#imgPlayer, ayertail(i)\x, ayertail(i)\y, transparency) If WindowMouseX()>0 And WindowMouseX()0 And WindowMouseY()<480-1 Global ayer\x, ayer\yĭim ayertail(#cfgPlayerTailLength) OpenWindow(#PB_Any, 10, 10, 640, 480, #PB_Window_ScreenCentered|#PB_Window_SystemMenu, "Mouse Avoider by Thoniel.NET /minigames")
