Make A Block Idea

id: 750101

category: Project Ideas

posts: 4

Dophs684 Dophs684 loading


define play (sound) forever
forever
play sound (sound :: custom) until done
end








Update 1: Fixed
Dophs684 Dophs684 loading
Did I Miss Spelled It?
96498cb 96498cb loading

Dophs684 wrote:

define play sound (sound) forever
forever
play sound [(sound) v] until done
end
Fixed:
define play (sound) forever
forever
play sound (sound :: custom) until done
end
but this is not possible in scratch, atleast not yet.
sethwhis sethwhis loading
Heres a block design you can code:


define Word (word) For (seconds) Seconds on sound (sound)
set [letter v] to (0)
repeat (length of (word :: custom) :: operators)
add (letter (letter) of (word :: custom)) to [Words v] :: lists
change [letter v] by (1)
say (Words :: lists)
start sound (sound) :: sound
end
wait (seconds :: custom) seconds :: control
say []
Please go to this link of https://scratch.mit.edu/projects/989208707/ for more help.