Skip to content
anotak edited this page Aug 30, 2019 · 11 revisions

Welcome to the Doom Builder X wiki!

Lua Plugin API

Lua scripts are written in the Lua 5.2 language. so you may be interested in the lua-users wiki or the lua reference manual. technically, since the plugin is implemented with MoonSharp, there may be some minor differences from standard Lua 5.2.

classes:

Data - texture-related stuff mainly

Linedef

Line2D - for dealing with just line segments, the geometric shape, not the linedefs on the map

Map

MapFormat - retrieving stuff like map format limits

Pen - for drawing new linedefs/sectors/vertices on the map, using all the fancy geometry merging/stitching stuff doom builder provides.

Sector

Sidedef

Thing

UI - for logging, for example

Vector2D

Vector3D

Vertex

Clone this wiki locally