Skip to content

PlaydateSquad/pdDialogue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon pdDialogue

a Playdate dialogue system

Alt text

Installation

Toybox Compatible

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 pdDialogue
toybox update

Then import your toyboxes in your source/main.lua file:

import "../toyboxes/toyboxes.lua"

Getting Started

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!