How to Make a Pause Button on Scratch!
Вставка
- Опубліковано 26 вер 2024
- Whether you have a big game or a small game, a pause function (pause button) is pretty important. Today, I'm going to show you how to make a pause button in Scratch!
Follow my scratch page:
Just an FYI, I'm not doing Scratch videos anymore
nooooo
sad :(
Aww
when you come back make sure to make your microphone better
its really useless but its only useful for your game 8.2/10
Why? There are so useful for noobs like me D:
This is the first one, except for the scratch teams one, that works!
I have one that works too!
Loved the tutorial.Super helpful
Things get more tricky when the animation is only supposed to be triggered once (a dialogue for example). What I did is to put an "If pause is true: wait until pause is false" in between every other visible or audible step of a script. That's the best way I could figure out. It works, but it is a lot of work for the programmer as well as for the computer. So if anybody has a better idea please let me (and everybody else) know.
So do you mean like in an animation video in scratch? Because I made one and I’m trying to make a pause button but all the tutorials show how to make one for games, so if you did it can you explain a bit more
thanks man helped alot with my zombie shooter
OMG I DID THE SAME THING
thanks dude super helpfull
this helped me a lot thanks!
Thx this helped SO much!
Dude words can not describe how happy I am
Very good, but there is a chrome extension that can make it for you. Anyway, I liked this tutorial! Keep it up! #coding
what is it?
scratch addons
Thank you for the content plz make more
Oh, that „wait until not key pressed“ thing is helpful for some other shit as well!
Thank you SIR (BRO)
Him: "Implement your pause system"
Me who just gave every sprite it's own impromptu pause system knowing I'm going to remove every script from the old pause system: *"Oh Neptune"*
Easy to follow an put into games great work!
thanks bro you are beautyfull
I followed the tutorial, and I can pause, but if u hold the button, it's just hell. Plz tell me how to fix this
instaded of useing the blockss form sencing ofthe key presses, use the blocks for control
Have you put in the "Wait until not key pressed" function after the variable? That works for me
@@deemanguy that way the guy holding the p button will have to keep holding down the p button, heres my desigh, see indie, then the pause sprtie scratch.mit.edu/projects/389188224/
@@richmail Okay so when you press the pause button, it says to stop the script, but when you hold it, it does it over and over again. This is because once you hold the pause button, it is a constant loop of pausing. This is why I like to do the "Wait until not key pressed" function because it restricts the spam. Otherwise, the game is pretty good.
@David Jung can you share your project with me please?
thank you
Ayy thanks dude this rlly helped
have you made a resume button too I need help in scratch
Do you mean when you unpause the game, or when you save a game and then come back to it?
@@deemanguy unpause
set pause to false
Hey,my name is Modestas and I wanna ask you a question if u have a lots of sprites in my game do I have to do the same codes as you do?Ur cool I,m giving you a sub
oh, if you have another forever inside your big forever loop, you have to set the pause script to it as well, or else it won't work!
You just prevented me from raging
you are a pro mamadisimo
that was awesome, thank you
either my game is too complicated or this is outdated. I tried doing with in my game, but it didnt work. then I tried doing "if pause=true then stop all scripts in this sprite" BUT IT STILL DIDNT WORK. someone please tell me a different way on how to do this.
less gooo
thank you for the help!!!! please make more videos
hey, i have a question: How to you stop clones from spawning if Pause is true? because even when its on true enemies keep spawning... 🤔
When you spawn the enemy put a if then inside the forever loop, and inside the if then put if pause = false then spawn enemy. Hope that helps I know it a bit confusing
@@amlow123 that's actually, what I did at the beginning, but it didn't Work... That's also why I'm so confused, cause I don't see any reason why it shouldn't work :/
@@ldm3856 umm I am making the pause button right now I will try to see how I can make it work
@@ldm3856 it works for me. Idk why it doesn’t work for you
@@amlow123 Thank you.
for some reason, it only pauses once then doesnt work
Thanks!!
Thanks man
What if I made a main menu screen
I have been looking for ways to make a Pause Button for My Shaggy Full Week FnF Scratch
Use scratch addons to add a pause button
I can't make it work though
thanks lol
im the 16000th viewer
hey my pause button is not working
dude your code is the same as mine but i used this to stop time
D
69 subscribers what is this
somehow this is 6 minutes