Category:LunaLua helper libraries

From Moondust 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 loadAPI and loadSharedAPI commands.
Here is an example of loading an API:

local levelTimer = loadAPI("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

Gameplay

Name Latest version Version packaged with LunaLua Author(s) Description
HealthPoint.lua 1.0.2 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 Not included Horikawa Otane Automatically loads character hitbox ini files if present.
cinematX.lua 0.8p (unstable) 0.0.7 Rockythechao, Hoeloe A framework for boss battles, cutscenes and other dynamic NPC interactions.
raocoin.lua 1.1 1.1 Hoeloe A currency system framework using dragon coins.
raocoin2.lua 2.0.10 2.0.8 Hoeloe An expanded and more flexible currency and shop framework.
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).
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.0.4 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.4 2.1.4g Hoeloe A library designed to aid custom collisions. Requires VectR.lua as of version 2.1.0.
leveltimer.lua 1.1.1.1 1.1.1.1 Luigifan2010 A simple API script used to provide a level timer. Warns at 100 time, kills both players on 0.
smb3goalcard.lua 1.0.1.1 1.0.1.1 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.
apc.lua 0.2.0 0.2.0 Sambo A small library that adds a couple of new block types to SMBX, as well as advanced collision detection for players.
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 Not included S1eth A library for creating circling boo buddies in the style of SMW or SMM

Graphics

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.
textblox.lua 0.2.4 Not included Rockythechao A library for displaying custom textboxes.
paralX.lua 1.4.1 1.1 Rockythechao A library for adding custom parallax background and foreground layers.
playerGfx.lua 2.0b 2.0b Rockythechao A library for overlaying or replacing Player graphics at runtime
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.0 Not included Spinda A library for creating sprite objects, complete with transformations and setting parents.

Misc

Name Latest version Version packaged with LunaLua Author(s) Description
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.
asmmod.lua 1.0 1.0 Kevsoft Assorted assembly functions.
metaluna.lua 1.0 Not included 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.0 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 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.

Deprecated

Name Latest version Version packaged with LunaLua Author(s) Description
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 bit 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.