Discuss Scratch

AceCrown30
Scratcher
11 posts

Collision script not working

I was making a platformer with some ball physics, and I came across this familiar problem I have never seen before. The problem is in a script where if you are not touching the grass, until touching the grass move down some.

The script:
(This image might not display)
or remix this project and find the jump and fall script in the ball sprite: https://scratch.mit.edu/projects/608170406/.


Last edited by AceCrown30 (Dec. 25, 2021 05:04:12)

ContourLines
Scratcher
500+ posts

Collision script not working

AceCrown30 wrote:

I was making a platformer with some ball physics, and I came across this familiar problem I have never seen before. The problem is in a script where if you are not touching the grass, until touching the grass move down some.

The script:
(This image might not display)
or remix this project and find the jump and fall script in the ball sprite: https://scratch.mit.edu/projects/608170406/.


What is the problem since everything seems to work fine to me?
AceCrown30
Scratcher
11 posts

Collision script not working

ContourLines wrote:

AceCrown30 wrote:

I was making a platformer with some ball physics, and I came across this familiar problem I have never seen before. The problem is in a script where if you are not touching the grass, until touching the grass move down some.

The script:
(This image might not display)
or remix this project and find the jump and fall script in the ball sprite: https://scratch.mit.edu/projects/608170406/.


What is the problem since everything seems to work fine to me?
It is that when you jump on the grass and get off the script stops working.
fath11
Scratcher
100+ posts

Collision script not working

All the scripts you need and you can remove other scripts that are not included in this picture



this is not perfect but I think it will do
cheesycasper
Scratcher
15 posts

Collision script not working

https://scratch.mit.edu/projects/621547679/editor
Check this out maybe it will move cleaner.

Powered by DjangoBB