2 releases
0.0.0 | Sep 13, 2020 |
---|---|
0.0.0-prototype.1 | Sep 19, 2020 |
#6 in #quill
14KB
150 lines
A prototype API for quill
, Feather's plugin API.
Concepts
- Feather is based on [the ECS architecture], an alternative to classic object-oriented game architecture which is generally more flexible and slightly more performant.
- Feather plugins compile to WebAssembly and are run in a sandboxed environment.
Getting started
Install cargo-quill
, a command line tool to help build
and test Feather plugins:
cargo install cargo-quill
To start on a new plugin, run cargo quill init myplugin
.
cargo-quill
creates a new directory called myplugin
and
fills it with a starter template.
Let's take a look at the directory structure:
myplugin
├── Cargo.toml
└── src
└── main.rs
Dependencies
~0.6–1.1MB
~24K SLoC