Went with just making the left gui frame monochrome to sort out its value structure compared to the scene.

master
Zed A. Shaw 10 months ago
parent 9fe7cac79b
commit 1790eec697
  1. BIN
      assets/left_gui.png
  2. 3
      gui.cpp

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 85 KiB

@ -222,12 +222,11 @@ namespace gui {
void FSM::draw_gui() {
sf::RectangleShape rect({SCREEN_WIDTH - RAY_VIEW_WIDTH, SCREEN_HEIGHT});
rect.setPosition({0,0});
rect.setFillColor({36, 33, 26});
rect.setFillColor({30, 30, 30});
$window.draw(rect);
auto left_gui = $textures.sprite_textures.at("left_gui").sprite;
left_gui->setPosition({0,0});
left_gui->setColor({150, 150, 150});
$window.draw(*left_gui);
sf::RectangleShape lower({RAY_VIEW_WIDTH, SCREEN_HEIGHT - RAY_VIEW_HEIGHT});