Hi there I have a problem with the hideOverlay and showOverlay functionalities.
This is my code inside a EventListener callback for a button that gets executed on tap
function openOverlay() composer.showOverlay("levels.ability\_overlay", { isModal = true, effect = "fade", time = 400 }) end
I get the overlay with that, but it´s neither model nor using the effect, so that´s my first problem.
The second problem is that the following is not closing the Overlay:
local function backToGame() print("There") composer.hideOverlay("fade", 400) end
this one is a EventListener callback in the Overlay itself. I also tried calling it via a function in the main scene but that didn´t worked either.
Any Ideas what I´m doing wrong here?