/playdate-vscode-template

VS Code template with tasks for building and running in Playdate simulator.

Primary LanguageLuaThe UnlicenseUnlicense

⚠️ Do you need this?

There are now Playdate extensions available in the VS Code marketplace that might better suit your needs. I recommend trying those first and coming back to this if you need something not available through the extensions.


Playdate VS Code Template (Mac)

Build and run projects in the Playdate simulator with a key shortcut.

Requirements

Get Started

This is a template repo.
You can generate your own separate repositories from this template with the same directory structure, branches, and files. Click "Use this template" to create your own repo.

  1. Clone or download the repo.
  2. In VS Code, choose Run > Run Without Debugging to launch the project in the Playdate simulator.
  3. Assign a keyboard shortcut to the Run Without Debugging option to build and run with a keypress.

Output

Build files get output to bin/Output.pdx.
Change this by editing the playdate.output property in .vscode/settings.json.