Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How does the "next backdrop" block work?
- theotheelectroflute
-
42 posts
How does the "next backdrop" block work?
So, I'm trying to make a platformer. Some of my script for the avatar is:
The script for the backdrop is:
It works, but why do I need two next backdrop blocks (the one for the avatar and the one for the backdrop)?
And if I take away one of the next backdrop blocks it goes from the first backdrop to the third backdrop to the second backdrop.
Please help,
theotheelectroflute
The script for the backdrop is:
It works, but why do I need two next backdrop blocks (the one for the avatar and the one for the backdrop)?
And if I take away one of the next backdrop blocks it goes from the first backdrop to the third backdrop to the second backdrop.
Please help,
theotheelectroflute
Last edited by theotheelectroflute (Jan. 21, 2021 20:59:57)
- deck26
-
1000+ posts
How does the "next backdrop" block work?
You shouldn't need both and if the variable is true your forever loop is going to switch backdrops very quickly, non-stop. Best if you share the project so we can see what you're doing. So, I'm trying to make a playformer. Some of my script for the avatar is:
The script for the backdrop is:
It works, but why do I need two next backdrop blocks (the one for the avatar and the one for the backdrop)?
And if I take away one of the next backdrop blocks it goes from the first backdrop to the third backdrop to the second backdrop.
Please help,
theotheelectroflute
- theotheelectroflute
-
42 posts
How does the "next backdrop" block work?
You shouldn't need both and if the variable is true your forever loop is going to switch backdrops very quickly, non-stop. Best if you share the project so we can see what you're doing. So, I'm trying to make a playformer. Some of my script for the avatar is:
The script for the backdrop is:
It works, but why do I need two next backdrop blocks (the one for the avatar and the one for the backdrop)?
And if I take away one of the next backdrop blocks it goes from the first backdrop to the third backdrop to the second backdrop.
Please help,
theotheelectroflute
https://scratch.mit.edu/projects/475329304/
- theotheelectroflute
-
42 posts
How does the "next backdrop" block work?
Have you tried:
Thank you! It works!
- lordibel
-
1000+ posts
How does the "next backdrop" block work?
The next backdrop block just switches to the next backdrop; just like how the next costume block switches to the next costume :)
- FerrariBeatles127
-
1 post
How does the "next backdrop" block work?
This changes the backdrop to the next backdrop in the backdrop tab once.
- Discussion Forums
- » Help with Scripts
-
» How does the "next backdrop" block work?