MMBasic: Knightmare Game


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9172
Posted: 09:26am 10 Dec 2023      

  Quote  The black boxes are a weird problem because I'm using the screen mode that supports alpha, and pages 0 and 1 will "blend" considering the transparent pixels,


Transparent pixels must be RGB(0,0,0,0) and not rgb(BLACK) = rgb(&HFF,0,0,0)
The best way to load a sprite is from a png file. If you view a suitable png file the background will be a grey checkerboard and not black