Someone help me !!(In Escape game, how to create behavior...)
satoshiwakata
Member, PRO Posts: 60
Hi, there!
I create escape game, and now I trying to create escape game.
and, I would like to know about behavior.
As my file,
1. touch key -> 2. disappear the key and appear icon key -> 3. touch the icon key -> 4. change image from icon key to icon key2, and player can open the door.
And....I want to make rule: touch the key icon 2 -> change to key icon1 and player can not open the door.
But, when I make rule that, that rule does not react (please refer to my file, rule "not to use key" in Iconkey actor).
This discussion has been closed.
Comments
The rule Icon1 to icon2 are in conflict. In the same time you click the key you active both rule. So the engine switch to icon1-icon2 continuosly and quickly.
Try with a "Busy" attribute:
if key = 1 && busy = false
change Key to 2 and change busy to true.
Then create a new rule with a timer:
If busy = true
Timer: after 0.3s going to false.
Et voilà
Thank you!!
Don't make multiple threads. We can see all the threads.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Yes, please don't make duplicate threads. If you have additional information to add to a thread, you can find it by clicking on the My Discussions link at the top-right of the forums page.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User