How do I Allow The Player To Name Their Character?

  • When the player selects new game and has chosen their character, I want them to be able to name that character whatever they want and for the name to be displayed above the characters head in-game.

  • You can get a Textbox object in like "character creation" page or whatever where they enter their chosen name. Then you could also have a normal Text object pinned (Pin behaviour) or using something else to position the Text object always above the player (ergo use the position of the player to position the Text object, like Text.Y = Player.Y -100 .Then you should set Text to whatever was entered in Textbox and then destroy Textbox, or put invisible etc.

    Maybe this is even better: just make a global variable that's being set by whatever the user enters in the Textbox object, then destroy the Textbox on like "start game" or "enter name" button or something, then have the Text object (above the player) be set to the global variable. That way you can also use the global variable to be referenced on other places.

    Hope this helps .

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Why couldnt you do something like when the game starts they name the character to "WolfMan"

    In the Character Instances have an instance for name..

    When character is created set name to your textbox....

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)