Now have a simple camera system that I can configure in json for different motion effects.

This commit is contained in:
Zed A. Shaw 2025-11-03 00:25:48 -05:00
parent 8345097e10
commit 5b57fb2033
11 changed files with 173 additions and 128 deletions

View file

@ -3,6 +3,7 @@
#include <guecs/ui.hpp>
#include "gui/combat_ui.hpp"
#include "scene.hpp"
#include "camera.hpp"
namespace components {
struct Animation;
@ -18,7 +19,7 @@ namespace boss {
guecs::UI $actions;
sf::RenderTexture $view_texture;
sf::Sprite $view_sprite;
components::Animation $zoom_anim;
cinematic::Camera $camera;
UI(components::AnimatedScene &scene, DinkyECS::Entity boss_id);