swift-playdate-examples
swift-playdate-examples copied to clipboard
An Embedded Swift game running on Playdate by Panic
This is an experiment using non-embedded Swift to be able to fully debug. I've repurposed the SPM packages to build exclusively for the simulator, which now creates a dylib called...
The current toolchain (org.swift.59202403131a) throws an error in Game.swift:1:1: error: Access level on imports require '-enable-experimental-feature AccessLevelOnImport' so this has to be added to the package definition.
I have tested this on my fork. You can check it [here](https://github.com/Kyle-Ye/swift-playdate-examples/pull/1)
Saves a vital 15 bytes
Adopt a prototype of the proposed fixed-size `Vector` type. Not ready for merge as this is still an experimental feature. Currently results in a slight binary size increase.