Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how to make collison detection And a smooth jump system?
- 90999988
-
Scratcher
51 posts
how to make collison detection And a smooth jump system?
1. So i am making a platformer game with no experience and tutorial help(Its a challenge).
And i cant figure out how to make collision detection.
2. I dont know how to create smooth jump system all i know is how to make a jump system that is a bit bad.
could you guys help me make those in the same script? (or two separate ones)
And i cant figure out how to make collision detection.
2. I dont know how to create smooth jump system all i know is how to make a jump system that is a bit bad.
could you guys help me make those in the same script? (or two separate ones)
- --CHA0S--
-
Scratcher
100+ posts
how to make collison detection And a smooth jump system?
for the jump
the collisions I'm not so good at
forever
if <touching [ground v] ?> then
set [yvelo v] to [0]
if <key [up arrow v] pressed?> then
set [yvelo v] to [15]
end
end
change y by (yvelo)
change [yvelo v] by (-1)
end
the collisions I'm not so good at
Last edited by --CHA0S-- (March 4, 2024 13:49:00)
- CatClawz_
-
Scratcher
500+ posts
how to make collison detection And a smooth jump system?
Replace maze with the script that you use for the the thing you want to colide with, and you dont need the hide block. You might have to edit this a little if youre not doing a birdseye veiw


- 90999988
-
Scratcher
51 posts
how to make collison detection And a smooth jump system?
@CatClawz_ Just know that i have already got a movement system.
Last edited by 90999988 (March 4, 2024 14:25:05)
- 90999988
-
Scratcher
51 posts
how to make collison detection And a smooth jump system?
@–CHA0S–
it doesn't work when u hold the keybind
it doesn't work when u hold the keybind
Last edited by 90999988 (March 4, 2024 14:30:51)
- Discussion Forums
- » Help with Scripts
-
» how to make collison detection And a smooth jump system?


