Can now export the time code/actions from Reaper as json data and the storyboard will play them.

This commit is contained in:
Zed A. Shaw 2025-11-12 11:42:22 -05:00
parent b5280b4a4d
commit c486db5a57
6 changed files with 51 additions and 16 deletions

View file

@ -61,6 +61,7 @@ namespace components {
settings::Config devices;
settings::Config bosses;
settings::Config rituals;
settings::Config stories;
};
struct Personality {
@ -90,6 +91,13 @@ namespace components {
json fixtures;
};
struct Storyboard {
std::string image;
std::string audio;
std::vector<std::string> layout;
json beats;
};
struct Combat {
int hp;
int max_hp;
@ -170,6 +178,7 @@ namespace components {
ENROLL_COMPONENT(Motion, dx, dy, random);
ENROLL_COMPONENT(Combat, hp, max_hp, damage, dead);
ENROLL_COMPONENT(Device, config, events);
ENROLL_COMPONENT(Storyboard, image, audio, layout, beats);
ENROLL_COMPONENT(Animation, min_x, min_y,
max_x, max_y, simple, frames,
speed, easing, motion, ease_rate,