I'm trying to "fadeIn" a store "screen" which is really just an invisible group. I set the group to visible=true, set the alpha to 0 and then do a "fadeIn" on the group. The problem is that the whole stage goes black (my clear screen color) and then fades back in.
storeGroup.addAction(Actions.sequence(Actions.alpha(0), Actions.fadeIn(1)));
I even went as far as to make the Table within my StoreGroup accessible and adding the action to that, but the result is the same.
storeGroup.getTable().addAction(Actions.sequence(Actions.alpha(0), Actions.fadeIn(1)));
Essentially I just want my store group to fade in over whatever is currently displaying, but the fade in seems to apply to every other actor in my Stage, not JUST the one I'm adding it to.
Any help would be greatly appreciated, I've been working on this all morning and can't figure out why the "fadeIn" is applying to everything.
Stage
are being hidden before the "Store"Group
is fading in. I tried changing theglClearColor
to white an noticed that it flashes white instead of black. Any idea why the rest of theActor
s in theStage
are being hidden while my "Store"Group
is being faded in? \$\endgroup\$Color.WHITE
, or whatever it was beforehand, after drawing each actor? \$\endgroup\$