Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HW image version of this little stupid thing
#18
(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!
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply


Messages In This Thread
RE: HW image version of this little stupid thing - by grymmjack - 09-12-2023, 10:54 PM



Users browsing this thread: 14 Guest(s)