Nova extension to support the Cotton framework
Cotton provides integration with Cotton - a framework for Pulp-like experiences in Lua for Playdate game development. Originally created for use with VS code, this extension will allow you to use its features with Panic's wonderful Nova IDE!
Cotton requires some additional tools to be installed on your Mac:
-
Download and install the tools linked in the requirements section above.
-
Download the 'zip' file with the the latest version of Cotton.
-
Extract it in the project folder of your choosing and rename it to the name of your project
-
Right click on the project folder and select "Open in Nova"
-
Make sure the Cotton extension has been installed and active in Nova under
Extensions
->Extension Libary
-
In Nova, go to the project settings and add the task "Playdate - Cotton" ( This will allow you to automatically run & build your playdate game with
cmd+r
) -
You are now ready to work on your project!
Go to Extensions
->Cotton
->Documentation: Cotton Wiki
to read about how to get started editing the code to make the game your own.
To run your game in Cotton:
- simply press
cmd+r
or press the green arrow next to your project name to build & run the Playdate .pdx file in the simulator