Scene layer and buttons issue
SingleSparq
Member Posts: 1,339
Dunno if this is a bug or expected but I have a scene with an options button - instead of sending it to an new scene, I want to options to be a pop up screen over the scene, so I spawn a background actor which in-turn spawns some buttons for the options.
The problem is the buttons from the scene below the screen are still activate on the iphone if that area is touched - the scene layer has the options actors on top of other elements and I have even placed a button rule on the background actor itself hoping to negate the effect but those hot spots are still present - other than placing a off condition on those buttons below is there something I'm missing?
The problem is the buttons from the scene below the screen are still activate on the iphone if that area is touched - the scene layer has the options actors on top of other elements and I have even placed a button rule on the background actor itself hoping to negate the effect but those hot spots are still present - other than placing a off condition on those buttons below is there something I'm missing?
Comments
In your button that spawns the Options window create this rule
Need:
game.attribute Boolean called "Options"
When Pressed
Spawn Options Menu
Change game.Options = true
Then under the buttons that you don't want to be able to click encompass the rules in a rule that says:
If game.Options = FALSE
This way they are only clickable when Options is not open. Now on whatever button you have that will CLOSE the options menu create a rule to set game.Options = FALSE.
Hope this helps.
Josh