Home
Softono
Librian

Librian

Open source MPL-2.0 Python
790
Stars
41
Forks
4
Issues
7
Watchers
5 years
Last Commit

About Librian

Librian is a concise and powerful Galgame and Visual Novel engine. Written in Python and JavaScript and built on the CEFPython frontend, it enables rapid and efficient development of ADV (adventure) style games. Users only need to provide asset files and simple scripts to produce a working Galgame. The engine is script-oriented, allowing developers to write game scripts in a Markdown-like syntax called Liber. Scripts define backgrounds, characters, expressions, and dialogue without requiring additional markup or code. Key features include lightweight and fast prototyping, user-friendly design, and high extensibility. Developers can customize effects, visual styles, and even add networking capabilities. The project also offers a Liber parser tool, available via pip, useful for those building their own engines or related tools. Librian supports both Windows and Linux platforms. It can be installed either by downloading a packaged release or via pip for Python 3.6 and 3.7. Full Chinese documentation is available

Platforms

Web Self-hosted

Languages

Python

Librian: 簡明強大的 Galgame | Visual Novel 引擎

Librian2.jpg

——來像 Markdown 一樣寫 Galgame 劇本吧!

Librian 是容易上手的 Galgame 引擎,Librian 由 Python 和 JavaScript 編寫而成,基於 CEFPython 前端。

Librian 適用於快速高效的 ADV 實現,能將你的奇思妙想迅速轉換爲成果——你只需提供素材文件和简单的劇本就能做出 Galgame!

Librian 是面向劇本的引擎,賣點是:

  • 輕快便捷的原型開發。
  • 用戶友好。
  • 高度可擴展性。

一分鐘的演示視頻

視頻佔位

劇本格式

> BG 中庭.jpg
+ [舟舟, 潘大爺]
中庭。潘大爺在散步。
舟舟 (微笑)「啊!校長!終於找到你了!」
潘大爺 「舟舟!來得正是時候!」
潘大爺 (微笑)「來看看我新發明的催眠調教裝置!」
舟舟 (驚)「真有這種發明!?」

不需要任何其他標記或代碼,一小段劇本就完成了。

準備好立繪和背景後,運行 Librian 主程序並啓動工程——演出是這樣的效果。
圖1

中文文檔

如果你想瞭解詳細的使用方法,可以直接閱讀 Librian 的中文文檔——https://doc.librian.net

你可以輕鬆定製你的遊戲,包括特效、畫面樣式、甚至聯網,快來探索吧!

快速上手

  • 直接下載打包的 release 版本 (推薦)

  • 或者使用 pip install librian 來安裝 librian。

    • 這需要本地 Python 爲 3.6 或 3.7 版本
    • 它不太穩定,所以最好先更新一下 pip 和 setuptools,要是裝不上我也沒辦法……

Liber 分析器

Liber 分析器是 Librian 用來分析劇本語言 Liber 的工具。
如果你想要開發自己的 Galgame 引擎或者做一些很酷的事情,它會有所助益。

它的倉庫在 https://github.com/librian-center/liber-language

你可以直接用 pip install liber 來安裝它。

贊助

如果你覺得 Librian 對你的工作或學習有幫助,歡迎給作者介紹一些可愛的女朋友。

最好是蘿莉,要那種會坐在腿上蹭蹭,喊「歐尼醬」的。