Now have a simple camera system that I can configure in json for different motion effects.
This commit is contained in:
parent
8345097e10
commit
5b57fb2033
11 changed files with 173 additions and 128 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue