For a narrative game project I'm looking into using ink and Narrator a LUA parser for ink.
Problem is, while I know that Playdate LUA SDK replaced "require" with "import" I can't manage to find how to properly import this module. In Narrator, I managed to find and replace all occurrences of "require", but I have no idea on how to replace "LPeg" being used for parsing files.
I found LuLPeg, a fully LUA based implementation of it, but it ends up being the same nightmare, with me having no success on "converting" it.
Any pointer of a Playdate implementation of Ink? Or an implementation of LPeg that could work for Playdate?
@neven might be able to help you. In his game The Barkless Doctrine, if memory serves, he stores the story as a JSON file exported from a Lua table and uses Narrator to read that story back into the runtime.
Barkless does have a limited Ink parser and engine! It's not something that we're prepared to release to the public at this time however. I file a note to myself to look into what it would take to package it.