Discuss Scratch

  • Discussion Forums
  • » Help with Scripts
  • » I am making a Flappy Dunk remake on scratch and I need a way to stop the player from floating up forever but has a hard press jump like Mario [RSS Feed]
bossofscratch12345
Scratcher
20 posts

I am making a Flappy Dunk remake on scratch and I need a way to stop the player from floating up forever but has a hard press jump like Mario

I would post my code here but it's quite big and would take me forever to type up.
If anyone has existing code like this it would be greatly appreciated if you could share it
CutieFoxies
Scratcher
24 posts

I am making a Flappy Dunk remake on scratch and I need a way to stop the player from floating up forever but has a hard press jump like Mario

hi there!!! I also have a code but…Its also quiet alot. There're many videos on Youtube. You should check them out
Kono_Muda_Da
Scratcher
100+ posts

I am making a Flappy Dunk remake on scratch and I need a way to stop the player from floating up forever but has a hard press jump like Mario

bossofscratch12345 wrote:

I would post my code here but it's quite big and would take me forever to type up.
If anyone has existing code like this it would be greatly appreciated if you could share it
Do you mean a certain amount of jumps the player can use or just 1 jump?
ztsereteli
Scratcher
91 posts

I am making a Flappy Dunk remake on scratch and I need a way to stop the player from floating up forever but has a hard press jump like Mario

If you mean you dont want the player to hold and it sends the input multiple times, do:

forever
if <<touching [ mouse pointer] ?> and <mouse down?>> then
wait until <not <mouse down?>>
Jump
end

Last edited by ztsereteli (March 8, 2022 04:24:35)

  • Discussion Forums
  • » Help with Scripts
  • » I am making a Flappy Dunk remake on scratch and I need a way to stop the player from floating up forever but has a hard press jump like Mario [RSS Feed]

Powered by DjangoBB