Skip to content

Latest commit

 

History

History
42 lines (21 loc) · 2.05 KB

readme.md

File metadata and controls

42 lines (21 loc) · 2.05 KB

Playdate SDK integration for ZeroBrane Studio

This project aims to allow ZeroBrane Studio to support the Playdate SDK and API.

Current API version: 2.5.0

Features

  • Run on simulator and on hardware with a single button press
  • Basic autocomplete support, based on playdate-types

Installation and Usage

playdate-zerobrane can be installed by copying the api and interpreters folders to your ZeroBrane Studio install directory. Be sure to exit out of ZeroBrane Studio if it is running.

For the purpose of compiling and running your code, the PLAYDATE_SDK_PATH environment variable must be set, as described in Inside Playdate.

Once installed, Playdate can be selected as an option for a project's Lua interpreter.

Take care to ensure that your project path is the Source folder, and not the folder containing it! sourcedir

To run your program on the simulator, use the Run option from within ZeroBrane, by default mapped to F6.

To run your program on a real Playdate, first connect your system to your computer via USB, and ensure that it is unlocked (not on the clock screen). Then, use the Start Debugging option, by default mapped to F5.

runs

License

This project makes use of code from the following projects:

playdate-types by Benjamin Dumke-von der Ehe

inspect.lua by Enrique García Cota (MIT License)

All other code is under the MIT License. Please see the LICENSE file for more information.

The Playdate SDK and Playdate platform are solely the properties of Panic. If Panic wishes for me to stop distibution of this project, I will do so.