Crates.io | nova-r8 |
lib.rs | nova-r8 |
version | 0.2.0 |
source | src |
created_at | 2024-01-01 23:25:18.418307 |
updated_at | 2024-01-19 20:56:32.237433 |
description | This library comprises Rust bindings for the Nova r8 game engine. |
homepage | |
repository | https://git.sr.ht/~klahr/nova-r8-rust |
max_upload_size | |
id | 1085609 |
size | 46,294 |
This library comprises Rust bindings for the Nova r8 game engine.
Create a new project named my-game
.
$ cargo new my-game
$ cd my-game
$ cargo add nova-r8
Add the following content to the src/main.rs
file to instantiate a blank window.
use nova_r8::*;
fn main() {
let g = Game::new();
while g.run() {
}
}
$ cargo build
$ ./target/debug/my-game
Refer to the Nova r8 project for comprehensive references.
nova_r8::Game
nova_r8::Actor
nova_r8::Vec2
We enthusiastically encourage and welcome contributions.