Discuss Scratch

brodyh2012
Scratcher
1 post

Jumping/Gravity for platformers

i cant figure out how to add gravity to my platformers, no matter how many tutorials that i watch. can somebody help me with this?
WhyteTIGER
Scratcher
16 posts

Jumping/Gravity for platformers

There is nothing too complex with gravity! All you have to do is:
change [playerspeedY] by (-1)
if <touching ground> then
set [playerspeedY] to [0]
end
change y by (playerspeedY)

Hey there!
I've been active on scratch for almost 5 years on different accounts. I enjoy creating, coding and sharing good quality projects and helping others with their code
My top 3 best projects:
1. HYPERCAR RACING
2. CUBLOX
3. FLAPPY BIRD - Mobile Friendly Remake
Aftons_fan913
Scratcher
24 posts

Jumping/Gravity for platformers

Do something likee this maybe:
<img src=“blob:chrome-untrusted/media-app/f40f79ee-5568-4921-bd54-cba2d7c2839b” alt=“Screenshot 2024-05-10 15.23.13.png”/>
Aftons_fan913
Scratcher
24 posts

Jumping/Gravity for platformers

Or just see elias_the_dank's code, Crysos' code, or find help from Ghxstify or Koamodo they're all pretty good at it and they can help you w/ it.
Dagriffpatchfan
Scratcher
88 posts

Jumping/Gravity for platformers

Griffpatch first platform video has some great physics if you have access to YouTube

I am Griffpatch's biggest fan, please check out my projects

Super Mario Bros 4

An awesome studio I help run
WafflesYouTubeMC
Scratcher
100+ posts

Jumping/Gravity for platformers

Try remixing this: https://scratch.mit.edu/projects/952937269/

define When you see this message
Subscribe to YouTube.com/@Waffles-MC
forever
Watch ((Fire Videos) * (100))
end




define Watch (input)

Youtube.com/@Waffles-MC

Powered by DjangoBB