Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cooming 2013: "Yumiko in the haunted Mansion"
#35
britlion Wrote:
Quote:Not a bad idea after all. This would save a lot of memory, especialy if the graphics is compressed.

Yes - this method is pretty simple. On the plus side it doesn't mask out holes in the sprite. On the downside, if it can't be "filled" from the side, it will be imperfect.

You could do a whole fill routine, I suppose, to build a mask. Or mask all 0 bits anyway, and have the eyes see through? Smile
This depends on the Sprites itself. Small solid sprites have usualy no holes.
Rotation 1xleft and 1x right, then OR the results, and you have a nice mask too Smile.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)