#ecs #module #gamedev #magma-app #game-engine-library

magma_app

Part of the Magma-API, which is the API of the Magma3D game engine

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 Dec 1, 2023

#917 in Game dev

Download history 37/week @ 2024-12-28 7/week @ 2025-02-15 4/week @ 2025-03-08 16/week @ 2025-03-15 139/week @ 2025-04-05

161 downloads per month
Used in 4 crates

MIT license

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 and run 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