← 返回日报
略读 预计 1 分钟

Loreline – Tools for writing interactive fiction

摘要

页面介绍 Loreline 是用于编写互动小说、视频游戏对话和分支叙事的工具与开源语言,并提供配套的 Loreline Writer 应用。其语言支持复杂分支结构、状态管理和函数扩展,适用于更复杂的叙事逻辑。工具强调可移植性,可集成到游戏引擎、Web 应用或独立项目中,并提供多语言/多环境支持(如 JavaScript、TypeScript、C#、Godot、Java、C++、Python、Lua、Haxe 等)。同时内建本地化支持,兼容 PO 与 XLIFF 等标准格式。页面还提供文档、Playground 在线试用、VS Code 使用说明、Ink/Yarn 兼容说明,以及 GitHub 仓库与下载入口。

荐读理由

Loreline 语言内置 branching、state 与函数脚本,能直接迁移到 AI 对话产品或分支叙事项目;内置本地化支持 PO/XLIFF,帮中文小圈子快速适配海外翻译

原文






Loreline

Tools for writing interactive fiction, video game dialogues and branching narratives.


Write your stories with the open‑source Loreline language using the free Loreline Writer app.


Easy to write, ready for advanced use cases

Loreline makes writing your story and dialogue easy. And for the most complex stories, the language has everything you need built in: advanced branching, state, functions.

Use it almost anywhere

Integrate it into game engines, web apps, or standalone projects. It adapts to your tools, and the stories you write stay portable.

Built for localization

Translation is built in from the start, with support for standard localization formats like PO and XLIFF, so translators can work with the tools they already know.

Discover Loreline


Download →

Install Loreline Writer to write your interactive stories.

Documentation →

Guides and references for the Loreline scripting language.

Playground →

Quick in-browser demo to try Loreline without installing anything.

GitHub →

Language source code, issues, and contributions. MIT licensed.

Hacker News · 146 赞 · 18 评 讨论 → 阅读原文 →

这条对你有帮助吗?