Pages: 1
Topic closed
Hi Anyone:
I want to make a geography slideshow of the places in Antarctica and have the names of different places mark the correct location. Each time I click the next button, I want a new name to appear and the old names to stay.
I tried to make background #1 with one place name. Then I copy that background, make a background #2 and add the second name. However, the text tool doesn't create a second text box so I can't make a second, different place name.
I tried to make the different place names as different sprites but I couldn't figure out how to have one background with a next button to make new sprites come out.
Does anyone know a project that already did this that I can learn from? Or any suggestions? Sorry if my questions seem really basic.
Thank you!
Offline
Make all of the text seperate sprites. Then, create a list titled "Placenames" or something. Write in as many different items as you have placename sprites. Then create this script on the next button:
<when green flag clicked>
<Add (first broadcast) to "placenames">
<Add (second broadcast) to "placenames"
etc...
<when[ next ]clicked>
<broadcast[ item 1 of "Placenames"
[delete[ item 1 of "Placenames"
Then on each of the text sprites:
<when green flag clicked>
<hide>
<when I receive[ (one of the items in the list)]>
<show>
TIP: if you want the placenames to come in a certain order, make sure the first one to appear has the first item as the broadcast. To make them disappear, add an extra item to the list, then have:
<when I receive[ (last item of list)]>
<hide>
I hope that this helps
Offline
One way that I deal with the "only one text string" per sprite problem, is to make the first costume with the text on it. Then, I right click on the screen and use the "grab area of the screen to make a new sprite" feature. So I make a new sprite with the text built into the costume, steal the costume for my original sprite and throw away the new one. Then, I place more text on the costume and keep building new sprites with new text built into them.
I hope that wasn't too unclear...
Offline
Paddle2See wrote:
One way that I deal with the "only one text string" per sprite problem, is to make the first costume with the text on it. Then, I right click on the screen and use the "grab area of the screen to make a new sprite" feature. So I make a new sprite with the text built into the costume, steal the costume for my original sprite and throw away the new one. Then, I place more text on the costume and keep building new sprites with new text built into them.
I hope that wasn't too unclear...
Well I got lost after the "So I make a new sprite with the text..." section.
Offline
BWOG wrote:
Paddle2See wrote:
One way that I deal with the "only one text string" per sprite problem, is to make the first costume with the text on it. Then, I right click on the screen and use the "grab area of the screen to make a new sprite" feature. So I make a new sprite with the text built into the costume, steal the costume for my original sprite and throw away the new one. Then, I place more text on the costume and keep building new sprites with new text built into them.
I hope that wasn't too unclear...Well I got lost after the "So I make a new sprite with the text..." section.
Right-click on the screen area, where you can select that feature. Drag the area you want to use for a costume/background.
Offline
What I did in most of my slideshows is I inserted a bunch of different pictures off Google Images or pictures from my computer into Scratch as backgrounds, then typed the name of the picture up top. There are a few ways you can cycle through the slideshows. You can 1. Say when space key pressed, switch to next background. 2. You can put it on a time thing, like every (#) seconds, switch to next background. 3. You can put in a menu where you say press x key to go to this background, y key to go to this background, and so on.
These are the projects I was referencing in those methods, in the order the methods were listed.
http://scratch.mit.edu/projects/gettysburg11/306835
http://scratch.mit.edu/projects/gettysburg11/545641
http://scratch.mit.edu/projects/gettysburg11/767800
Happy Scratching!
Offline
Topic closed
Pages: 1