Freefalling.lua - More Aerial Movement!
Posted: Mon Mar 27, 2023 5:53 am
----- Freefalling.lua v1.0 -----
It's a thing that was cooking up for a while now, but now I finally got around to release freefalling.lua!
Great for setpieces, hub levels and extreme verticality in general!
While you fall slower on default, hold down to dive down faster!! You can even break through blocks if you are fast enough!
You can also perform a fancy spin manouver by pressing run/altRun which gives you a little bit more time to dodge, speeds you up when diving and even defends you from enemies!
Start freefalling by touching an (invisble) freefall starter and stop by landing or touching an (invisible) freefall canceller.
Use Target Zones and Warning Zones to indicate where you should aim for and what you should avoid!
It also comes with a nice little npc, the Soarhatter (id:789)! Acts just like a springhatter but when you use it's spring, you start freefalling!
Here you can see some fancy freefalling!
Editor options:
Can be performed with all (vanilla) characters, though the current spritesheet only has graphics for Mario, Luigi and Toad in the SMW style.
This library uses customCamera.lua by MDA. If you don't want customCamera support (for... some reason), rename the raw version of freefalling.lua into freefalling.lua and do whatever you think is right with the objectively better version.
Do the same for the Target and Warning Areas.
The tileset used in the level was made by UnderFlo.
Be cool and credit me if you use this library, thanks in advance!
How to use:
Copy freefalling.lua and the files for block-800 to block-803 into your episode/level folder. Enter freefalling = require("freefalling") in your luna.lua file and place down a freefalling starter. If you touch it now, you'll start freefalling!
(blocks 802 and 803 as well as npc-789 are optional, but a cool thing to have)
Interested? Here's the download!
https://www.dropbox.com/sh/xuzjmwh7hf1g ... UKp8a?dl=0
It's a thing that was cooking up for a while now, but now I finally got around to release freefalling.lua!
Great for setpieces, hub levels and extreme verticality in general!
While you fall slower on default, hold down to dive down faster!! You can even break through blocks if you are fast enough!
You can also perform a fancy spin manouver by pressing run/altRun which gives you a little bit more time to dodge, speeds you up when diving and even defends you from enemies!
Start freefalling by touching an (invisble) freefall starter and stop by landing or touching an (invisible) freefall canceller.
Use Target Zones and Warning Zones to indicate where you should aim for and what you should avoid!
It also comes with a nice little npc, the Soarhatter (id:789)! Acts just like a springhatter but when you use it's spring, you start freefalling!
Here you can see some fancy freefalling!
Spoiler: show
Spoiler: show
This library uses customCamera.lua by MDA. If you don't want customCamera support (for... some reason), rename the raw version of freefalling.lua into freefalling.lua and do whatever you think is right with the objectively better version.
Do the same for the Target and Warning Areas.
The tileset used in the level was made by UnderFlo.
Be cool and credit me if you use this library, thanks in advance!
How to use:
Copy freefalling.lua and the files for block-800 to block-803 into your episode/level folder. Enter freefalling = require("freefalling") in your luna.lua file and place down a freefalling starter. If you touch it now, you'll start freefalling!
(blocks 802 and 803 as well as npc-789 are optional, but a cool thing to have)
Interested? Here's the download!
https://www.dropbox.com/sh/xuzjmwh7hf1g ... UKp8a?dl=0