Discuss Scratch

sasha_vulcano
Scratcher
16 posts

How to make custom say block

define Say (text)
set [letter v] to []
set [say v] to []
repeat (length of (text))
change [letter v] by (1)
set [say v] to (join (say) (letter (letter) of (text)))
say (say)
wait (0.05) secs

end
wait (1.5) secs
say []
The Sprite Say(H.e.l.l.o.!)insted of Hello!
wait ((.)=(0.05)  secs
CodingBaguette
Scratcher
500+ posts

How to make custom say block

sasha_vulcano wrote:

define Say (text)
set [letter v] to []
set [say v] to []
repeat (length of (text))
change [letter v] by (1)
set [say v] to (join (say) (letter (letter) of (text)))
say (say)
wait (0.05) secs

end
wait (1.5) secs
say []
The Sprite Say(H.e.l.l.o.!)insted of Hello!
wait ((.)=(0.05)  secs

What type of custom text are you making?
-EmeraldThunder-
Scratcher
1000+ posts

How to make custom say block

Please don't create tutorial threads. Thank you.
sasha_vulcano
Scratcher
16 posts

How to make custom say block

Play the game to turn on Online On
when green flag clicked
forever
if <Game Played(Online Game Test)> then
broadcast [Online v]
else
broadcast [Offline v]
end


define Game (Online Game Test)
set [Game ID v] to [481404686]
when I receive [Online v]
set [Online v] to [On]
when I receive [Offline v]
set [Online v] to [Off]

Last edited by sasha_vulcano (Jan. 31, 2021 18:48:55)

-EmeraldThunder-
Scratcher
1000+ posts

How to make custom say block

Reported to be closed.
Harakou
Scratcher
1000+ posts

How to make custom say block

Hi! It's great that you want to offer some useful tips to other users, but this forum isn't meant for tutorials. Instead, why not create a project and share it in the Show and Tell forum? That way, people can see the scripts you're demonstrating in action, change them easily and remix your project if they want to.

Powered by DjangoBB