Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Sprites using usernames.
- NintendoDuck
-
New Scratcher
2 posts
Sprites using usernames.
Hello!
-
So I wanna make it so a sprite is a username. For example if I wanted to use a login for a user say on a computer, I would want it to say the users name (username). Basically I want it to have a sprite be a username for my projects. Thanks for the help!
-
So I wanna make it so a sprite is a username. For example if I wanted to use a login for a user say on a computer, I would want it to say the users name (username). Basically I want it to have a sprite be a username for my projects. Thanks for the help!
- -ShadowOfTheFuture-
-
Scratcher
1000+ posts
Sprites using usernames.
You can actually display the viewer's username (the value of the (username) block) onscreen by scrolling through the block palette until you find it and clicking the checkbox next to it. If you right-click on the display in the project, you can choose between normal readout, which is what it should default to, and large readout, which only shows the username.
Alternatively, if you don't want a blue box sitting in the middle of your project, you can find a custom text engine and use it to display the username instead. A quick search for “text engine” on Scratch should yield a lot of results; once you have one that you like, just follow the instructions. Remember to give credit to the original creator of the text engine, of course.
(In case you don't know: in the light blue sensing section of the block palette, the scrolling section you choose your blocks from, there's a block called “username” that outputs the username of whoever's viewing the project.)
Alternatively, if you don't want a blue box sitting in the middle of your project, you can find a custom text engine and use it to display the username instead. A quick search for “text engine” on Scratch should yield a lot of results; once you have one that you like, just follow the instructions. Remember to give credit to the original creator of the text engine, of course.
(In case you don't know: in the light blue sensing section of the block palette, the scrolling section you choose your blocks from, there's a block called “username” that outputs the username of whoever's viewing the project.)
(username)
Last edited by -ShadowOfTheFuture- (Jan. 19, 2020 21:24:10)
- QuirkyKittten
-
Scratcher
100+ posts
Sprites using usernames.
Hello!This is possible, but I believe there is a much easier way to do this. If you are trying to detect the username, or basically who is playing, you can use the “username” block in the “Sensing” category. Although, I believe @-ShadowofTheFuture- has explained much more than I can
-
So I wanna make it so a sprite is a username. For example if I wanted to use a login for a user say on a computer, I would want it to say the users name (username). Basically I want it to have a sprite be a username for my projects. Thanks for the help!

Last edited by QuirkyKittten (Jan. 20, 2020 15:09:38)
- VideoMasterGameNew
-
Scratcher
20 posts
Sprites using usernames.
I have a question. I want usernames to pop up above my sprite. Is it possible with no mods?
- VideoMasterGameNew
-
Scratcher
20 posts
Sprites using usernames.
I have a question. I want usernames to pop up above my sprite. Is it possible with no mods?Like, your username in white centered above your caretcter?
- ScolderCreations
-
Scratcher
1000+ posts
Sprites using usernames.
An easy way to do this is to use the say block.
I have a question. I want usernames to pop up above my sprite. Is it possible with no mods?Like, your username in white centered above your caretcter?
Last edited by ScolderCreations (June 30, 2021 02:49:28)
- MasterofTheBrick
-
Scratcher
1000+ posts
Sprites using usernames.
@VideoMasterGameNew and @ScolderCreations, please discuss this in your own topics.
- Discussion Forums
- » Questions about Scratch
-
» Sprites using usernames.