Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make lists talk...?
- davidvaz1
- Scratcher
100+ posts
How to make lists talk...?
Hello fellow Scratchers. Is there a way to make lists talk? (Okay, I know this sounds silly, but it can be dead useful in a few projects of mine.)
If there is, please tell me.
If not, feel free to mention an alternative
Thanks!
when green flag clickedThe above is just an example…
if <key [space] pressed?> then
make list (my list :: list) say [Hello! My name is 'My List'!]
else
make list (my list :: list) say [Good Bye!]
end
Last edited by davidvaz1 (Sept. 20, 2021 09:26:39)
Check out this project! https://scratch.mit.edu/projects/553144251/
when green flag clicked :: #FFBF00
forever :: #FFA500
NoQuat Anti-Kumquat <RUN :: operators> :: #0A00FF// This is my new anti-kumquat (like anti-virus), for protection against evil kumquats!
end
- Wei-ern_520
- Scratcher
500+ posts
How to make lists talk...?
This?
say (item (thing) of [list v] :: list) for (2) secs
Please consider checking out my suggestion ->here<-.
Hello, I’m Wei-ern_520, and I will randomly appear in your room! Just kidding, I make rpg engines.
I have no custom pfp, not because I don't know how to make one. I just don't know what suits me best, and I'm just too lazy and prefer sticking to simplicity. Or at least so. I also have the need to trip people with my profile picture. Just wait till it happens.
Fun fact: you don't clean your mess, you move it somewhere else. (Source: somewhere)
Also: Ooh, look at the cheese!
- davidvaz1
- Scratcher
100+ posts
How to make lists talk...?
This?say (item (thing) of [list v] :: list) for (2) secs
Sound nice, but a list should say it.
For example:
Activity:
List “my list” said “hello”
The sprite should not say it
Check out this project! https://scratch.mit.edu/projects/553144251/
when green flag clicked :: #FFBF00
forever :: #FFA500
NoQuat Anti-Kumquat <RUN :: operators> :: #0A00FF// This is my new anti-kumquat (like anti-virus), for protection against evil kumquats!
end
- Wei-ern_520
- Scratcher
500+ posts
How to make lists talk...?
Why? Also how would it say it? Shouldn’t this go to suggestions then?This?say (item (thing) of [list v] :: list) for (2) secs
Sound nice, but a list should say it.
For example:
Activity:
List “my list” said “hello”
The sprite should not say it
Please consider checking out my suggestion ->here<-.
Hello, I’m Wei-ern_520, and I will randomly appear in your room! Just kidding, I make rpg engines.
I have no custom pfp, not because I don't know how to make one. I just don't know what suits me best, and I'm just too lazy and prefer sticking to simplicity. Or at least so. I also have the need to trip people with my profile picture. Just wait till it happens.
Fun fact: you don't clean your mess, you move it somewhere else. (Source: somewhere)
Also: Ooh, look at the cheese!
- davidvaz1
- Scratcher
100+ posts
How to make lists talk...?
Why? Also how would it say it? Shouldn’t this go to suggestions then?This?say (item (thing) of [list v] :: list) for (2) secs
Sound nice, but a list should say it.
For example:
Activity:
List “my list” said “hello”
The sprite should not say it
Yes, maybe
Well, I'm closing this thread, forwarding to suggestions.
Check out this project! https://scratch.mit.edu/projects/553144251/
when green flag clicked :: #FFBF00
forever :: #FFA500
NoQuat Anti-Kumquat <RUN :: operators> :: #0A00FF// This is my new anti-kumquat (like anti-virus), for protection against evil kumquats!
end
- Wei-ern_520
- Scratcher
500+ posts
How to make lists talk...?
Or you can just report for it to be moved. -shnip-.
Last edited by Wei-ern_520 (Sept. 20, 2021 09:32:03)
Please consider checking out my suggestion ->here<-.
Hello, I’m Wei-ern_520, and I will randomly appear in your room! Just kidding, I make rpg engines.
I have no custom pfp, not because I don't know how to make one. I just don't know what suits me best, and I'm just too lazy and prefer sticking to simplicity. Or at least so. I also have the need to trip people with my profile picture. Just wait till it happens.
Fun fact: you don't clean your mess, you move it somewhere else. (Source: somewhere)
Also: Ooh, look at the cheese!
- deck26
- Scratcher
1000+ posts
How to make lists talk...?
But the question ‘why’ is still important. Create a ghosted sprite that sits in the same area as the list if you want the speech bubble to appear to come from the list.
- calster1800
- Scratcher
20 posts
How to make lists talk...?
uh…
You can draw a speech bubble, then write down what you want to say inside, place it on top of the list, and show when you want it to say something. Then to stop saying what the list is supposed to say, you can make a code where the speech bubble will hide after a certain number of seconds. Also, I dont recommend hand drawing the speech bubble, you can use scratch tools like fill etc.
Hope this helped
You can draw a speech bubble, then write down what you want to say inside, place it on top of the list, and show when you want it to say something. Then to stop saying what the list is supposed to say, you can make a code where the speech bubble will hide after a certain number of seconds. Also, I dont recommend hand drawing the speech bubble, you can use scratch tools like fill etc.
Hope this helped
when green flag clicked
say [Hi! I'm calster.] for (2) secs
- davidvaz1
- Scratcher
100+ posts
How to make lists talk...?
uh…
You can draw a speech bubble, then write down what you want to say inside, place it on top of the list, and show when you want it to say something. Then to stop saying what the list is supposed to say, you can make a code where the speech bubble will hide after a certain number of seconds. Also, I dont recommend hand drawing the speech bubble, you can use scratch tools like fill etc.
Hope this helped
Thanks @calster1800
Will try!
I have put this into suggestions part, this thread is no longer active. But, I couldnt shut it yesterday. Will accept this one.
Check out this project! https://scratch.mit.edu/projects/553144251/
when green flag clicked :: #FFBF00
forever :: #FFA500
NoQuat Anti-Kumquat <RUN :: operators> :: #0A00FF// This is my new anti-kumquat (like anti-virus), for protection against evil kumquats!
end
- Discussion Forums
- » Help with Scripts
- » How to make lists talk...?