Category:LunaLua helper libraries

From PGE Wiki
Jump to navigation Jump to search

Here you can find a list of all the custom APIs for LunaLua which were developed outside of the core LunaLua project. Custom APIs can be loaded with the API.load command (loadAPI and loadSharedAPI on versions older than v0.7.3).
Here is an example of loading an API:

local levelTimer = API.load("leveltimer")

This code loads the custom api "leveltimer.lua".
Here is a tutorial about how to create you own custom API: How To: Make your own custom API


Name Latest version Version packaged with LunaLua Author(s) Description
HealthPoint.lua 1.0.3 1.0.3 WasabiJellyfish Easily configurable enemy HP for otherwise instantly killed enemies (Damage can be managed on a per enemy and attack type basis)
characters.lua 1.1.2 1.1.2 Horikawa Otane Automatically loads character hitbox ini files if present.
multipoints.lua 3.0.11 3.0.11 Hoeloe A library that expands the functionality of midpoints. (v3.0 is not compatible with LunaLua v0.6 or below).
raocoin2.lua 2.0.10 2.0.10 Hoeloe An expanded and more flexible currency and shop framework.
npcconfig.lua 0.0.1a 0.0.1a Hoeloe ALPHA An expansion library that allows access to some of the NPC configuration data at runtime.
eventu.lua 1.1.0 1.1.0 Hoeloe An expansion library that manages events and timers.
pnpc.lua 1.0.1 1.0.2 Rednaxela A library which provides a convenient wrapper for NPC objects to allow them to be usable across ticks.
colliders.lua 2.1.6h (in SMBX 2 Beta 3) 2.1.4g Hoeloe A library designed to aid custom collisions. Requires VectR.lua as of version 2.1.0. Requires expandedDefines.lua (Only included in SMBX2) as of version 2.1.6.
smb3goalcard.lua XerX/XNBlank Adds the full functionality of the SMB3 Roulette Cards.
HUDofTime.lua 1.0.2 1.0.2 Hoeloe A Zelda-styled HUD, that includes functionality such as increasing the player's heart limit.
helpfulCheats.lua 0.1.0 0.1.0 Pyro Small library that adds a bunch of helpful cheats for testing, along with a few silly ones.
pipecannon.lua 0.1.0 0.1.0 arabsalmon A small library for pipe cannons.
SMWcamera.lua 1.3.2 1.3.2 arabsalmon A library that implements camera logic mimicking that of Super Mario World.
Megaluavania.lua 1.0.4 Not included Spinda A recreation of the battle system from the game Undertale.
booBuddies.lua 1.0.1 1.0.1 S1eth A library for creating circling boo buddies in the style of SMW or SMM
powerUDFreeze.lua v1 Not included P3rf3ctXZer0 All enemies stop moving to allow the player time to react when powering up or down.
lineguide.lua 1.0.0 Not included Sambo A library which adds fully-functioning SMW Line Guides to SMBX and allows users to attach any NPC to a line.
Nsmbwalls.lua 0.9.0 Not included Sambo A library which adds the "fake wall" effect from New Super Mario Bros Wii.
ModernStyledHud.lua Not included Love Bodhi A library that replaces SMW Styled Hud with a Modern Styled Hud.
cursor.lua 1.0 Not Included Yoshi021 A sequel to click.lua
LookOut.lua 1.0 Not Included Yoshi021 A small API that lets you look around the level by controlling the camera.
PipeCam.lua 1.0 Not Included Yoshi021 A small API that add a small animation to warp pipes.
ScrollCam.lua 1.0 Not Included Yoshi021 A small API that add a scroll effect to a level.


Name Latest version Version packaged with LunaLua Author(s) Description
imagic.lua 1.1.3 (in SMBX2 Beta 4) Not Included Hoeloe A library for drawing primitives and UI elements.
textblox.lua 0.4.7 (in SMBX2 Beta 4) Not Included Rockythechao A library for displaying custom textboxes. (If textplus.lua exists,this one will be deprecated)
animatx.lua 0.2.2 (in SMBX2 Beta 4) Not Included Rockythechao, Hoeloe A library for advanced, reusable spritesheet-based animation objects.
paralX.lua 1.4.4 (in SMBX2 Beta 4) 1.1 Rockythechao A library for adding custom parallax background and foreground layers. (If paralX2.lua exists,this one will be deprecated)
fade.lua 1.0 1.0 Kevsoft A simple library for colored fading and colored overlays.
sprite.lua 1.0 1.0 Kevsoft A high-level library for creating (animated) sprites with movement abilities.
particles.lua 1.2.6 1.2.5 Hoeloe A library for producing particle effects.
Smoovement.lua 1.1 1.1 Spinda A library for creating sprite objects, complete with transformations and setting parents.
bgofix.lua 1.0.1 1.0 Sambo A library that makes BGOs more customizable.


