Behaviour after keyboard input

AnteeksAnteeks Member Posts: 7
edited May 2012 in Working with GS (Mac)
Have a (probably) simple question.

Lets say I have a scene with a question. I make an actor that brings the keyboard up on touch - how do I do when I want the input from the keyboard will act as false (when wrong answer is given) and delete all the input, or true (of right answer is given) and activate the behaviour "change scene".

Also, can I make a save function that remembers the current scene (pref. automatically) that when I close the application, and open it up again, it will be at the same scene as I closed it?

Answers

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    edited May 2012
    Just make a text attribute. And let player to change it with keyboard input. Make a rule - if this attribute is [here type the answer]; change scene to: X
    Otherwise:
    Reset Scene

    ---

    Saves: make an integer attribute, which changes in each scene, and save it. Then in Main Menu make a rule which will load this attribute, and change scene to 1 if attribute is 1, change scene to 2 if attribute is 2, etc.
Sign In or Register to comment.