Gered
a5c8af67ad
when reading palette files/streams, we set up the colour entries using helper functions that automatically set an alpha component of 255. however, we were first initializing the palette with 0 (alpha component of 0 too). this meant that if a palette of less than 256 colours was loaded, the remaining entries (since Palette is always sized for 256 colours), were black (0,0,0) with alpha components of 0. this change makes all palette entries have a consistent alpha value (which is never really used anyway ...) when loaded. |
||
---|---|---|
examples | ||
ggdt | ||
.gitignore | ||
Cargo.toml | ||
README.md |
ggdt: Gered's Game Dev Tools
This is a purely for-fun project of mine. It's a personal set of retro-like/inspired game development tools for use in my own projects.
It started with a focus on DOS "VGA mode 13h"-style limitations, but is not going to be limited to just that into the future and will be expanded on as I need it to do other things. It should be noted that in this project I will do a lot of (poor) reinventing of the wheel ... because it's fun. Stringing together existing libraries all the time is dull after a while.
I'm not an expert in Rust and am probably still doing a great many things unidiomatically. But I'm learning, and that is at least half the point of this project in the first place.
See the /examples
directory for some demo apps. These will be added to over time.