Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make my sprite stop bouncing?
- AgentStrawberry_
-
Scratcher
8 posts
How to make my sprite stop bouncing?
I have a platformer with jumping/gravity mechanics. I added something so if you are ever touching green it will move you up 5 pixels until you aren't touching green. I did this so that it doesn't look weird if I fall and go decently deep into the green. How ever, since I have my gravity, it takes me down, and then my other script goes up. Then down. And up. It basically looks like it's bouncing. Is there any way to fix this?
Project link: here
Project link: here
- mstone326
-
Scratcher
1000+ posts
How to make my sprite stop bouncing?
Put your change y by 1 script in a custom block and run it without screen refresh. That will keep him on top without seeing him rise up after falling.
- enalecks
-
Scratcher
15 posts
How to make my sprite stop bouncing?
I have a platformer with jumping/gravity mechanics. I added something so if you are ever touching green it will move you up 5 pixels until you aren't touching green. I did this so that it doesn't look weird if I fall and go decently deep into the green. How ever, since I have my gravity, it takes me down, and then my other script goes up. Then down. And up. It basically looks like it's bouncing. Is there any way to fix this?
Project link: here
when using the ‘make block’ section, you need to make the “Run without screen refresh” true (make it have a check mark).
- Shad0wHawk
-
New Scratcher
2 posts
How to make my sprite stop bouncing?
I have the same problem. Can someone help?
- Shad0wHawk
-
New Scratcher
2 posts
How to make my sprite stop bouncing?
How do we make change y by 1 in a custom block?I have a platformer with jumping/gravity mechanics. I added something so if you are ever touching green it will move you up 5 pixels until you aren't touching green. I did this so that it doesn't look weird if I fall and go decently deep into the green. How ever, since I have my gravity, it takes me down, and then my other script goes up. Then down. And up. It basically looks like it's bouncing. Is there any way to fix this?
Project link: here
when using the ‘make block’ section, you need to make the “Run without screen refresh” true (make it have a check mark).
- Discussion Forums
- » Help with Scripts
-
» How to make my sprite stop bouncing?


