we just use a catch-all "Unimplemented" enum for the sdl2 event types we have not mapped / don't care about yet. this change is mainly just so that we don't need to use TryFrom anymore as this simplifies making our own SystemEvent iterator as well, it felt wrong to return an error (even if silently ignored) whenever an unmapped sdl2 event was raised (since that could happen fairly often) |
||
---|---|---|
examples | ||
libretrogd | ||
.gitignore | ||
Cargo.toml | ||
README.md |
libretrogd
Rust library / mini-framework for "retro-style" games development.
This is a not-so-serious project of mine for hobbyist game dev efforts of my own with some silly DOS-inspired limitations built in. The major one being that graphics are limited to 256 colours, like DOS VGA mode 13h, with a similar low-resolution.
See the /examples
directory for some demo apps. These will be added to over time.
This is FAR from finished and is not really what I'd consider "production-ready" ... and it probably won't be at any point in the near future.
This project is one I started working on to help teach myself Rust and to get more comfortable working with it. As such, there is almost certainly a lot of bad code in here!