ggdt/examples/slimed
Gered 07f2b13f68 large amount of bitmap graphics rework
this is an unfortunately large commit. probably should've been broken
up into multiple smaller ones.

i decided to revert some earlier preparatory work i had done to organize
graphics functionality into two main streams: "indexed" and "rgb". this
was going to result in two completely different Bitmap structs which
were going to be largely similar and as i thought about it more, i
realized my earlier thinking that i wouldn't be able to generify the
Bitmap struct based on pixel-depth was actually not correct.

so, this commit re-works things significantly in a way which i think
is better but probably still not perfect. basically, we have one
Bitmap struct which provides a lot of generic functionality, but also
specialized implementations based on pixel-depth and this is now what is
separated out into graphics::bitmap::indexed and graphics::bitmap::rgb.

but the rest of the graphics functionality is not separated out by
module like this any longer.

note that i've still kept the GeneralBitmap trait and implementations.
i was originally thinking i could get rid of this since i'd now made
Bitmap generic over pixel-depth, but doing so would require me to
rename the common/general blit methods to avoid a name collision with
the specialized implementations (since they would both exist on the
same types now). and i did not like that. i dunno, maybe i will change
my mind later.
2023-03-11 16:58:13 -05:00
..
assets add "slimed" example 2022-05-23 17:43:38 -04:00
src large amount of bitmap graphics rework 2023-03-11 16:58:13 -05:00
Cargo.toml rename from libretrogd to ggdt 2023-03-02 16:11:59 -05:00
README.md rename from libretrogd to ggdt 2023-03-02 16:11:59 -05:00
screenshot.png add READMEs and screenshots for examples 2022-05-23 17:45:22 -04:00

ggdt - 'Slime Stabbing Simulator' Demo

A fairly more involved demo which was originally written to test out and learn how good/bad ggdt's entity, events and state management support is to use in practice. I learnt a lot from it, and have many ideas to improve things now.

Graphics from the awesome Tiny 16 by Lanea Zimmerman.

With some Tiny 16 extensions by:

Plus a very small handful of additional graphics by unknown artists because the image files have been sitting on my hard drive for years and I've forgotten who they were originally from!

Warning! There is quite a bunch of slow/sloppy code in here!

Simply do cargo run from this directory to try it out.