The gorious Lord Keith the Rat King can now have easing and motion functions that are defined in json and hot-reloaded.

This commit is contained in:
Zed A. Shaw 2026-02-04 00:59:26 -05:00
parent 383f839fdf
commit 07b2102f59
6 changed files with 69 additions and 18 deletions

View file

@ -19,7 +19,9 @@
"ease_rate": 5.0,
"scaled": true,
"toggled": false,
"looped": true
"looped": true,
"easing": "out_circle",
"motion": "scale_grow"
}
},
"rat_king_meth": {
@ -30,19 +32,21 @@
},
"sequence": {
"frames": [0, 1],
"durations": [33, 33]
"durations": [133, 133]
},
"transform": {
"min_x": 0.6,
"min_y": 0.6,
"max_x": 0.8,
"max_y": 0.8,
"min_x": -20.0,
"min_y": -20.0,
"max_x": 20.0,
"max_y": 20.0,
"simple": false,
"flipped": false,
"flipped": true,
"ease_rate": 5.0,
"scaled": true,
"toggled": false,
"looped": true
"looped": true,
"easing": "normal_dist",
"motion": "move_shake"
}
}
}