How to set new default character?

NuGamerNuGamer Member Posts: 25

I have a default highscore game character. I recently made a character selection page, and when you click on a new character a player has unlocked, how can I code it so that the default character is replaced?

Comments

  • uptimistikuptimistik Key Master, Member, Sous Chef, PRO Posts: 306

    Super easy way to get this done is creating a self attribute for the main character, with 3 values: if that value is 1 use character costume 1, if value is 2 use character costume 2, if value is 3, use character costume 3.


    Put it together for you in the attached project file.

    This is an embed external element. It can be deleted using the delete key or the backspace key. To view the full element, press the preview button below.
    Adobe Portable Document Format (PDF)
    CharacterSelection.zip
    17.17 KB


    GameSalad Templates and Custom Development at the Official Marketplace: http://gshelper.com

  • NuGamerNuGamer Member Posts: 25

    @uptimistik Thank you so much, you're the best 🙌

Sign In or Register to comment.