Discord
Login
Community
DARK THEME

How do you right a jumping code, including gravity?

I have checked many other posts about this, but it just doesn't make sense to me, the code that was shared on the other posts are really hard for me to understand; me being new to coding makes this harder.

physics theory in coding

https://www.youtube.com/watch?v=hG9SzQxaCm8

in MicroScript

https://microstudio.dev/i/gilles/ballgravitybounces/

https://microstudio.dev/explore/ find "gravity"

the simplest example jump

https://microstudio.io/i/Loginus/jump/

Thanks, Loginus.

Can you also help me with map collisions?

@BillyCoy i'm new here too, and i was seeing other posts and projects and this is a hard topic but have an other way, you can use the QuickEngine library, i'm using it and is really easy https://microstudio.dev/i/giles/quickengine/

https://microstudio.dev/i/TwiceUponATime/tilemapcollision/

https://microstudio.dev/i/Loginus/dicasdalora/

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community