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.
Build and run projects in the Playdate simulator with a key shortcut.
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.
- Clone or download the repo.
- In VS Code, choose Run > Run Without Debugging to launch the project in the Playdate simulator.
- Assign a keyboard shortcut to the Run Without Debugging option to build and run with a keypress.
Build files get output to bin/Output.pdx
.
Change this by editing the playdate.output
property in .vscode/settings.json
.