Cannot view Keyboard Input.

natashazmnnatashazmn Member Posts: 3
edited August 2012 in Working with GS (Mac)
I have designed a game where the user enters his name,i have used Keyboard Input on an actor.However once the user has entered his name he cannot see his own name.
I want the name to appear in the blank shown below
Can anyone help?

Photobucket

Best Answer

  • gyroscopegyroscope I am here.Posts: 6,598
    Accepted Answer

    Hi @natashazmn

    Presumably you've already made a Text attribute for use in the Keyboard Input Behaviour... let's assume you've called it Name.

    If the space for the name input is part of the whole image, then make a transparent actor over the name part. In its Rules, put a Display Text Behaviour, and the Text to display make it game.Name

    Now below this, put your Rule

    When touch is pressed
    Keyboard Input Change attribute game.Name

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Answers

Sign In or Register to comment.