Requested change to alpha behavior on display groups

Dear Ansca,

Currently making adjustments to the alpha property of a display group results in each child object having its alpha property adjusted simultaneously. This makes sense in theory, but it creates problems when you have overlapping objects in the same display group - you get a “bleed through” effect.

Even if you are only transitioning to or from an alpha value of 1, the transition looks strange, because you see overlap in the transitioning child obects. And if you try to set a static alpha value between 0 and 1 for a display group, it looks especially strange where the objects overlap.

Is it possible to change the alpha property of display groups to affect the opacity of the flattened display group? This would be extremely helpful for a number of us.

Thanks as always for your attention and your rapidly-evolving ecosystem - you guys (and gals) rock!

Thanks,
Jason [import]uid: 27636 topic_id: 21648 reply_id: 321648[/import]

+1 [import]uid: 13632 topic_id: 21648 reply_id: 85859[/import]

+1 [import]uid: 7911 topic_id: 21648 reply_id: 85866[/import]

+1! [import]uid: 77183 topic_id: 21648 reply_id: 85870[/import]

+1 [import]uid: 9422 topic_id: 21648 reply_id: 85881[/import]

As far as I know, displayGroup.alpha = 0/1 works fine in Director class. [import]uid: 4187 topic_id: 21648 reply_id: 91999[/import]

+1 [import]uid: 111283 topic_id: 21648 reply_id: 92001[/import]

+1 [import]uid: 97563 topic_id: 21648 reply_id: 115481[/import]

Don’t think this is even possible without rendering the whole group to a texture and applying the alpha to that texture or using some z buffer trick.

All the textures in corona SDK are probably rendered back to front because of transparency, so you always see the texture behind it, if it was the other way around with the z buffer turned on you wouldn’t be able to see the textures behind a texture with partial transparency in it.

That being said it would be nice if the transitions rendered the storyboards into render targets and transition them that way instead of using the actual group [import]uid: 88628 topic_id: 21648 reply_id: 115735[/import]