How to create Rule in Escape Game
satoshiwakata
Member, PRO Posts: 60
Hi!
Anyone help me !!
Please look at this file.
I intend to create......
1 Touch and Get Fire, 2 Touch Bomb then Break Rock, 3 Touch Key behind the Rock and Get it, 4 Open Door, 5 Stage Clear.
But, Fire's Icon can display bottom the scene when player touch that screen even if player does not get fire.
Bomb can fire out even if player does not get fire.
Key icon does not display bottom the scene even if player get the Key.
I think it will solve when I make attribute "KeyGet " or "FireGet" and combine rules.
But it does not work.
If anyone can solve these problem, Please help me !!
Comments
Hi @satoshiwakata For the Bomb, you need when touched is pressed and FireGet is true
and similar principle for other items.
Hope that helps.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
This video will help you understand how to build logic.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
gyroscope,
Thank you for reply.
Unfortunately,
For the Bomb, when I when touched is pressed and FireGet is true,
I do not seem to get effect which is Bomb fires only when FireGet is true.
Please make behavior.
Even if I make behavior as you say, Bomb fires when it touches merely.
Do you know the reason ?
Lost_Oasis_Games,
Thank you for you're reply.
I watch this tutorial tomorrow.
If I have question, I would ask you.
Hi @satoshiwakata
Very straightforward, see the attached screenshot.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
gyroscope,
Thank you for your reply.
Yeah, I know what you said.
As bellow, I created behaviors which is same as you, but it does not correct.
For example, "Fire actor " changes image when player touches it in spite of there is attribute "FireGet".
"IconFire actor " changes image when player touches it in spite of there is attribute "FireGet".
Like attached file, "example" is more simple stage.
In there, the command works no problem.
Uh,,,,,,(:-D)
Hi @satoshiwakata I see now there were more problems than the solutions I gave after a swift glance at your file.
Looking at it more closely, I've redone some of the programming and it works as you would want now.
P.S Please note I unlocked some of the Prototypes so the new programming is in the screen actors.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
gyroscope,
Thank you for your great help!!
I change my behaviors as yours.
Because, as I made 30 stages, they must move correctly and now I have a lot of trouble haha.
By the way, I recreate file according to yours,
it does not reelect in IconKey and IconFire.
Do you know the reason ??
Yes, in the matches (Fire) prototype, you didn't make game.Fire to 1
When touch is pressed
Change Attribute game.Fire to 1
Also in this prototype actor, you don't need
Change Attribute FireGet to true
because getting the matches is indicated by Fire going to 1. Hope that helps.
Edit: I see you've a problem with the key as well, I'll take a look at that in ten minutes.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Hi @satoshiwakata OK, I confused the situation by unlocking your actors - so I've redone it with the programming in the Prototypes as you want.
Here is the latest updated file for you to check out.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
gyroscope ,
Great!! Thank you for your reply.
But, I don't open your file because of any reason now.
Tomorrow, I look at it and if I have something to ask you,
I am going to come to here.
Anyway, thank you for your help!!
gyroscope ,
Hi! Thank you for your file.
Almost all of their help is useful.
And,,,,one more.
Please look at my pdf fire.
After player get items, player can not change Iconimages whether it it use or not.
Do you have any solve ??
Hi @satoshiwakata Sorry, I'm not understanding what you mean. Do you mean the inventory items disappear after they have been used once? I thought that's what you wanted...
But first to ask, is the problem on the file I amended, or another version you copied?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
gyroscope,
No problem.
I am sorry for my poor English and Skill.
I just want to create effect switch off or on in Icon.
gyroscope,
In your file situation, Icon's items (Key and Fire) keeps on of the switch.
I would like to switch on or off by touch.
I understand, you don't want the matches to be destroyed but used then switch off and still show to be used again?
OK, I'll amend the file soon.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Hi, there are quite a few ways to get what you're after here's another way different from your original on off for the matches.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
gyroscope,
Thank you for your patient.
But, I am likely not to convey what I mean.
I attach PDF file.
I attempted to describe what I am troubling.
If you help me, I wait for your reply.
Thank you for your kindness!!
Hi @satoshiwakata Very straightforward, here is the updated file for you to emulate.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
gyroscope,
Great!
For your help, I will proceed next steps !!
Thank you!
gyroscope,
Thank you help.
By the way,
I create behaviors about key and icon key as same as Fire and IconFire.
But, it does not work.
I think I can create key as fire.
Does it need another behavior?
Hope you've got enough to work on now...
Here is the way I've done it:
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
gyroscope,
Thank you for your help !!