How to display Text from 2 different Scenes

Hi,
I wanted to know how to get text to display from one scene to another.
Here's what I'm trying to do.
They're going to press a button that will change the scene to give them options.
The options will be Number 1, Number 2 and Number 3
When they click on any of those buttons
I would like the scene to change back to the previous scene
and show up in a display text box with either Number 1, Number 2 or Number 3 showing

Best Answer

  • retired_830c50d3bf119e557be016b4f24844c9retired_830c50d3bf119e557be016b4f24844c9 ImagineLabs.rocks Posts: 5,772
    edited January 2016 Accepted Answer

    I'm not talking about using the Save and Load behaviors, just store the text in an attribute.

    First create a game level text attribute called Choice (or whatever).

    Then in the button do:

    When touch is pressed
    Change Attribute Choice to "your text"
    

    Then in the other scene you can display the "your text" with a Display Text behavior, like:

    Display Text Choice

    See the sample attached.

Answers

Sign In or Register to comment.