Finally have the boss fight rendering into a render texture correctly. The 'flipped' problem was because I didn't call .display() in render.

This commit is contained in:
Zed A. Shaw 2025-10-31 12:50:20 -04:00
parent 82a38e5fa1
commit 740e1052fe
6 changed files with 17 additions and 11 deletions

View file

@ -12,6 +12,8 @@ namespace boss {
gui::CombatUI $combat_ui;
scene::Engine $arena;
guecs::UI $actions;
sf::RenderTexture $view_texture;
sf::Sprite $view_sprite;
UI(components::AnimatedScene &scene, DinkyECS::Entity boss_id);