View Single Post
Old 11-24-2009, 11:49 PM   #108
Cosmonautical
 
Cosmonautical's Avatar
 
Join Date: Aug 2002
Location: I rub my tilde all over your asterisk
Gender: Undisclosed
Posts: 28,097
Thanks: 2,138
Thanked 5,336 Times in 2,431 Posts
btw, after playing SMB2 again, SD and I observed that the game itself employs the sprite section defined palette-switching that I described earlier.

IE, have a look at Mario's sprite:



How many colors do you count? It's actually five. A single 2-bit palette only allows for 4 colors total, one of which must be assigned to be a transparent color (lest all sprites be square shaped), with 3 usable colors. So Mario should have 3 colors, which are used up by the red, blue, and his skintone. His eyes, though, are white and black. They use a seperate palette. The same palette that the shyguys and the tweeter both use, in the above screen. They're outlined in black, I'll mention, since DS seemed to think that was an issue.
Cosmonautical is offline   Reply With Quote
 
Page generated in 0.03644 seconds with 11 queries