# HG changeset patch # User Robert McIntyre # Date 1339394000 18000 # Node ID 151c96d6092177961cc98810355c8c901d1e01cc # Parent 641e1c511224741dd2da5f65a1e4e6b032d3f0d7 edit to image.clj diff -r 641e1c511224 -r 151c96d60921 clojure/com/aurellem/run/image.clj --- a/clojure/com/aurellem/run/image.clj Mon May 07 12:37:04 2012 -0500 +++ b/clojure/com/aurellem/run/image.clj Mon Jun 11 00:53:20 2012 -0500 @@ -17,4 +17,31 @@ ;; use background tiles? they provide greater color depth than ;; sprites, and can still be scrolled, so why not? +;; could also use sprites to get 3 more colors per tile for a total of +;; 7 colors per tile, although not for all tiles... + + +;; want a function to + +;; 1. read an image +;; 2. split into a grid of 8x8 pixels +;; 3. convert all RGB colors to gb-RGB colors +;; 4. determine efficient color palletes for the image +;; 5. output efficient assembly code to draw the image to the gb +;; screen. + + + + + + + + + + + + + + +