Discuss Scratch

Dophs684
Scratcher
10 posts

Make A Block Idea



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








Update 1: Fixed

Last edited by Dophs684 (March 26, 2024 19:09:39)

Dophs684
Scratcher
10 posts

Make A Block Idea

Did I Miss Spelled It?
96498cb
Scratcher
100+ posts

Make A Block Idea

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.

highlight (double click) a piece of text + control (command on mac) + shift + down arrow key to see my full siggy.
define 96498cb
forever
help forums :: custom
end
Come to this link for awesome code, employees, and service!
100th post!!!!!!!!! https://scratch.mit.edu/discuss/topic/706823/?page=185#post-7670932

This is Mira. She is my siggy protector.
(= ^ •⩊• ^ = :: #aaaaaa)
Hey, I am a small creator that doesn't have a lot of projects, but i would appreciate if you liked and faved them. (you don't have to)
sethwhis
Scratcher
10 posts

Make A Block Idea

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.

Last edited by sethwhis (March 26, 2024 13:13:50)

Powered by DjangoBB