BooBuddies.lua

Download

Library for creating customizable Boo Buddy circles.

Includes graphics for SMW, SMB3 and SMB1 Boos.

Installation
Place the file booBuddies.lua and the folder booBuddies in either your level's custom graphics folder for use in a level, along with a lunadll.lua file, or in the same directory as your .wld file along with a lunaworld.lua file for use throughout an entire episode.

How to Use
To enable the booBuddies library for a specific level, add this line to lunadll.lua:

If you intend to use destructable SMB1-style Boos, copy the file effect-94.png from the folder booBuddies into your level folder. This replaces the SMB3 Boo death effect.

Example
This example creates Boo buddy circles in your level which are killable and allows you to spinjump onto them. Two circles are created, one of them using the default settings (Super Mario World), and the other using the settings from the Super Mario Maker preset.

When a specific event is triggered, this code will either instantly delete a Boo buddy circle, or kill it, showing the death effects of each Boo.

Fields
These are variables you can access

External Use Functions
These are functions you will need to use the library

Fields
The following fields can be both defined in booBuddies.create(args) and accessed via BooCircle.fieldName: