achtaitaipai
Re:Odyc.js – A tiny JavaScript library for narrative games
on Saturday June 07, 2025 @02:29AM (#44207841)
PuzzleScript is super cool! I also really like crisp-game-lib, in the same family of tiny engines
Re:Odyc.js – A tiny JavaScript library for narrative games
on Saturday June 07, 2025 @02:24AM (#44207820)
Re:Odyc.js – A tiny JavaScript library for narrative games
on Saturday June 07, 2025 @02:23AM (#44207816)
Ohh thank you, I’d be thrilled! I’ll add an MIT-style license a bit later today.
What’s your native language? Right now it’s fairly easy to add translations to the site for left-to-right languages.
In any case, feel free to fork, send a pull request, or reach out if you'd like to help make it more accessible!
Re:Odyc.js – A tiny JavaScript library for narrative games
on Friday June 06, 2025 @05:50PM (#44205351)
I didn’t know about ZZT, but that makes a lot of sense now that I’ve looked into it. The format, simplicity, and screen-by-screen feel do seem closely related. Thanks for the reference. That museum is a great find!
Re:Odyc.js – A tiny JavaScript library for narrative games
on Friday June 06, 2025 @11:59AM (#44202161)
Love the idea! Wish I could’ve helped out sounds like the perfect use case :)
Hope it works out!
Re:Odyc.js – A tiny JavaScript library for narrative games
on Friday June 06, 2025 @11:55AM (#44202122)
await game.openDialog("Dude, you ran out of eggs!|Would you like to buy|an 80 pack of eggs?")
game.prompt( "Yes", "No")
Re:Odyc.js – A tiny JavaScript library for narrative games
on Friday June 06, 2025 @11:53AM (#44202091)
You're right, there are only two more "narrative" examples accessible via the French version of the site. I used the term because the turn-based structure and focus on messages, prompts, and dialogues felt suited to narrative or text-driven games, but maybe that’s not the best label. Happy to rethink it!
Re:Odyc.js – A tiny JavaScript library for narrative games
on Friday June 06, 2025 @11:43AM (#44201979)
Thanks! I put a lot of effort into the typing and getting the editor autocomplete to feel right. Happy to hear it shows :)