Crates.io | kit |
lib.rs | kit |
version | 0.0.2 |
source | src |
created_at | 2020-07-18 19:52:45.972358 |
updated_at | 2020-07-20 05:22:17.610744 |
description | An small game engine for 3D games. |
homepage | https://github.com/weshardee/kit |
repository | https://github.com/weshardee/kit |
max_upload_size | |
id | 266661 |
size | 87,702 |
** WARNING: VERY EARLY WIP **
Kit is a very raw 3D game engine. I made it to learn game engine coding, and someday I'd like it to be a reasonable foundation for game jam projects.
Kit will support 2D as well as 3D, but if you're looking for a 2D focused engine, I recommend checking out ggez instead, as that seems really solid and is way further along in development.
Missing features abound. Use at your own risk (I wouldn't even describe this as usable at this point). Things that I'm currently planning to add:
use kit::*;
const TITLE: &str = "My Amazing Game";
struct App {
// game state can go here
}
impl KApp for App {
fn new() -> Self {
Self {}
}
fn init(&mut self, ctx: &mut Ctx) {
// initialization logic goes here
}
fn frame(&mut self, ctx: &mut Ctx) {
let state = &mut self.state;
// update logic goes here
}
}
fn main() {
run::<App>(KAppDesc {
window_title: TITLE.to_string(),
..Default::default()
});
}