Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help for a Slideshow Game
- kittybonebest
-
Scratcher
18 posts
Help for a Slideshow Game
How do I make it so that a picture shows up then text goes across the screen slowly? then when I click it, the picture changes and also another text box shows up so (repeating)
- deck26
-
Scratcher
1000+ posts
Help for a Slideshow Game
Try not to bump so quickly please. Someone will usually pick up your topic or you can bump after a day or so.
You can either have the picture as a sprite or a backdrop. For the backdrop you'd just switch to the one you want. For the sprite, make each picture a different costume and get the sprite to show. For the text you may be best making that another sprite (or a group of sprites) and just use the normal movement blocks to get it to go across the screen. You probably want the text to go to the front.
So, assuming pressing space to move to the next backdrop and that for each backdrop name you've created a broadcast received script under that name.
You can either have the picture as a sprite or a backdrop. For the backdrop you'd just switch to the one you want. For the sprite, make each picture a different costume and get the sprite to show. For the text you may be best making that another sprite (or a group of sprites) and just use the normal movement blocks to get it to go across the screen. You probably want the text to go to the front.
So, assuming pressing space to move to the next backdrop and that for each backdrop name you've created a broadcast received script under that name.
when [space v] key pressed // I'd make this a stage script
next backdrop
broadcast (backdrop name)
when I receive [picture1 v] //this is for the text sprite
switch costume to [picture1-text v]
go to x: (240) y: (0)
show
repeat (800)
wait (0.2) secs
move (5) steps
end
hide
Last edited by deck26 (Feb. 20, 2015 20:49:21)
- purplebook163
-
Scratcher
500+ posts
Help for a Slideshow Game
How do I make it so that a picture shows up then text goes across the screen slowly? then when I click it, the picture changes and also another text box shows up so (repeating)
Try not to bump so quickly please. Someone will usually pick up your topic or you can bump after a day or so.
You can either have the picture as a sprite or a backdrop. For the backdrop you'd just switch to the one you want. For the sprite, make each picture a different costume and get the sprite to show. For the text you may be best making that another sprite (or a group of sprites) and just use the normal movement blocks to get it to go across the screen. You probably want the text to go to the front.
So, assuming pressing space to move to the next backdrop and that for each backdrop name you've created a broadcast received script under that name.when [space v] key pressed // I'd make this a stage script
next backdrop
broadcast (backdrop name)
when I receive [picture1 v] //this is for the text sprite
switch costume to [picture1-text v]
go to x: (240) y: (0)
show
repeat (800)
wait (0.2) secs
move (5) steps
end
hide
Have you figured it out? If not, I can try to help.
- kittybonebest
-
Scratcher
18 posts
Help for a Slideshow Game
I don't get the part where you have to click something or press something to make it go to the next picture
Last edited by kittybonebest (Feb. 20, 2015 21:18:35)
- purplebook163
-
Scratcher
500+ posts
Help for a Slideshow Game
I don't get it still, How do I make Each picture have text on it? and then when I press space or click it will change it to another Picture then it will loop?You are trying to add text to a picture, like Photoshop, right? Yes, it will loop. You can prevent it from doing so though.
- kittybonebest
-
Scratcher
18 posts
Help for a Slideshow Game
I got the part on how to add text to it I just don't know how to press something to make a different picture come up
- purplebook163
-
Scratcher
500+ posts
Help for a Slideshow Game
I got the part on how to add text to it I just don't know how to press something to make a different picture come up
Are you using sprites or backdrops?
- purplebook163
-
Scratcher
500+ posts
Help for a Slideshow Game
going to use spritesI'll make an example.
- purplebook163
-
Scratcher
500+ posts
Help for a Slideshow Game
k tell me when you're doneWell, my dadjust told me to take a break from the computer, And I can't make projects. Will soon though!
- Discussion Forums
- » Help with Scripts
-
» Help for a Slideshow Game