Skip to content
Dimitri Sophinos edited this page Mar 27, 2024 · 7 revisions

Doctor's Notepad Documentation

Doctor's Notepad is currently in active development, and usage may change at any time.

For now, this assumes that you know the basics of Lua, and how to run it from the command prompt. Prebuilt versions may come at a later time.

Basic usage

Doctor's Notepad currently requires the use of LuaJIT. For Windows users, a pre-built binary can be found here.

The program can be run with the following command: luajit main.lua <project folder>

A project folder is a folder that contains an .rdlevel file named level.rdlevel, and all of the assets that it needs, and a lua script named level.lua. Example levels can be found in the repo.

level.lua is where all code for a level is written, by manipulating the level object that is passed in.

Extensions

All functions in Doctor's Notepad are divided into different extensions. Extensions are loaded in the config. If you wish to make your own extension, a template is provided.

Built in functions