Skip to content

A data-oriented game engine written in Rust with a custom ECS 🦀

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

matthewjberger/nightshade

nightshade

github crates.io docs.rs

Nightshade is a data-oriented game engine written in rust 🦀

View the gallery here 🔎

image

Getting Started

The fastest way to get started is with the nightshade-template.

Quickstart

# native
just run

# wasm (webgpu)
just run-wasm

# serve site
cd site && just serve

All chromium-based browsers like Brave, Vivaldi, Chrome, etc support WebGPU. Firefox also supports WebGPU now starting with version 141. Run just with no arguments to list all commands

Prerequisites

  • just
  • trunk (for web builds)
  • git-cliff (for changelog generation)
  • gh (GitHub CLI, for creating releases)

Platform Guides

Native (Windows/macOS/Linux)

Build and run natively using cargo:

just run [project]  # defaults to nightshade-editor
just build          # release build

WebAssembly (WASM)

Build for web browsers with WebGPU support:

just run-wasm [project]   # defaults to editor
just build-wasm [project]

Steam Deck

See STEAM_DECK.md for deployment instructions.

Contributing

Nightshade is currently in its early stages of development. The project is not accepting external contributions at this time as the architecture and core systems are still being established. Once the engine reaches a more mature and stable state, I will open up contributions and provide contributor guidelines.

License

Nightshade is free, open source and permissively licensed! All code in this repository is dual-licensed under either:

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in nightshade by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

A data-oriented game engine written in Rust with a custom ECS 🦀

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Contributing

Stars

Watchers

Forks

Sponsor this project