Name Latest version Version packaged with LunaLua Author(s) Description
console.lua 2.0 (in SMBX2 Beta 4) Not Included Rockythechao Adds a basic command console when playing the game from the editor, providing a visual interface for entering cheats and testing textblox formatting.
horikawaTools.lua 1.0.0 1.0.1 Horikawa Otane A bunch of random helper functions. Most notably it features easily useable arrays to determine hittable vs unhittable vs boss NPCs. As well as powerup arrays, etc.
metaluna.lua 1.0 1.0 Rockythechao Allows the tostring function to be used with RECT, RECTd and various SMBX classes, as well as tonumber to get the corresponding number from a Section object.
npcid.lua 1.1 1.1 Rockythechao Constant names for all SMBX NPCs.
musix.lua 1.0 1.0 Hoeloe A small library which simplifies the creation of music codes.
npcParse.lua 1.0 1.0 Rockythechao A library for specifying extra properties for an NPC via the in-editor message text and external JSON files.
encrypt.dll 1.0.1 1.0.1 Hoeloe A closed-source library which allows encrypted saving and loading from files. (NOTE: Codes saved with 1.0.0 are NOT compatible with 1.0.1)
inputs2.lua 1.0 1.1 Rockythechao, HenryRichard A modified version of inputs.lua that supports both players.
vectR.lua 1.0 1.0a Hoeloe A library for vector and matrix mathematics, supporting 2,3 and 4 dimensional vectors.
rng.lua 1.0.1 1.0.2 Hoeloe An improved random number generator, without the flaws of math.random.
deathTracker.lua 1.0 1.0 Enjl Keeps track of the player's deaths in a level.
horikawaTools.lua 1.0 1.0.1 Horikawa Otane Provides various miscellaneous functions.
debug.lua 1.2.1 1.2.1 PixelPest Allows for simple, dynamic debugging of simple values and tables.
depends.lua 1.0 Not Included Kevsoft A small utility API, which resolves API dependency chains.


Name Latest version Version packaged with LunaLua Author(s) Description
graphX.lua 0.3a (unstable) 0.0.2 Hoeloe, Rockythechao An offshoot of colliders.lua made for drawing primitives. [DEPRECATED - v0.6] Use imagic.lua (SMBX2-Only API) instead.
triggers.lua 1.0 1.0 Hoeloe A system for triggering LUA code via SMBX events. [DEPRECATED - v0.6] Use onEvent event instead.
LevelData.lua 1.0.1 1.0.1 Hoeloe A small library which wraps up UserData values, allowing for level-specific variables more easily. [DEPRECATED - v0.6] Use Data class instead.
bitwise.lua 1.0.1 1.0.1 Hoeloe A library which provides functionality for bitwise operators. [DEPRECATED - v0.7] Use luajit BitOP library instead. (Note: Currently still required for encrypt.dll)
inputs.lua 1.3 1.1 Rockythechao A basic library designed to simplify overriding input. [DEPRECATED] Use inputs2.lua instead.
asmmod.lua 1.0 1.0 Kevsoft Assorted assembly functions. [DEPRECATED - v0.6.1] Use SMBX Fields instead.
raocoin.lua 1.1 1.1 Hoeloe A currency system framework using dragon coins. [DEPRECATED] Use raocoin2.lua instead.
cinematX.lua 0.8p (unstable) 0.0.7 Rockythechao, Hoeloe A framework for boss battles, cutscenes and other dynamic NPC interactions. [DEPRECATED - v0.6]
leveltimer.lua Luigifan2010 A simple API script used to provide a level timer. Warns at 100 time, kills both players on 0. [DEPRECATED] Use clock.lua instead. (Note: Currently still required for ModernStyledHud.lua)
smb3overhaul.lua 1.0.2 1.0.2 XerX/XNBlank A library that replaces original SMW Hud with SMB3 Styled Hud. [DEPRECATED - v0.7.3]
playerGfx.lua 2.0b 2.0b Rockythechao A library for overlaying or replacing Player graphics at runtime [DEPRECATED - v0.7.3] Use Graphics.sprites.playername[*].img (playername=mario/luigi/peach/toad/link) instead.
click.lua 1.1 1.1 Yoshi021 A small library for the cursor.