peachy/TODO.md

1.2 KiB

to do

game data structure

add "move" functions for entities e.g. move(direction), teleport

--

add "from_dir" functions for structs make that function generic?

--

what is the distinction between animate and inanimate objects?

idea:

  • "tiles" which can animate, and optionally block movement, but have no other behaviour

  • "things" which can have complicated behaviours

  • ditch foreground/background?

    • no - player character needs to be on top of a background image
      • each position could have (optionally) a tile and (optionally) a thing
      • things have render priority
  • ideally support gif/png for images (are there other indexed colour formats?)

players

  • ~graphics~
    • re-use player avatar drawing function as generic image drawing function
    • text (how?)
    • support older graphics adaptors

windows

  • ~try to compile~
    • does not work on my acer laptop (2012)
    • does not work on my windows 8 VM
    • works on my computer via wine!

future: arm/raspberry pi?

web

will need:

  • base64 decoding
  • zip parsing
  • webgl or something?
  • audio??

editor

  • build something in egui
  • can we do a web version that works with zip files?
    • investigate zip compression/decompression in rust