Baldi Level Editor – 💡 $\textcolor{#ff004d}{L}\textcolor{#ff8a00}{i}\textcolor{#ffd300}{g}\textcolor{#00e436}{h}\textcolor{#29adff}{t}\textcolor{#7a00ff}{s}\textcolor{#ff77a8}{!}$ 💡
Source for BB+ Editor Lights v0.8.x. Not actively maintained for a while, but PRs will get love when necessary.
-
Legacy Level Editor (0.11x)
Required. If you’re asking why, you probably haven’t opened the editor yet. -
MTM101 API
The core API this plugs into (primarily released on GameBanana). -
Level Loading System for BB+
Lets the editor add/remove objects without issue. -
BepInEx
The plugin framework. You need this or nothing loads.
-
$\textcolor{#ff004d}{Plugin.cs}$ - source
Bootstraps everything: loads sprites, builds editor prefabs, wires aliases. The front door operation essentially. -
$\textcolor{#ff8a00}{FixLighting.cs}$ - source
Smacks the lighting system on load so playmode isn’t pitch black. -
$\textcolor{#ffd300}{ColoredLight.cs}$ - source
The actual placeable light source. You drop it, it. Simple.
-
$\textcolor{#29adff}{ColorLookup.cs}$ - source
Fresh approach to parsing base + custom colors (HTML hex friendly). -
$\textcolor{#7a00ff}{Init.cs}$ - source
Registers objects into the editor’s categories. If you’re adding tools, you’re looking for this. -
$\textcolor{#ff77a8}{objtool.cs}$ (by bigthinker) - source
Tiny helper that injects tools defined inInit.cs.
Issues and PRs welcome! Please don’t abuse or over-use this source code.
Like, I don’t care if you add 999 hard-coded colors in your fork, but I probably won’t accept them if pushed to the main branch!