News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Transparent Palette?  (Read 1748 times)

caminopreacher

  • Full Member
  • ***
  • Posts: 104
  • "What is a man?"
    • View Profile
Transparent Palette?
« on: October 15, 2014, 12:34:46 pm »
What is the 4 digit hex code for a transparent palette? Does that make sense? I'm trying to take away an outline on a sprite. Thanks! I'm also having so much trouble locating a specific palette with this outline. I've edited sprite after sprite with no trouble, but this one is a pain to find! When I finally find it, I'll be able to remove it!

henke37

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: Transparent Palette?
« Reply #1 on: October 15, 2014, 02:29:06 pm »
Hex code? What are you talking about?

BlackDog61

  • Hero Member
  • *****
  • Posts: 784
    • View Profile
    • Super Robot Wars A Portable translation thread
Re: Transparent Palette?
« Reply #2 on: October 15, 2014, 03:08:32 pm »
What is the 4 digit hex code for a transparent palette?

IF you have a 4-byte colour map, then usually 1 byte is allocated to the transparency level, where typically "00" would mean fully transparent. Again, IF this is a 4-byte colour map, then that byte isusually either at the start or the end of the colour.
More info could help us help you.

caminopreacher

  • Full Member
  • ***
  • Posts: 104
  • "What is a man?"
    • View Profile
Re: Transparent Palette?
« Reply #3 on: October 15, 2014, 04:04:29 pm »
007F (blue) is the color of the outline of the sprite that I am trying to make disappear. I have found it in Advance Palette Editor, but not sure what four digits to input to make it transparent. Obviously, I'm new to this, so I'm still trying to get the hang of the terminology... :-\
Thanks for the understanding.

BlackDog61

  • Hero Member
  • *****
  • Posts: 784
    • View Profile
    • Super Robot Wars A Portable translation thread
Re: Transparent Palette?
« Reply #4 on: October 15, 2014, 06:21:22 pm »
Is 007F an index in a colour map or a colour in itself?
I'm not too much into old platforms. I assume you are still looking at a GBA game here?
if you replace 007f with 0070 then what happens?

FAST6191

  • Hero Member
  • *****
  • Posts: 2466
    • View Profile
Re: Transparent Palette?
« Reply #5 on: October 15, 2014, 06:53:33 pm »
If this is the GBA then assuming you are not playing with anything special (there is some alpha blending in hardware http://problemkaputt.de/gbatek.htm#lcdiocolorspecialeffects , probably some more software based stuff as well out there in the wild) the first "colour" in the palette is defined as transparent ( http://problemkaputt.de/gbatek.htm#lcdcolorpalettes ). This means it can, and does often, change between palettes. I am not entirely sure why they did this as there are several superior alternatives (the 16th bit, the fact that many colours appear identical on the screen....) but if we start pondering hardware design improvements then we will tend not to get much done.

It sounds like you want to read the getting started stuff as well as http://problemkaputt.de/gbatek.htm and http://www.cs.rit.edu/~tjh8300/CowBite/CowBiteSpec.htm#Graphics%20Hardware%20Overview

caminopreacher

  • Full Member
  • ***
  • Posts: 104
  • "What is a man?"
    • View Profile
Re: Transparent Palette?
« Reply #6 on: October 16, 2014, 09:01:54 am »
Thanks guys! I'll look into everything!  :beer: