#engine #galgame #game-engine #game

ayaka-plugin-wasmtime

A plugin runtime for Ayaka, based on Wasmtime

2 unstable releases

0.3.0 Dec 19, 2023
0.2.0 Mar 18, 2023

#2433 in Game dev


Used in ayaka-runtime

MIT license

14KB
243 lines

Ayaka

Ayaka was initially a project for OSPP 2022.

For Simplified Chinese version README, see 简体中文

About the name

The frontend is Ayaka. The runtime is Ayaka. The script is Ayaka. Just Ayaka.

What we've done

  • A cross-platform visual noval (VN) runtime with rust
  • A well-defined and easy-to-author VN config file format, based on YAML.
  • An embedded custom script.
  • CLDR-based i18n support.
  • A flexible plugin system based on WebAssembly. It provides hooks of the runtime and interop functionalities with the script.
  • A decoupled framework - the frontend, backend and plugins are decoupled.
  • A CLI frontend to check grammar errors and debug quickly.
  • A GUI frontend powered by Tauri and Vue, with Live2D support.
  • A prototype LaTeX frontend to generate PDF from the config.

Docs

Ayaka Book

API docs

Screenshot

Orga

License

This project is licensed under the MIT license.


lib.rs:

Wasmtime-based plugin backend.

Dependencies

~17–30MB
~434K SLoC