Zampano

Group Alpha

Recommended Posts

Hey everyone.

Is there a possibility to use something like a "master alpha" for a group of sprites instead of them all having their individual alphas changed?

If that's not clear enough: I have a group of overlapping sprites that make up a bigger element. Now I want to fade this in/out as one single object using a tween. Instead, the sprites fade individually which results in them overallbeing less transparent in overlapping areas as well as initially covered sprites to shine through for the duration of the fade.

Obviously, I could alternatively just make it all one sprite, but due to multiple possible combinations, that would be quite costly.

Does anyone have an idea? 
Thanks! 

EDIT:
After some more research, I think rendertexture might be what I need, right?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.