Discuss Scratch

em593042
Scratcher
2 posts

How do Slideshow

How do I make a simple slideshow? (Using the spacebar)
PGBear73
Scratcher
100+ posts

How do Slideshow

when [space v] key pressed
broadcast [nextSlide v]

when I receive [nextSlide v]
...
You can use one sprite with costumes, different backdrops, or just a whole bunch of slides.


It doesn't matter whether you're lion or gazelle; you're still running for your life.
Theo_1er
Scratcher
500+ posts

How do Slideshow

Or
when [space v] key pressed
next backdrop

when backdrop switches to [ v] //for sprites
show

Quand le risque est ridicule, la récompense est ridicule.
jdmdigital
Scratcher
100+ posts

How do Slideshow

Theo_1er wrote:

Or
when [space v] key pressed
next backdrop

when backdrop switches to [ v] //for sprites
show

Instead of space bar UI, it could be on a timer var loop
Sikecon
Scratcher
1000+ posts

How do Slideshow

jdmdigital wrote:

Theo_1er wrote:

Or
when [space v] key pressed
next backdrop

when backdrop switches to [ v] //for sprites
show

Instead of space bar UI, it could be on a timer var loop

Why would you need a timer var loop?
The user stated that he/she will need to make slideshows function using the spacebar.

Last edited by Sikecon (April 18, 2021 01:14:51)



hi i love Fnf like very much
growing artist
jdmdigital
Scratcher
100+ posts

How do Slideshow

Sikecon wrote:

jdmdigital wrote:

Theo_1er wrote:

Or
when [space v] key pressed
next backdrop

when backdrop switches to [ v] //for sprites
show

Instead of space bar UI, it could be on a timer var loop

Why would you need a timer var loop?
The user stated that he/she will need to make slideshows function using the spacebar.


Was thinking the space bar would start, pause, stop the show but slides could advance with time lapse until stopped by UI
PcUserPro
Scratcher
500+ posts

How do Slideshow

em593042 wrote:

How do I make a simple slideshow? (Using the spacebar)
when [space v] key pressed
next backdrop
(Slides - backdrops)
TheWarhawk2005
Scratcher
100+ posts

How do Slideshow

This seems to be pretty well answered already. Like mostly everyone has said, it's quite simple to do.

Create each slide as a new backdrop.
Use these blocks:
when green flag clicked
switch backdrop to [backdrop1 v]

when [space v] key pressed
broadcast [Next Slide v]

when I receive [Next Slide v]
next costume

If you're looking for something fancy for the actual slide transition, shoot me a note; I have a transition “API” that you could use.


If I helped you at all, please consider following me and checking out my projects!
VioletCalico
Scratcher
1000+ posts

How do Slideshow

Maybe use this?

when green flag clicked
switch backdrop to [The starting backdrop you want]

when [space] key pressed
next backdrop

Powered by DjangoBB