Be a Supporter!

Translucency in Alpha tweens?

  • 395 Views
  • 11 Replies
New Topic Respond to this Topic
Apple-Juice
Apple-Juice
  • Member since: Apr. 12, 2009
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Translucency in Alpha tweens? 2009-12-27 17:51:21 Reply

Hey newground, I vaguely remember some one posting a method for this on the bbs a long time ago, but It can't find it anywhere, so I'm asking it again. Simply, when I change the alpha of a MC that has more than one layer in it they become translucent, I'm trying to find a way around this. When I change the alpha of the object I want it to do so solidly, as if it were on one layer, but with out being so.

To better illustrate my question, I've added a pretty picture :).

These aren't my game graphics fyi.

Translucency in Alpha tweens?


some people get them, some people don't;

BBS Signature
Apple-Juice
Apple-Juice
  • Member since: Apr. 12, 2009
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Translucency in Alpha tweens? 2009-12-27 19:28:26 Reply

Double

I realize now that I didn't include a question :P.
I meant to ask if anyone knew how to do it?


some people get them, some people don't;

BBS Signature
CyanSandwich
CyanSandwich
  • Member since: Aug. 14, 2009
  • Offline.
Forum Stats
Member
Level 41
Programmer
Response to Translucency in Alpha tweens? 2009-12-27 21:29:29 Reply

I have the same problem :P


BBS Signature
Apple-Juice
Apple-Juice
  • Member since: Apr. 12, 2009
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Translucency in Alpha tweens? 2009-12-28 01:19:01 Reply

At 12/27/09 09:29 PM, sandwich-eater wrote: I have the same problem :P

:)


some people get them, some people don't;

BBS Signature
micky315
micky315
  • Member since: Aug. 2, 2007
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Translucency in Alpha tweens? 2009-12-28 01:39:27 Reply

you might be able to use masking, not too sure though


...

BBS Signature
JordanD
JordanD
  • Member since: Jun. 14, 2005
  • Offline.
Forum Stats
Member
Level 19
Artist
Response to Translucency in Alpha tweens? 2009-12-28 02:03:45 Reply

put the one over the other, then delete the inside fill, then fill the inside with 50% alpha goop.

they need to be 1 object for what you want

Apple-Juice
Apple-Juice
  • Member since: Apr. 12, 2009
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Translucency in Alpha tweens? 2009-12-28 02:12:39 Reply

At 12/28/09 02:03 AM, Duchednier wrote: put the one over the other, then delete the inside fill, then fill the inside with 50% alpha goop.

they need to be 1 object for what you want

Are you referring to placing a white object -the size and shape of the one I want to disappear- over top of it and making it 50% because that sadly won't work in this case, as the object needs to be translucent to the main stage, just not it's internal parts.


some people get them, some people don't;

BBS Signature
Jamesgudge
Jamesgudge
  • Member since: Dec. 1, 2009
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to Translucency in Alpha tweens? 2009-12-28 03:29:56 Reply

I think what you're asking is probably not what you're doing. See, when you make something fade, it becomes see-through, I'm sure you know that. The unfortunate truth is that, as far as I see, you can only fade one at a time to get your effect. Fade the one in the back, then the one in the front. If you play with layers, you might get the effect you desire, and like previously stated, with masking maybe.

-Gudge

Jamesgudge
Jamesgudge
  • Member since: Dec. 1, 2009
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to Translucency in Alpha tweens? 2009-12-28 03:35:29 Reply

Just remembered! If you take the masking of one object as a white square for instance, and fade the mask out, instead of the layer, you can get the effect you want. I have the idea, it's just hard to explain, if you don't understand, pm me, it's a direct line to my insanity. lol. Trust me though, I have a method to my madness, or so they say.

-Gudge

Apple-Juice
Apple-Juice
  • Member since: Apr. 12, 2009
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Translucency in Alpha tweens? 2009-12-28 04:23:28 Reply

At 12/28/09 03:35 AM, Jamesgudge wrote: Just remembered! If you take the masking of one object as a white square for instance, and fade the mask out, instead of the layer, you can get the effect you want. I have the idea, it's just hard to explain, if you don't understand, pm me, it's a direct line to my insanity. lol. Trust me though, I have a method to my madness, or so they say.

-Gudge

Excellent theory! And I was extremely hopeful in its ability to work, but alas, a mask is a mask, despite it's alpha % and actually accomplished nothing. Source; Tests :(.

Still, thanks for the effort :D


some people get them, some people don't;

BBS Signature
VanVeenGames
VanVeenGames
  • Member since: Feb. 11, 2009
  • Offline.
Forum Stats
Member
Level 11
Game Developer
Response to Translucency in Alpha tweens? 2009-12-28 08:06:33 Reply

Well, I'm not sure how the objects look like, but if they dont have lines and are both the same single color, you could use a "melt" filter as I call it, and then put the alpha of both on 50%.
Heres a sample of multiple particles with a melt filter:
http://fjodorvanveen.nl/fjo/WaterFinal.s wf


Vexagon is dead. This is VanVeenGames!

BBS Signature
mike
mike
  • Member since: Feb. 24, 2000
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Translucency in Alpha tweens? 2009-12-28 12:16:38 Reply

In the MovieClip's propeties, change the blend mode to "layer". This composites the entire clip before applying the alpha, as opposed to applying the alpha to each child.

Hope this helps :)