From 37a0aca5afbfa117e9c0f7a22dfbbcd7fba322f7 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 4 Jan 2024 17:20:41 -0800 Subject: [PATCH] Updated TODO --- TODO.md | 3 +++ crates/packer/src/main.rs | 9 --------- 2 files changed, 3 insertions(+), 9 deletions(-) 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();