| | Image Palettes | |
| | Author | Message |
---|
Role Magister
Posts : 313 Join date : 2009-10-11 Age : 36 Location : Austin, Texas
| Subject: Image Palettes Wed Oct 14, 2009 8:13 am | |
| Okay, so after finding out about the 16 color palette in the icons, I'm curious as to the OTHER palette restrictions.
For example, what about for Face Portraits, Overworld Sprites, and Battle Sprites? | |
| | | Atrius Admin
Posts : 90 Join date : 2009-09-10 Age : 36 Location : Earth
| Subject: Re: Image Palettes Wed Oct 14, 2009 7:11 pm | |
| Face portraits each have their own 16 color palettes (one of which is always transparent, but not used so far) Overworld, and Battle sprites all use the same 224 color palette. You may notice that the first 16 colors of this palette are the exact same as the 16 color palette for icons, this is no coincidence. The GBA has room in memory for a 256 color background palette, and a 256 color sprite palette. The remaining 32 colors in the sprite palette are reserved as room for loading up to two face portraits. The background palette consists of 224 colors that are customized for each area in the game, and 32 for menu/HUD graphics. In battle it uses 128 for the background, 64 for attack graphical effects, and 64 for the menu/HUD (Each of the normal colors has a brighter version so it can highlight the panel for the character whose turn it is.) | |
| | | Role Magister
Posts : 313 Join date : 2009-10-11 Age : 36 Location : Austin, Texas
| Subject: Re: Image Palettes Wed Oct 14, 2009 7:16 pm | |
| What are all the possible colors for the Face Portraits? | |
| | | Atrius Admin
Posts : 90 Join date : 2009-09-10 Age : 36 Location : Earth
| Subject: Re: Image Palettes Wed Oct 14, 2009 7:24 pm | |
| Any color you want, their palettes are saved individually with them. The GBA only uses 5 bits for each RGB color channel though, so their values can only be multiples of 8. | |
| | | Role Magister
Posts : 313 Join date : 2009-10-11 Age : 36 Location : Austin, Texas
| Subject: Re: Image Palettes Wed Oct 14, 2009 7:26 pm | |
| I'm guessing it's a standard 256 color palette, or was my calculator not lying to me when it said 32768 (32^3)? | |
| | | Atrius Admin
Posts : 90 Join date : 2009-09-10 Age : 36 Location : Earth
| Subject: Re: Image Palettes Wed Oct 14, 2009 7:41 pm | |
| Your calculator is correct. You're limited to 16 colors per portrait, but there are 32768 possibilities for each of those colors. | |
| | | Role Magister
Posts : 313 Join date : 2009-10-11 Age : 36 Location : Austin, Texas
| Subject: Re: Image Palettes Wed Oct 14, 2009 7:53 pm | |
| ...Yeaaah... I'm not gonna ask you for a palette sample then. It'd take up half the page. :x | |
| | | Atrius Admin
Posts : 90 Join date : 2009-09-10 Age : 36 Location : Earth
| Subject: Re: Image Palettes Wed Oct 14, 2009 7:55 pm | |
| Any color is good so long as the individual RGB values are divisible by 8.
0, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248. | |
| | | Role Magister
Posts : 313 Join date : 2009-10-11 Age : 36 Location : Austin, Texas
| Subject: Re: Image Palettes Wed Oct 14, 2009 8:03 pm | |
| True, though it's always helpful to have a sample palette. | |
| | | Sponsored content
| Subject: Re: Image Palettes | |
| |
| | | | Image Palettes | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
|
|