Tutorial|Username System

Post your own tutorials, guides and demos.

Post » Sat Oct 07, 2017 2:37 pm

Today i'm going to show you how to create a username system for your game!

Tutorial Difficulty:Beginner-Anyone can do it
Step 1:
So first of all you want to create a textbox or something where the player can put in the username of choice (if you know how to add some styling to the text box you can do it)
Step 2:
Now create a global variable and call it something you can remember for later!

Set the variable settings to the following:

Name:(Choose your own)


Inital Value:(Leave Blank)

Description:Used for username storage
Step 3:
Now you have that done if you have a save and load system the variable will save and load all you have to do is if you want to display the username anywhere in your game just do the following:

Create an condition\System\On start of layout\(Text that you want)\set text\"Welcome "& SC_Account &" To the Space Connect screen"
Although you would change SC_Account to the name of the variable you created and change the text to your own!

Of course you can do so much more than just set the text to display the username but that's for another tutorial.Anyways if you found this helpful then please share the post with the community and your freinds Peace Out!!
Posts: 9
Reputation: 532

Post » Sat Oct 07, 2017 3:43 pm


Wrong section again, I'm afraid.

This is for the - now retired - Construct Classic program.

The Tutorial section I was referring to was linked in my post, i.e. here:https://www.scirra.com/tutorials.
If your vision so exceeds your ability, then look to something closer.
Posts: 5,986
Reputation: 62,787

Post » Sat Oct 07, 2017 7:24 pm

Can you delete both the threads for me
Posts: 9
Reputation: 532

Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 1 guest