https://github.com/lfalch/korome
A game engine in Rust (previously Java) using glium
https://github.com/lfalch/korome
Last synced: 11 months ago
JSON representation
A game engine in Rust (previously Java) using glium
- Host: GitHub
- URL: https://github.com/lfalch/korome
- Owner: LFalch
- License: apache-2.0
- Created: 2016-01-04T15:11:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-08T05:35:36.000Z (over 9 years ago)
- Last Synced: 2025-06-14T03:38:27.510Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 191 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# korome
[](https://travis-ci.org/LFalch/korome)
[](https://ci.appveyor.com/project/LFalch/korome)
[](https://crates.io/crates/korome)

[](https://docs.rs/korome)
A game engine in Rust (previously Java) using [glium](https://github.com/tomaka/glium)
To use korome, add this to your Cargo.toml:
```toml
[dependencies]
korome = "0.14"
```
Though right now, this crate is very unstable and breaks all the time.
## Documentation
[Read documentation](https://docs.rs/korome/) (it's lacking quite a bit at the crate level right now)
## Simple Example
```rust
#[macro_use]
extern crate korome;
use korome::*;
fn main() {
// Create a Graphics object, which creates a window with the given title and dimensions
let graphics = Graphics::new("Example!", 800, 600).unwrap();
// Load a texture, whose bytes have been loaded at compile-time
let texture = include_texture!(graphics, "assets/planet.png").unwrap();
// You can also parse other things than just a closure
// See the documentation for `run_until_closed` and the `Game` trait
run_until_closed(graphics, |_: &FrameInfo, drawer: &mut Drawer| {
drawer.clear(0.1, 0., 1.);
texture.drawer().draw(drawer);
})
}
```
For more examples look in the examples.