From 2ebefcce055e1ad58337c8bec82b98714c53591d Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Thu, 6 Nov 2025 01:01:32 -0500 Subject: [PATCH] Playing with some basic cameras to figure out how the motion will work. --- assets/cameras.json | 14 +++++++------- storyboard/ui.cpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/cameras.json b/assets/cameras.json index 9a0115a..7af78eb 100644 --- a/assets/cameras.json +++ b/assets/cameras.json @@ -37,16 +37,16 @@ }, "dolly": { "_type": "Animation", - "easing": 2, + "easing": 1, "motion": 0, - "ease_rate": 0.05, - "min_x": 0.8, - "min_y": 0.8, - "max_x": 1.3, - "max_y": 1.3, + "ease_rate": 0.5, + "min_x": 1.3, + "min_y": 1.3, + "max_x": 1.0, + "max_y": 1.0, "simple": true, "frames": 1, - "speed": 0.01, + "speed": 0.1, "scaled": true, "stationary": true, "toggled": false, diff --git a/storyboard/ui.cpp b/storyboard/ui.cpp index 9c38da2..87d5e95 100644 --- a/storyboard/ui.cpp +++ b/storyboard/ui.cpp @@ -9,7 +9,7 @@ namespace storyboard { $view_sprite($view_texture.getTexture()) { $view_sprite.setPosition({0, 0}); - $camera.style("bounce"); + $camera.style("dolly"); } void UI::init() {