8 releases
Uses new Rust 2024
new 0.2.0-alpha | Apr 11, 2025 |
---|---|
0.1.0-beta | Apr 10, 2025 |
0.1.0-alpha.5 | Dec 18, 2023 |
0.0.0 |
|
#917 in Game dev
161 downloads per month
Used in 4 crates
9KB
169 lines
This crate provides basic functionality for creating and running an [App
].
A Module
trait is also provided for implementing additional functionality.
magma_app
This crate expands the capabilities of magma_ecs and forms the base of the magma_api.
Features
- An app struct, which wraps a
magma_ecs::World
and adds more functionality. - Adding custom modules (not rust modules) to an app.
- An
update
andrun
method with the ability to specify a custom runner.
Usage
This crate can be used standalone, but it is recommended to use it as part of the magma_api.
Add this to your Cargo.toml
:
[dependencies]
magma_app = "0.1.0-beta"
Disclaimer
This is not production ready.
Dependencies
~1–6MB
~35K SLoC