Movement is now much smoother for the easing functions and I can pan around better, but it's hard coded to only do pan at the moment.

This commit is contained in:
Zed A. Shaw 2025-11-09 01:40:15 -05:00
parent 2ebefcce05
commit 0d326089f7
8 changed files with 37 additions and 47 deletions

View file

@ -156,7 +156,7 @@
"max_y": 1.2,
"simple": true,
"frames": 1,
"speed": 0.6,
"speed": 0.2,
"scaled": true,
"stationary": false,
"toggled": false,
@ -192,7 +192,7 @@
"max_y": 1.1,
"simple": true,
"frames": 10,
"speed": 1.0,
"speed": 0.2,
"scaled": true,
"stationary": false,
"toggled": false,
@ -235,24 +235,6 @@
"flipped": false,
"looped": false
},
"rat_king_boss": {
"_type": "Animation",
"easing": 4,
"motion": 0,
"ease_rate": 0.5,
"min_x": 0.6,
"min_y": 0.6,
"max_x": 0.8,
"max_y": 0.8,
"simple": false,
"frames": 2,
"speed": 0.02,
"scaled": true,
"stationary": true,
"toggled": false,
"flipped": false,
"looped": false
},
"torch_fixture": {
"_type": "Animation",
"easing": 0,

View file

@ -1,12 +1,12 @@
{
"pan": {
"_type": "Animation",
"easing": 2,
"easing": 7,
"motion": 7,
"ease_rate": 0.05,
"min_x": 0,
"min_y": 0,
"max_x": 150.0,
"ease_rate": 0.001,
"min_x": 0.0,
"min_y": 0.0,
"max_x": 0.0,
"max_y": 0.0,
"simple": true,
"frames": 1,
@ -40,8 +40,8 @@
"easing": 1,
"motion": 0,
"ease_rate": 0.5,
"min_x": 1.3,
"min_y": 1.3,
"min_x": 0.8,
"min_y": 0.8,
"max_x": 1.0,
"max_y": 1.0,
"simple": true,