User Tag List

Results 1 to 3 of 3

Thread: Transparency question.

  1. #1
    Wizrobe DarkDragoonX's Avatar
    Join Date
    Mar 2001
    Location
    Hell if I know
    Age
    42
    Posts
    4,855
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    4,559
    Level
    21
    vBActivity - Bars
    Lv. Percent
    28.5%

    Transparency question.

    Exactly how does it work? After making a screen, I created an overhead, transparent object. After setting the layers, however, the object and what was underneath it had some reeeaaaallly funny colors... does the transparency engine just mix the colors together or what?
    Proud sponsor of the Oh, God of hangovers.

  2. #2
    Patra Cloral's Avatar
    Join Date
    Apr 2001
    Location
    Ventura, CA
    Age
    42
    Posts
    8,589
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    10,226
    Level
    30
    vBActivity - Bars
    Lv. Percent
    10.87%
    First of all, press 'b' to rebuild the colors. Then it should look better.

    The way translucency is done is as follows: The engine takes the color from the translucent layer and the color that would go behind it and combines them to come up with a raw RGB value. SInce ZC runs in 256 colors though, the engine then finds the nearest color to use. This sometimes can cause odd effects - for instance, if you combine red and black for a dark red, but don't have any dark reds in your pallete, it might show up as another color, such as a dark green or blue or brown. So if you plan on using translucency, you have to be sure to take that into consideration when designing your palletes.

  3. #3
    Octorok
    Join Date
    Feb 2001
    Location
    New Mexico, USA
    Age
    43
    Posts
    286
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,197
    Level
    11
    vBActivity - Bars
    Lv. Percent
    84.82%
    Ah ha! Now I understand. It won't mix the colors into anything other than what you already have in your palette. Here I was thinking I could trick the program into thinking that there were more colors than in my palette. No wonder it never worked. Hmmm.... I guess I'll just have to ask that we get 24 bit color in the next version then.

    EDIT: Hmmm... I was thinking about this. Could you put the colors you want the transparency in the "cycle color slots" and then use transparency to somehow bring those colors out?? Would that work? Technically (sp) they would be on the same palette, would they not?
    Reality is Fluid.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social