diff --git a/TODO.md b/TODO.md index d8abb26..c027b73 100644 --- a/TODO.md +++ b/TODO.md @@ -100,6 +100,7 @@ - Conversations - Trade - Missions + - Procedural suns ## Camera - Shake/wobble on heavy hits? @@ -134,6 +135,8 @@ - Handles - Content specification and pipeline - How packer and optimizations work, and why + - How big should sprites be? (resize existing) + - Naming: atlas, sprite, image, frame, texture ## Ideas diff --git a/crates/packer/src/main.rs b/crates/packer/src/main.rs index fce16ef..f563dc2 100644 --- a/crates/packer/src/main.rs +++ b/crates/packer/src/main.rs @@ -7,20 +7,11 @@ use image::io::Reader; use std::path::{Path, PathBuf}; use walkdir::WalkDir; -// TODO: procedural sun coloring -// TODO: gap between sprites? // TODO: warning when images have extra transparency // TODO: don't re-encode. Direct to gpu? // (maybe not, tiling is slow. Make it work with files first.) // TODO: path for atlas files -// TODO: rework texturearray -// TODO: reasonable sprite sizes (especially ui, document rules) -// TODO: consistent naming // TODO: dynamic packing (for plugins) -// spriteatlas: the set of textures -// texture: a single plane of many images, what we load to wgpu -// image: a single file -// sprite: a possibly animated texture fn main() -> Result<()> { let mut files = Vec::new();