Adventure Game Studio

AGS Support => Modules, Plugins & Tools => Topic started by: deadsuperhero on Mon 03/07/2023 08:59:00

Title: MODULE: Promptly v0.10! Create old-school interactive fiction with a parser!
Post by: deadsuperhero on Mon 03/07/2023 08:59:00
This project started off as many do: someone in a chatroom asking a question about how to do something. Someone asked about how to make text scroll in AGS for a parser game, and something about the question got me thinking about how I might do it.

(https://codeberg.org/deadsuperhero/Promptly/raw/branch/main/example.gif)

Four days later, I've managed to hack together a working prototype of the module, dusted it off, and named it Promptly.
Promptly can do a couple of unique things, and it's all based on hacks on top of hacks. This text parser can:


There are still a few things I'd like to do with this (https://codeberg.org/deadsuperhero/Promptly/issues), such as theme customization / palette swap support for 8-bit projects. Some of the code is a bit messy and requires clean-up, but I'm really happy with what I've managed to accomplish so far. Big shout out to CrimsonWizard for helping me figure out how to split up strings from the parser!

> SOURCE CODE (https://codeberg.org/deadsuperhero/Promptly)
> DOCUMENTATION (https://codeberg.org/deadsuperhero/Promptly/wiki/Special-Functions)
Title: Re: MODULE: Promptly v0.10! Create old-school interactive fiction with a parser!
Post by: Joseph DiPerla on Wed 05/07/2023 04:26:46
Nice!!! Can't wait to see what else you come up with in this module.