The images for my reactions to your bad code are now up. Went with a more 'pixel video' look than a pixel art hand drawn thing.

This commit is contained in:
Zed A. Shaw 2024-09-20 18:47:14 -04:00
parent 581e5b4a60
commit e1c667d816
12 changed files with 40 additions and 36 deletions

View file

@ -45,12 +45,8 @@ public:
class SFMLBackend {
sf::ContextSettings settings;
sf::RenderWindow window;
sf::Clock clock;
sf::Clock deltaClock;
sf::Sprite face_sprite;
sf::Texture face_texture;
bool window_active_out = false;
bool show_build_log = false;
int hit_points = 50;
sf::Font font;
GameEngine &game;
@ -67,6 +63,7 @@ public:
bool is_open();
void shutdown();
void change_face(const string name);
void handle_events();
void update_entities();
void update_log(std::vector<string> &lines);