I now have hacked in basic color for the wall tiles but not enemies and items.

This commit is contained in:
Zed A. Shaw 2025-07-09 14:36:31 -04:00
parent b2d0b0ee4c
commit b16ca3fd65
4 changed files with 30 additions and 3 deletions

View file

@ -121,7 +121,7 @@ TEST_CASE("map image test", "[map-sprite]") {
auto coords = sprite_coord.at(display);
sf::IntRect square{coords, {size.x, size.y}};
sf::Sprite sprite{map_sprites, square};
sprite.setColor({150,150,150,255});
// sprite.setColor({150,150,150,255});
sprite.setPosition({float(it.x * size.x), float(it.y * size.y)});
render.draw(sprite);
}