a Playdate dialogue system
To install, copy the pdDialogue.lua
file into your project and import it with import "path/to/pdDialogue"
. Alternatively, you can use toybox.py:
toybox add https://github.com/PizzaFuel/pdDialogue
toybox update
If you don't need any styles, it's very easy to get started. The library comes with some defaults to get working out of the box:
import "CoreLibs/object"
import "CoreLibs/graphics"
import "pdDialogue"
pdDialogue.say("Hello, World!")
function playdate.update()
pdDialogue.update()
end
The Examples folder has more code samples for styles or sprite usage, and you can check out the wiki for more in-depth documentation :)
Example image assets are from Kenney's 1-Bit Pack and the demo fonts are included in the Playdate SDK!