Composer showOverlay effects not working

Hello everyone,

I’m trying to get an effect for showoverlay to work and I’m not having any luck. The hideOverlay effect is working just fine though. Here is the code.

composer.showOverlay( "pauseMenu", { isModal = true, effect="slideDown", time = 250})

The time and isModal work fine, but the effect doesn’t do anything. (or any effect)

composer.hideOverlay("slideDown", 500)

This works though. So I’m not sure what is going on here.

Any help would be appreciated!

Get the free sample code here:

Then compare what you’re doing to my empty frame in ‘5_frame’.  I think you’ll find the problem.

Note: The problem is probably in your overlay file.  My guess is its not getting build till after the transition.

-Ed

Make sure you have items to draw in ‘scene:create( event )’ portion of the composer. 

Get the free sample code here:

Then compare what you’re doing to my empty frame in ‘5_frame’.  I think you’ll find the problem.

Note: The problem is probably in your overlay file.  My guess is its not getting build till after the transition.

-Ed

Make sure you have items to draw in ‘scene:create( event )’ portion of the composer.