Discuss Scratch

XR2
Scratcher
2 posts

Dynamic Text

Is there anyway to make dynamic text? Like, to let the player name their character in the game and that name shows up in text dialogue.
AonymousGuy
Scratcher
1000+ posts

Dynamic Text

Here is a little example:
when gf clicked
ask [Hello. What is your name?] and wait
set [name v] to (answer) //In case you want to use it later
say (join [That is an interesting name, ] (name))
Basically, you can use the "ask [] and wait“ block to get text input, and use the ”join [] []" block to add strings together.

I hope this helps!
rupiroo
New to Scratch
1 post

Dynamic Text

What if you want to store changing information then display it dynamically in a custom design, like for a table of game times and scores?

Am currently looking at this: http://scratch.mit.edu/projects/10096959/#editor

Powered by DjangoBB