Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help lol
- Deekshan2012t1
-
54 posts
Help lol
I was trying to make a game where yo u have a background but when you lose a life it goes red and when game over, dark grey. But I want an really fast but gradual transition from the red background to the dark grey background. Here is what I have so far:
Please reply as soon as you can, thank you!
end
Please reply as soon as you can, thank you!
- EggDOG_MyNAME--Jeff
-
100+ posts
Help lol
You could use the block
Or the
block. Basically use these scripts:
You may have to look at the wiki to see the color values and adjust the scripts accordingly.
- EggDOG_MyNAME--Jeff
-
100+ posts
Help lol
Also, I meant wait until lives equals 2
Repeat this for wait until lives equals 1, then for 0, don't make the color change back to normal.
Repeat this for wait until lives equals 1, then for 0, don't make the color change back to normal.
- Deekshan2012t1
-
54 posts
Help lol
I was thinking colour effect but how do I get the background from purple to red to grey?
- EggDOG_MyNAME--Jeff
-
100+ posts
Help lol
Use the color effect values on the scratch wiki page https://en.scratch-wiki.info/wiki/Graphic_Effect
- Deekshan2012t1
-
54 posts
Help lol
Saw the whole thing carefully and clearly but couldn't find what it would be.
- RT_Borg
-
1000+ posts
Help lol
Hi Deekshan2012t1,
My Backdrop Crossfade tool might help. It does a nice smooth transition between images in the Backdrops sprite (which is placed on the back layer).
To use it, backpack the Backdrops sprite into your project and follow the instructions to change the costumes from what I used, and how to set a variable and broadcast when you want to crossfade backdrops. (The CROSSFADE-SMOOTHNESS variable set when green flag clicked in the Backdrops sprite controls how fast the transition is.
Tool: Backdrop Crossfade
https://scratch.mit.edu/projects/721211525/
Happy to answer any questions,
– RT_Borg
My Backdrop Crossfade tool might help. It does a nice smooth transition between images in the Backdrops sprite (which is placed on the back layer).
To use it, backpack the Backdrops sprite into your project and follow the instructions to change the costumes from what I used, and how to set a variable and broadcast when you want to crossfade backdrops. (The CROSSFADE-SMOOTHNESS variable set when green flag clicked in the Backdrops sprite controls how fast the transition is.
Tool: Backdrop Crossfade
https://scratch.mit.edu/projects/721211525/
Happy to answer any questions,
– RT_Borg
Last edited by RT_Borg (Sept. 4, 2022 19:04:52)
- zomboss1_1
-
500+ posts
Help lol
If all else fails, just make a bunch of backdrops that are gradually changing color till it gets to where you want it to go (very time consuming tho) I was trying to make a game where yo u have a background but when you lose a life it goes red and when game over, dark grey. But I want an really fast but gradual transition from the red background to the dark grey background. Here is what I have so far:end
Please reply as soon as you can, thank you!
- Deekshan2012t1
-
54 posts
Help lol
Hi Deekshan2012t1,
My Backdrop Crossfade tool might help. It does a nice smooth transition between images in the Backdrops sprite (which is placed on the back layer).
To use it, backpack the Backdrops sprite into your project and follow the instructions to change the costumes from what I used, and how to set a variable and broadcast when you want to crossfade backdrops. (The CROSSFADE-SMOOTHNESS variable set when green flag clicked in the Backdrops sprite controls how fast the transition is.
Tool: Backdrop Crossfade
https://scratch.mit.edu/projects/721211525/
Happy to answer any questions,
– RT_Borg
Useful! Thank you so much!
Last edited by Deekshan2012t1 (May 4, 2023 18:38:06)
- Discussion Forums
- » Help with Scripts
-
» Help lol