Jump mechanics for sidescrolling platformer games. There are several variables that can easily be modified for any atom, including:
Number of multi-jumps allowed.
Jump initial upward speed.
Freefall maximum velocity.
As shown in the included demo, these variables allow you to define how you want jumping to work in your game. You can even have one atom (such as an area of water) bestow special jumping attributes upon nearby mobs (e.g. swimming). You could also give special jumping attributes to certain characters, or make planets with differing gravity. Or, items could change jumping attributes, such as by increasing the number of multi-jumps allowed to double, triple, or any number of maximum multi-jumps; this is demonstrated in the demo.
v.1.1: There are now two ways to jump: Space bar or the Up key.
If you have any platformer feature suggestions, please leave a comment in this library's discussion forum.
Terms: If you use one or more of my libraries in your game, please credit me (as Woo or Tyruswoo) and leave a link back to one of the following: my website, my BYOND site, my YouTube channel, or the webpage of the library you used. Optionally, you could also give me a free subscription to your game, if you like!