This documentation assumes you're familiar with the following:
Install the following dependencies:
- Latest Playdate SDK
- Lua 5.3+
- NOTE: Playbit runs Lua via
luaat the command line. Depending on your platform and installation method, you may need to rename the binary e.g. renamelua54.exetolua.exe.
- NOTE: Playbit runs Lua via
- Love2D 11.x
Add love.exe and lua.exe to your PATH variable
- Windows instructions
- Check your installation with
where loveandwhere luain a Command Prompt.
- Check your installation with
- macOS and Linux instructions
- Check your installation with
which loveandwhich luafrom the command line.
- Check your installation with
The following are not required for general use of Playbit, but required if you use the related features:
- Aseprite for .ASEPRITE export during build-time. For more information, see Aseprite file processor.
- FFmpeg for automatic conversion of audio to the Playdate supported format at build-time. For more information, see Wave file processor.
- Add the
PLAYDATE_SDK_PATHto your environment variables. For more information, see Panic's documentation on how to set the Playdate SDK variable. - Add Lua to your
Pathenvironment variable. - Add Love2d to your
Pathenvironment variable.
If you're using any optional dependencies you'll also need to add them to your Path environment variable, unless you specify the path to the executable when setting up file processors.