Hello again, this is a collection of my previously released scripts for SMBX2.
Oh, and future scripts will be added to this pack as well.
Enjoy!
splishSplash.lua
A small library that adds some new effects for splashing.
Quicksand support is included, and NPC support is included too. It is also multiplayer compatible.
You can customize the effects and the sounds, and there are options to disable NPC and quicksand splashes.
To use the library, simply put this code into your luna.lua file:
Code: Select all
local splishSplash = require("splishSplash")
smm2Physics.lua
A small standalone library that contains the physics tweaks from Cpt. Mono's SMM2 costumes.
To use the library, simply put this code into your luna.lua file:
Code: Select all
local smm2Physics = require("smm2Physics")
autoscrollDX.lua
A fork of the basegame autoscroll.lua, that fixes incompatibilities with widescreen and smallscreen.
It also changes onLoop (which is outdated) to onTick.
To use the library, simply put this code into your luna.lua file:
Code: Select all
local autoscroll = require("autoscrollDX")
replace the line that loads the module with this line.
Now, just use the module like you would with the basegame autoscroll.
Dynamic retroResolution.lua
A fork of PlumberGraduate's retroResolution.lua.
This adds automatic widescreen and smallscreen support to the script. You no longer need to go into the code and manually change the screen size.
When using this, give credit to PlumberGraduate as well!
stunParticles.lua
A small library that adds a new effect for when the player is stunned, just like in the SMM games.
To use the library, simply put this code into your luna.lua file:
Code: Select all
local stunParticles = require("stunParticles")
Download