Better easings and motion but I need better data.
This commit is contained in:
parent
f8158a3ea9
commit
949bbd4f15
10 changed files with 75 additions and 17 deletions
|
|
@ -122,6 +122,7 @@ namespace components {
|
|||
int frames = 10;
|
||||
float speed = 0.3f;
|
||||
ease::Style easing = ease::IN_OUT_BACK;
|
||||
ease::Motion motion = ease::RUSH;
|
||||
float ease_rate = 0.5f;
|
||||
bool stationary = false;
|
||||
bool toggled = false;
|
||||
|
|
@ -161,7 +162,7 @@ namespace components {
|
|||
ENROLL_COMPONENT(Combat, hp, max_hp, damage, dead);
|
||||
ENROLL_COMPONENT(Device, config, events);
|
||||
ENROLL_COMPONENT(Animation, scale_x, scale_y, max_scale, simple, frames,
|
||||
speed, easing, ease_rate, stationary, toggled, looped);
|
||||
speed, easing, motion, ease_rate, stationary, toggled, looped);
|
||||
ENROLL_COMPONENT(Sound, attack, death);
|
||||
ENROLL_COMPONENT(Collision, has);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue