Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make a trampoline
- Filliles
-
4 posts
How to make a trampoline
I am trying to make a trampoline for my platformer
- Thor_Ham
-
11 posts
How to make a trampoline
when [ up] key pressed
if <touching [ trampoline] ?> then
change y by (normal jump+5)
else
change y by (normal jump)
end
- Zero0111
-
100+ posts
How to make a trampoline
I am trying to make a trampoline for my platformer
when green flag clickedI used touching color because it makes it so you only jump higher when it's touching the top of the trampoline not like the side. But you can use touching (sprite) block as well.
forever
if <touching color [color] ?> then
set [Y Velocity v] to [20]
broadcast [Touching v]
end
end
Last edited by Zero0111 (Jan. 23, 2022 21:06:54)
- Filliles
-
4 posts
How to make a trampoline
thank you
(
But can you do one for an animated one
(
is there one for animated ones)I am trying to make a trampoline for my platformerwhen green flag clickedI used touching color because it makes it so you only jump higher when it's touching the top of the trampoline not like the side. But you can use touching (sprite) block as well.
forever
if <touching color [color] ?> then
set [Y Velocity v] to [20]
broadcast [Touching v]
end
end
But can you do one for an animated one
- Zero0111
-
100+ posts
How to make a trampoline
If you wanted the trampoline to be animated it's hard to make with scratchblocks in forums so here you can check this out and click “see inside” Trampoline
- Discussion Forums
- » Help with Scripts
-
» How to make a trampoline