Playing with some basic cameras to figure out how the motion will work.

This commit is contained in:
Zed A. Shaw 2025-11-06 01:01:32 -05:00
parent 4bda2ee01c
commit 2ebefcce05
2 changed files with 8 additions and 8 deletions

View file

@ -37,16 +37,16 @@
}, },
"dolly": { "dolly": {
"_type": "Animation", "_type": "Animation",
"easing": 2, "easing": 1,
"motion": 0, "motion": 0,
"ease_rate": 0.05, "ease_rate": 0.5,
"min_x": 0.8, "min_x": 1.3,
"min_y": 0.8, "min_y": 1.3,
"max_x": 1.3, "max_x": 1.0,
"max_y": 1.3, "max_y": 1.0,
"simple": true, "simple": true,
"frames": 1, "frames": 1,
"speed": 0.01, "speed": 0.1,
"scaled": true, "scaled": true,
"stationary": true, "stationary": true,
"toggled": false, "toggled": false,

View file

@ -9,7 +9,7 @@ namespace storyboard {
$view_sprite($view_texture.getTexture()) $view_sprite($view_texture.getTexture())
{ {
$view_sprite.setPosition({0, 0}); $view_sprite.setPosition({0, 0});
$camera.style("bounce"); $camera.style("dolly");
} }
void UI::init() { void UI::init() {