Refactor the way assets are laid out in the assets/ dir and then have a build script that can automatically pixelate/posterize images that I save, saving me tons of time.

This commit is contained in:
Zed A. Shaw 2025-05-30 17:49:15 -04:00
parent 3dc70c3af6
commit dc8648016d
108 changed files with 177 additions and 277 deletions

View file

@ -38,7 +38,7 @@ namespace gui {
$gui.set<guecs::Clickable>(id, {
[=](auto, auto) { fmt::println("clicked button_{}", i); }
});
$gui.set<guecs::Sprite>(id, {"broken_yoyo-64"});
$gui.set<guecs::Sprite>(id, {"broken_yoyo"});
}
auto close = $gui.entity("close");