09-12-2023, 10:54 PM
(This post was last modified: 09-12-2023, 10:54 PM by grymmjack.
Edit Reason: Added backticks
)
(09-12-2023, 01:21 PM)a740g Wrote: Made a few changes.
Code: (Select All)
ALIEN_SPRITE& = _NEWIMAGE(w% + 1, h% + 1, 256)
_DEST ALIEN_SPRITE&
PSET (0, 10)
DRAW ALIEN$
_CLEARCOLOR 0, ALIEN_SPRITE&
ALIEN_32& = _NEWIMAGE(w% + 1, h% + 1, 32)
_SOURCE ALIEN_SPRITE&: _DEST ALIEN_32&: _PUTIMAGE
ALIEN_HW& = _COPYIMAGE(ALIEN_32&, 33)
Thanks @a740g ! I was missing `_CLEARCOLOR 0` somehow, and that was the fix?
I don't quite understand that because the screen is `320x200` and the sprite is only `50x50` or so.
Why was the entire background black and not showing the blue?
Thanks again!