New Features
- Added
simulator.lua
with examples of callbacks that only occur when running in the Playdate Simulator - Added code for common "only run this at launch" pattern.
- Added support for linting your code with
luacheck
- Added extensive VSCode support -- works great with the lua language server extension
- Added Github Action to luacheck files
- Update README.md with new features
Known issues
With luacheck
, you can catch a lot of issues as you write your code. Unfortunately, luacheck
doesn't understand the additional assignment operators that the PlaydateSDK adds. The workaround for now is:
- Don't use those operators, OR
- Disable
luacheck
This is tracked with #8 , in case luacheck
can be configured to understand these additional operators.
Enjoy!
That's all for now. Have fun making games 🟨 🎣
--Chris