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:
parent
82a38e5fa1
commit
740e1052fe
6 changed files with 17 additions and 11 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue