Brought in FLECS to play with, tomorrow we learn it.

This commit is contained in:
Zed A. Shaw 2024-10-05 18:15:14 -04:00
parent b8a0d9bbd1
commit a3eaf78fd3
7 changed files with 76 additions and 5 deletions

View file

@ -65,7 +65,7 @@ GUI::GUI() : $game_map(GAME_MAP_X, GAME_MAP_Y),
$map_text.setFont($font);
$map_text.setPosition(GAME_MAP_POS,0);
$map_text.setCharacterSize(MAP_FONT_SIZE);
$map_text.setFillColor(color(Value::LIGHT_DARK));
$map_text.setFillColor(color(Value::MID));
$game_map.generate();
$player.location = $game_map.place_entity(0);
@ -174,7 +174,7 @@ void GUI::burn() {
std::this_thread::sleep_for(2ms);
}
$map_text.setFillColor(color(Value::LIGHT_DARK));
$map_text.setFillColor(color(Value::MID));
}
void GUI::draw_screen(bool clear, float map_off_x, float map_off_y) {