| |
Six
Registered: Apr 2002 Posts: 293 |
Sprite + Sprite + Background priority color switching trick.
So, I'm not sure what this technique is called, and I'm sure it's been done to death. I'm hoping to determine if there's a more efficient way to do it.
(Everything is in hires, not multicolor mode)
I put character graphics on screen.
color ram is pink
sprite 0 color is white
sprite 1 color is red
I put sprite 1 with matching bitmap data in front of the character graphics.
I set sprite-background priority to 01
I move sprite 0 partially in front of sprite 1.
In the areas in which sprite 0 has pixels in front of sprite 1, the character graphics show through, giving the appearance that red mixes with white to make pink.
SO...
What is this technique called?
Is there a better way to achieve it so that I'm not limited to a narrow width of graphics on screen? |
|
... 10 posts hidden. Click here to view all posts.... |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1409 |
I quite like cookiecutter, or priority inversion.
Possibly 'felting' (as you're pulling up colours from the foreground through the lower priority sprites, like the craft technique with layers of fabric), but that might be a little obtuse. |
| |
Martin Piper
Registered: Nov 2007 Posts: 722 |
How well is this emulated compared to real hardware? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
its perfectly emulated (of course, its trivial). see the test program i linked above. if it would'nt, demos like "tsunami" would look completely broken all over the place :) |
| |
Cruzer
Registered: Dec 2001 Posts: 1048 |
Priority paradox - will call it that from now on. |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
say that after a couple of beers :) |
Previous - 1 | 2 - Next |