Discuss Scratch

CatvsSquirrel
Scratcher
3 posts

Read Along to Learn a New Language! (UNFINISHED)

I've been trying to make this project so that the people who use it can choose between the three mostly used(?) languages: Chinese, English, and Spanish (takes too much time to do the rest) and they can read along with the audio (the text to speech option) and learn new languages while reading a story I have made, but the way I've done it doesn't seem to work, and the buttons appear when they are supposed to be hiding, and I don't know how to fix it. Basically, the problem is that when I click a language, the Chapters buttons are supposed to come out (blue for english, green for spanish, and pink for chinese) but I have only made the English button when I noticed the problem, the Chapters buttons for English appears even when I press Chinese or Spanish.
Link to project: (this is not finished yet AT ALL and I'm only up to the chapters part of the menu so they can select a chapter to listen if they have already used it before, but I will share it for the sake of this ) https://scratch.mit.edu/projects/990621368/
RokCoder
Scratcher
1000+ posts

Read Along to Learn a New Language! (UNFINISHED)

All of your buttons are checking for -
<mouse down?>
Rather than -
<<mouse down?> and <touching [mouse-pointer v]?>>

Also, I have no idea why you have “repeat (10)” blocks around nearly everything!


Scratch dabbling for fun…

CatvsSquirrel
Scratcher
3 posts

Read Along to Learn a New Language! (UNFINISHED)

I have repeat 10 blocks (lol) because my friend IRL said that it would help(?). And yes, all of my buttons have the {mouse down?} button.
RokCoder
Scratcher
1000+ posts

Read Along to Learn a New Language! (UNFINISHED)

CatvsSquirrel wrote:

I have repeat 10 blocks (lol) because my friend IRL said that it would help(?). And yes, all of my buttons have the {mouse down?} button.
They don't help - you should remove all of that repeat 10 loops

I know you have mouse down checks but that means when you press the mouse button all of the if statements are true. You need to replace them as I suggested in the previous post.


Scratch dabbling for fun…

CatvsSquirrel
Scratcher
3 posts

Read Along to Learn a New Language! (UNFINISHED)

It worked! Thank you!

Powered by DjangoBB