mkahlua mkahlua loading
I am currently coding a game that uses imported sound effects and imported sounds. I am making this text engine and I want it to play my imported keyboard sound for only the length of time it takes for the letters to be typed out. I have made all of this work so far, but the problem is that the “clear sound effects” block does not work on these sound effects because they are imported and Scratch recognizes these as just “sounds”. A work-around to this is to use the “stop all sounds” block. This works just fine, except that it will silence any background music in your project (because it stops ALL sounds). I suggest maybe making a larger list of these sound blocks. I am thinking something along the lines of being able to give certain imported sounds a category or tag. That way you can give the music in the background a “music” tag, while the keyboard sound effect can have the “SFX” tag. Then, if several new blocks were added, such as "Stop sounds“ and ”Start sounds", these different categories can be separated. It can be used in a way similar to the variable block. There could be just a drop-down menu with a couple of choices for the tag, or maybe the coder can actually make their own tag (just like variable blocks). I think this could improve sounds in Scratch and just how much they can do to make it easier for coders to use and manipulate.

play sound [[tag] v]

stop all [tag] sounds