Skip to content

Comment on Loreline – Tools for writing interactive fictionparent

Comments

And you can also bind custom functions to the language too, to play sounds, animations etc. Here's an example from the docs:

sarah: What's this green diamond? Wait, let me touch it... james: Nooo don't touch it!

playExplosion()

james: Sarah? Sarah!!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.