dismissing a window
zachdrago
Member Posts: 11
I have a Menu button, and when you click it, it brings up a window with a Reset button, a Home button, and a Levels button. In the corner of the window I have an X that I want to close and dismiss the actors that I called forward. However, I'm not sure how to do that at all. If anyone can help me or suggest another way of doing it, it would be greatly appreciated! Thanks!
Comments
X button:
----Rule, when touch is pressed change game.dismiss to true
----Timer After .5 seconds change dismiss to false, and destroy actor
All other menu objects
----Rule, When game.dismiss is true, destroy actor
This should work
Rule... if touched is pressed
....rule (All)
....rule if touch is > (mouse position X... left side)
....rule if touch is < (mouse position X... right side)
....rule if touch is > (mouse position Y... bottom side)
....rule if touch is < (mouse position Y... top side)
....destroy actor
are you saying it is slower? then have another actor above to trigger the touch?
(bad english i know, im trying!)
I saved the title screen for the last part of my iPad to iPod conversion. I'm having trouble getting it done. It might be something unrelated, like out-of-memory issues.
I think my game has too many rules, which is slowing down the game. I added a lot of rules with multiple languages, and a lot of rules are needed to add multiple touch points in a single actor.
like puting a bunch of rules in A master rule called "ACTIVE" and the rules will be checked only
when ACTIVE is true, but you probably know that