Compiled Game Not Honoring Sub Palette 2

pertheus

New member
This is following the official YouTube channel's Adventure Game Tutorial:

For Game Objects, when I assign a sub-palette to a pickup or explosion animation, it does not honor it in the game. It is always reverting back to the player's default palette when I run the game for testing. I can't seem to get it to honor any palettes except Sub 1. It's always appearing in the same palette as the player sprite. So, the sword, heart, explosion... They are all blue. Am I missing something? I have changed the palette in the Game Objects screen and resaved and it does appear under the Objects tree in the correct color, just not in-game.

Thanks,
 

TurtleRescueNES

Active member
When designing your game object, make sure you are flagging each tile to use the second subpalette and not just the first subpalette that is loaded with the color palette you may want. Ignore the first subpalette section completely. In fact, make it a dummy grey or black palette to force you to use the second palette. If you have multiple animations, you may have to flip them over as well.

In game, the object will then use whatever colorpalette you have designated in your main player's subpalette 2.
 

pertheus

New member
That was it!

Thanks! I did everything right EXCEPT for the player palette. I did not have the correct sub-palette assigned to the player object, and that was the issue. Thanks again for your help!
 

dale_coop

Moderator
Staff member
In fact, as Joe explained...
All the “game objects” use the palettes assigned to the Player!
When designing your pickup, effets,... you can only say if you want to use the subPal #1 or the subPal #2... (of the player)
 
Top Bottom