Skip to content

Commit 39e0981

Browse files
authored
[Reviewed] [Smooth camera] Fix some actions to change the properties (#1707)
- Rightward maximum speed - Follow free area left border - Follow free area right border
1 parent 496cdc2 commit 39e0981

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

extensions/reviewed/SmoothCamera.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "SmoothCamera",
1010
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Computers and Hardware/Computers and Hardware_camcoder_gopro_go_pro_camera.svg",
1111
"shortDescription": "Smoothly scroll to follow an object.",
12-
"version": "0.4.3",
12+
"version": "0.4.4",
1313
"description": [
1414
"The camera follows an object according to:",
1515
"- a frame rate independent catch-up speed to make the scrolling from smooth to strong",
@@ -1337,7 +1337,7 @@
13371337
"value": "SetNumberVariable"
13381338
},
13391339
"parameters": [
1340-
"FollowFreeAreaTop",
1340+
"FollowFreeAreaRight",
13411341
"=",
13421342
"max(0, Value)"
13431343
]
@@ -1382,7 +1382,7 @@
13821382
"value": "SetNumberVariable"
13831383
},
13841384
"parameters": [
1385-
"FollowFreeAreaTop",
1385+
"FollowFreeAreaLeft",
13861386
"=",
13871387
"max(0, Value)"
13881388
]
@@ -1538,7 +1538,7 @@
15381538
"type": "behavior"
15391539
},
15401540
{
1541-
"description": "Leftward maximum speed (in ratio per second)",
1541+
"description": "Leftward maximum speed (in pixels per second)",
15421542
"name": "Value",
15431543
"type": "expression"
15441544
}
@@ -1562,7 +1562,7 @@
15621562
"value": "SetNumberVariable"
15631563
},
15641564
"parameters": [
1565-
"LeftwardSpeedMax",
1565+
"RightwardSpeedMax",
15661566
"=",
15671567
"max(0, Value)"
15681568
]
@@ -2088,18 +2088,6 @@
20882088
"name": "SetOffsetYOp",
20892089
"sentence": "",
20902090
"events": [
2091-
{
2092-
"type": "BuiltinCommonInstructions::Comment",
2093-
"color": {
2094-
"b": 109,
2095-
"g": 230,
2096-
"r": 255,
2097-
"textB": 0,
2098-
"textG": 0,
2099-
"textR": 0
2100-
},
2101-
"comment": "Deprecated use SetOffsetYOp instead."
2102-
},
21032091
{
21042092
"type": "BuiltinCommonInstructions::Standard",
21052093
"conditions": [],
@@ -2141,6 +2129,18 @@
21412129
"private": true,
21422130
"sentence": "Change the camera offset on Y axis of _PARAM0_: _PARAM2_",
21432131
"events": [
2132+
{
2133+
"type": "BuiltinCommonInstructions::Comment",
2134+
"color": {
2135+
"b": 109,
2136+
"g": 230,
2137+
"r": 255,
2138+
"textB": 0,
2139+
"textG": 0,
2140+
"textR": 0
2141+
},
2142+
"comment": "Deprecated use SetOffsetYOp instead."
2143+
},
21442144
{
21452145
"type": "BuiltinCommonInstructions::Standard",
21462146
"conditions": [],

0 commit comments

Comments
 (0)