Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Need help with shaking the screen.
- Johannes08
- Scratcher
69 posts
Need help with shaking the screen.
I watched a tutorial and i tried making a shake effect. And after the cat shakes, it starts gliding for some reason.
Link: https://scratch.mit.edu/projects/281008291/
Link: https://scratch.mit.edu/projects/281008291/
- deck26
- Scratcher
1000+ posts
Need help with shaking the screen.
Hard to comment without seeing the tutorial but if the custom block ends with non-zero x and y shake values then the forever loop will make the sprite move as if gliding.
- Johannes08
- Scratcher
69 posts
Need help with shaking the screen.
I don't know if your allowed to link to websites like youtube but it's a shake tutorial by “Scratch tutorials” Called “Scratch Tutorial | How to do SCREEN / CAMERA shake without it messing up your game!”
- deck26
- Scratcher
1000+ posts
Need help with shaking the screen.
Is this on the Scratch website? If so can you provide a link to it? I don't know if your allowed to link to websites like youtube but it's a shake tutorial by “Scratch tutorials” Called “Scratch Tutorial | How to do SCREEN / CAMERA shake without it messing up your game!”
- Johannes08
- Scratcher
69 posts
Need help with shaking the screen.
I'm not sure what you mean but if you're asking if the tutorial is on the scratch website then no. It's on YouTube by the YouTuber “Scratch tutorials”
- deck26
- Scratcher
1000+ posts
Need help with shaking the screen.
So this is the link https://www.youtube.com/watch?v=btFiVz0kVAA
You're now setting the x and y variables to 0 which stops the movement. So is there still a problem?
You could try commenting in YouTube and asking the person who created the tutorial.
You're now setting the x and y variables to 0 which stops the movement. So is there still a problem?
You could try commenting in YouTube and asking the person who created the tutorial.
- Johannes08
- Scratcher
69 posts
Need help with shaking the screen.
It's a old tutoial, ill try waiting a day and if he doesn't respond by then, he probably didn't see it/wont see it.
- Johannes08
- Scratcher
69 posts
Need help with shaking the screen.
Sorry for posting 2 messages, i forgot to say this in the last one. Yes its stopping, but Its not going back to its original position Which it does in example: https://www.youtube.com/watch?v=h22XEybm5-8
- deck26
- Scratcher
1000+ posts
Need help with shaking the screen.
Unless the position is fixed and you can hard code the values into the block you'll need to store the old position so you can go back to it. One option would be to add the old position to the custom block parameters.
- Discussion Forums
- » Help with Scripts
- » Need help with shaking the screen.