Category:LunaLua API

'Note: This page is slightly deprecated. Read at your own risk.'

This is the main page for LunaLua Resources.

If you want to get into LunaLua then check out the first tutorial, Pyro's Video Tutorial or the example list.

LunaLua API is split several parts:


 * Hardcoded API
 * Global functions (level & overworld)
 * Global Sound and Music functions (since v0.6)
 * SMBX Fields/Values (Defines.*) (since v0.6.1)
 * Events (level & overworld)
 * Classes (level)
 * Classes (overworld)
 * Constants


 * Helper libraries written in lua
 * Global API functions (since v0.3)
 * List of helper libraries & custom libraries


 * Tutorials
 * Beginner
 * How To: LunaLua basics
 * How To: Simple filters
 * How To: Autocode to LunaLua
 * Advanced
 * How To: Music and sounds
 * How To: NPCs and loops
 * How To: Custom NPC behaviour
 * How To: Overwrite or lock player input
 * How To: Using the data class
 * How To: Lua named arguments
 * Expert
 * How To: Make your own custom API
 * Examples
 * List of LunaLua examples


 * Pyro's Video Tutorials (Deprecated)
 * Part 1: The Basics
 * Part 2: Memory, Debugging and the Player
 * Part 3: For Loops & Basic NPC Codes
 * Part 4: Loading, Using and Making Basic APIs
 * Part 5: The Data Class


 * Tutorials in other languages: 
 * Spanish
 * Complete LunaDll/LunaLua Tutorial: LunaLua Manual (PDF) [ Mirror ]


 * Additional Features
 * LunaDll Hotkeys


 * Help and Support
 * FAQ Lua Errors
 * Wohlsoft Lua Subforum
 * SMBX Lua Thread
 * Talkhaus Lua Thread


 * Misc
 * SMBX Memory Map
 * Lua Files
 * How To: Looping music files