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

@ -12,7 +12,7 @@ TEST_CASE("test texture management", "[textures]") {
REQUIRE(spider.sprite != nullptr);
REQUIRE(spider.texture != nullptr);
auto image = textures::load_image("assets/hairy_spider-256.png");
auto image = textures::load_image("assets/sprites/hairy_spider.png");
auto img_ptr = textures::get_surface(0);
REQUIRE(img_ptr != nullptr);