Skip to content

Commit 8003d69

Browse files
authored
Add some quick customization flags (#1680)
- Don't show in changelog
1 parent 69bb5ea commit 8003d69

File tree

11 files changed

+116
-51
lines changed

11 files changed

+116
-51
lines changed

extensions/community/Tween3D.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"author": "",
33
"category": "Visual effect",
44
"extensionNamespace": "",
5-
"gdevelopVersion": ">=5.5.222",
65
"fullName": "Advanced 3D tween",
6+
"gdevelopVersion": ">=5.5.222",
77
"helpPath": "",
88
"iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLXRlbm5pcy1iYWxsIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyLDJDMTQuNSwyIDE2Ljc1LDIuOSAxOC41LDQuNEMxNi4zNiw2LjIzIDE1LDguOTYgMTUsMTJDMTUsMTUuMDQgMTYuMzYsMTcuNzcgMTguNSwxOS42QzE2Ljc1LDIxLjEgMTQuNSwyMiAxMiwyMkM5LjUsMjIgNy4yNSwyMS4xIDUuNSwxOS42QzcuNjQsMTcuNzcgOSwxNS4wNCA5LDEyQzksOC45NiA3LjY0LDYuMjMgNS41LDQuNEM3LjI1LDIuOSA5LjUsMiAxMiwyTTIyLDEyQzIyLDE0LjMyIDIxLjIxLDE2LjQ1IDE5Ljg4LDE4LjE1QzE4LjEyLDE2LjY4IDE3LDE0LjQ3IDE3LDEyQzE3LDkuNTMgMTguMTIsNy4zMiAxOS44OCw1Ljg1QzIxLjIxLDcuNTUgMjIsOS42OCAyMiwxMk0yLDEyQzIsOS42OCAyLjc5LDcuNTUgNC4xMiw1Ljg1QzUuODgsNy4zMiA3LDkuNTMgNywxMkM3LDE0LjQ3IDUuODgsMTYuNjggNC4xMiwxOC4xNUMyLjc5LDE2LjQ1IDIsMTQuMzIgMiwxMloiIC8+PC9zdmc+",
99
"name": "Tween3D",
1010
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/30bc03f9cf5f2f42960246a605352a6937ae6b603f0177396a83193849a4724a_tennis-ball.svg",
1111
"shortDescription": "Smoothly squash, strentch, tint and wobble 3D models.",
12-
"version": "0.3.0",
12+
"version": "0.3.1",
1313
"description": [
1414
"Change 3D models proportions over time to make smooth animations like wobbling.",
1515
"",
@@ -793,6 +793,7 @@
793793
"fullName": "Advanced 3D tween",
794794
"name": "Tween3D",
795795
"objectType": "",
796+
"quickCustomizationVisibility": "hidden",
796797
"eventsFunctions": [
797798
{
798799
"fullName": "",
@@ -3853,6 +3854,7 @@
38533854
"fullName": "3D wobble",
38543855
"name": "Wobble",
38553856
"objectType": "",
3857+
"quickCustomizationVisibility": "hidden",
38563858
"eventsFunctions": [
38573859
{
38583860
"fullName": "",

extensions/reviewed/BoidsMovement.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"author": "",
33
"category": "Movement",
44
"extensionNamespace": "",
5-
"gdevelopVersion": ">=5.5.222",
65
"fullName": "Boids movement",
6+
"gdevelopVersion": ">=5.5.222",
77
"helpPath": "/extensions/boids-movement/details/",
88
"iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjMsIFNWR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idsMovement",
1010
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Restaurant/Restaurant_restaurant_seafood_animal_fish.svg",
1111
"shortDescription": "Simulates flocks movement.",
12-
"version": "0.4.0",
12+
"version": "0.4.1",
1313
"description": [
1414
"Simulates swarms or flocks movement following the separation, alignment, cohesion principles. The flock can be attracted to a location or avoid some obstacles.",
1515
"",
@@ -2145,6 +2145,7 @@
21452145
"description": "",
21462146
"group": "Movement",
21472147
"extraInformation": [],
2148+
"quickCustomizationVisibility": "hidden",
21482149
"name": "ShouldRotate"
21492150
},
21502151
{
@@ -2155,6 +2156,7 @@
21552156
"description": "",
21562157
"group": "Sight",
21572158
"extraInformation": [],
2159+
"quickCustomizationVisibility": "hidden",
21582160
"name": "CohesionRadius"
21592161
},
21602162
{
@@ -2165,6 +2167,7 @@
21652167
"description": "",
21662168
"group": "Sight",
21672169
"extraInformation": [],
2170+
"quickCustomizationVisibility": "hidden",
21682171
"name": "AlignmentRadius"
21692172
},
21702173
{
@@ -2175,6 +2178,7 @@
21752178
"description": "",
21762179
"group": "Sight",
21772180
"extraInformation": [],
2181+
"quickCustomizationVisibility": "hidden",
21782182
"name": "SeparationRadius"
21792183
},
21802184
{
@@ -2185,6 +2189,7 @@
21852189
"description": "",
21862190
"group": "Decision",
21872191
"extraInformation": [],
2192+
"quickCustomizationVisibility": "hidden",
21882193
"name": "CohesionWeight"
21892194
},
21902195
{
@@ -2195,6 +2200,7 @@
21952200
"description": "",
21962201
"group": "Decision",
21972202
"extraInformation": [],
2203+
"quickCustomizationVisibility": "hidden",
21982204
"name": "AlignmentWeight"
21992205
},
22002206
{
@@ -2205,6 +2211,7 @@
22052211
"description": "",
22062212
"group": "Decision",
22072213
"extraInformation": [],
2214+
"quickCustomizationVisibility": "hidden",
22082215
"name": "SeparationWeight"
22092216
},
22102217
{
@@ -2216,6 +2223,7 @@
22162223
"group": "",
22172224
"extraInformation": [],
22182225
"advanced": true,
2226+
"quickCustomizationVisibility": "hidden",
22192227
"name": "CollisionLayer"
22202228
}
22212229
],

extensions/reviewed/Gamepads.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "Gamepads",
1010
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/gamepad-variant-outline.svg",
1111
"shortDescription": "Add support for gamepads (or other controllers) to your game, giving access to information such as button presses, axis positions, trigger pressure, etc...",
12-
"version": "0.8.0",
12+
"version": "0.8.1",
1313
"description": [
1414
"Add support for gamepads (or other controllers).",
1515
"",
@@ -2540,6 +2540,7 @@
25402540
"fullName": "Platformer gamepad mapper",
25412541
"name": "PlatformerGamepadMapper",
25422542
"objectType": "",
2543+
"quickCustomizationVisibility": "hidden",
25432544
"eventsFunctions": [
25442545
{
25452546
"fullName": "",
@@ -3096,6 +3097,7 @@
30963097
"fullName": "3D platformer gamepad mapper",
30973098
"name": "Platformer3DGamepadMapper",
30983099
"objectType": "",
3100+
"quickCustomizationVisibility": "hidden",
30993101
"eventsFunctions": [
31003102
{
31013103
"fullName": "",
@@ -3266,6 +3268,7 @@
32663268
"fullName": "3D shooter gamepad mapper",
32673269
"name": "Shooter3DGamepadMapper",
32683270
"objectType": "",
3271+
"quickCustomizationVisibility": "hidden",
32693272
"eventsFunctions": [
32703273
{
32713274
"fullName": "",
@@ -3437,6 +3440,7 @@
34373440
"fullName": "First person camera gamepad mapper",
34383441
"name": "FirstPersonGamepadMapper",
34393442
"objectType": "",
3443+
"quickCustomizationVisibility": "hidden",
34403444
"eventsFunctions": [
34413445
{
34423446
"fullName": "",
@@ -4501,6 +4505,7 @@
45014505
"fullName": "3D car gamepad mapper",
45024506
"name": "PhysicsCar3DGamepadMapper",
45034507
"objectType": "",
4508+
"quickCustomizationVisibility": "hidden",
45044509
"eventsFunctions": [
45054510
{
45064511
"fullName": "",
@@ -4857,6 +4862,7 @@
48574862
"fullName": "Top-down gamepad mapper",
48584863
"name": "TopDownGamepadMapper",
48594864
"objectType": "",
4865+
"quickCustomizationVisibility": "hidden",
48604866
"eventsFunctions": [
48614867
{
48624868
"fullName": "",
Lines changed: 59 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
{
22
"author": "Silver-Streak, @Bouh, Tristan Rhodes",
33
"category": "Game mechanic",
4-
"description": "This extension adds conditions to check if an object is located within the visible portion of its layer's camera. The condition also allows for specifying padding to the virtual screen border.\n\nNote that this does not take into account any object visibility, such as being hidden or 0 opacity, but can be combined with those existing conditions.",
54
"extensionNamespace": "",
6-
"gdevelopVersion": ">=5.5.222",
75
"fullName": "Object \"Is On Screen\" Detection",
6+
"gdevelopVersion": "",
87
"helpPath": "",
98
"iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLW1vbml0b3Itc2NyZWVuc2hvdCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik05LDZINVYxMEg3VjhIOU0xOSwxMEgxN1YxMkgxNVYxNEgxOU0yMSwxNkgzVjRIMjFNMjEsMkgzQzEuODksMiAxLDIuODkgMSw0VjE2QTIsMiAwIDAsMCAzLDE4SDEwVjIwSDhWMjJIMTZWMjBIMTRWMThIMjFBMiwyIDAgMCwwIDIzLDE2VjRDMjMsMi44OSAyMi4xLDIgMjEsMiIgLz48L3N2Zz4=",
109
"name": "IsOnScreen",
1110
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/monitor-screenshot.svg",
1211
"shortDescription": "This adds a condition to detect if an object is on screen based off its current layer.",
13-
"version": "1.2.1",
12+
"version": "1.2.2",
13+
"description": [
14+
"This extension adds conditions to check if an object is located within the visible portion of its layer's camera. The condition also allows for specifying padding to the virtual screen border.",
15+
"",
16+
"Note that this does not take into account any object visibility, such as being hidden or 0 opacity, but can be combined with those existing conditions."
17+
],
18+
"origin": {
19+
"identifier": "IsOnScreen",
20+
"name": "gdevelop-extension-store"
21+
},
1422
"tags": [
1523
"is on screen",
1624
"condition",
@@ -24,61 +32,88 @@
2432
"gqDaZjCfevOOxBYkK6zlhtZnXCg1"
2533
],
2634
"dependencies": [],
35+
"globalVariables": [],
36+
"sceneVariables": [],
2737
"eventsFunctions": [],
2838
"eventsBasedBehaviors": [
2939
{
3040
"description": "This behavior provides a condition to check if the object is located within the visible portion of its layer's camera. The condition also allows for specifying padding to the virtual screen border.\nNote that object visibility, such as being hidden or 0 opacity, is not considered (but you can use those existing conditions in addition to this behavior).",
3141
"fullName": "Is on screen",
3242
"name": "InOnScreen",
3343
"objectType": "",
44+
"quickCustomizationVisibility": "hidden",
3445
"eventsFunctions": [
3546
{
3647
"description": "Checks if an object position is within the viewport of its layer.",
3748
"fullName": "Is on screen",
3849
"functionType": "Condition",
3950
"name": "IsOnScreen",
40-
"private": false,
4151
"sentence": "_PARAM0_ is on screen (padded by _PARAM2_ pixels)",
4252
"events": [
4353
{
44-
"disabled": false,
45-
"folded": false,
4654
"type": "BuiltinCommonInstructions::JsCode",
47-
"inlineCode": "/*\nGet the object layer, convert the position from this layer to the screen coordinates.\nGet the point on each side on the object on screen, and compare with the screen area.\n\nThis way even if the camera has a rotation or custom scale the object is always compared to the screen area.\n*/\n\n\n// Get the layer of the object.\nconst object = objects[0];\nconst layer = runtimeScene.getLayer(object.getLayer());\n\n// Get the aabb of the object on his layer.\nconst aabb = object.getVisibilityAABB();\n\n// Get the layer to convert the coordinates of the AABB to the screen coordinates\nconst topLeft = layer.convertInverseCoords(aabb.min[0], aabb.min[1]);\nconst topRight = layer.convertInverseCoords(aabb.max[0], aabb.min[1]);\nconst bottomRight = layer.convertInverseCoords(aabb.max[0], aabb.max[1]);\nconst bottomLeft = layer.convertInverseCoords(aabb.min[0], aabb.max[1]);\n\n// Get the points on each side of the object on screen.\nconst posLeftObjectOnScreen = Math.min(topLeft[0], topRight[0], bottomLeft[0], bottomRight[0]);\nconst posRightObjectOnScreen = Math.max(topLeft[0], topRight[0], bottomLeft[0], bottomRight[0]);\nconst posUpObjectOnScreen = Math.min(topLeft[1], topRight[1], bottomLeft[1], bottomRight[1]);\nconst posDownObjectOnScreen = Math.max(topLeft[1], topRight[1], bottomLeft[1], bottomRight[1]);\n\nconst padding = eventsFunctionContext.getArgument(\"Padding\");\n\nif (\n !(posLeftObjectOnScreen - padding > runtimeScene.getGame().getGameResolutionWidth() ||\n posUpObjectOnScreen - padding > runtimeScene.getGame().getGameResolutionHeight() ||\n posRightObjectOnScreen + padding < 0 ||\n posDownObjectOnScreen + padding < 0\n )\n) {\n eventsFunctionContext.returnValue = true;\n}\n",
55+
"inlineCode": [
56+
"/*",
57+
"Get the object layer, convert the position from this layer to the screen coordinates.",
58+
"Get the point on each side on the object on screen, and compare with the screen area.",
59+
"",
60+
"This way even if the camera has a rotation or custom scale the object is always compared to the screen area.",
61+
"*/",
62+
"",
63+
"",
64+
"// Get the layer of the object.",
65+
"const object = objects[0];",
66+
"const layer = runtimeScene.getLayer(object.getLayer());",
67+
"",
68+
"// Get the aabb of the object on his layer.",
69+
"const aabb = object.getVisibilityAABB();",
70+
"",
71+
"// Get the layer to convert the coordinates of the AABB to the screen coordinates",
72+
"const topLeft = layer.convertInverseCoords(aabb.min[0], aabb.min[1]);",
73+
"const topRight = layer.convertInverseCoords(aabb.max[0], aabb.min[1]);",
74+
"const bottomRight = layer.convertInverseCoords(aabb.max[0], aabb.max[1]);",
75+
"const bottomLeft = layer.convertInverseCoords(aabb.min[0], aabb.max[1]);",
76+
"",
77+
"// Get the points on each side of the object on screen.",
78+
"const posLeftObjectOnScreen = Math.min(topLeft[0], topRight[0], bottomLeft[0], bottomRight[0]);",
79+
"const posRightObjectOnScreen = Math.max(topLeft[0], topRight[0], bottomLeft[0], bottomRight[0]);",
80+
"const posUpObjectOnScreen = Math.min(topLeft[1], topRight[1], bottomLeft[1], bottomRight[1]);",
81+
"const posDownObjectOnScreen = Math.max(topLeft[1], topRight[1], bottomLeft[1], bottomRight[1]);",
82+
"",
83+
"const padding = eventsFunctionContext.getArgument(\"Padding\");",
84+
"",
85+
"if (",
86+
" !(posLeftObjectOnScreen - padding > runtimeScene.getGame().getGameResolutionWidth() ||",
87+
" posUpObjectOnScreen - padding > runtimeScene.getGame().getGameResolutionHeight() ||",
88+
" posRightObjectOnScreen + padding < 0 ||",
89+
" posDownObjectOnScreen + padding < 0",
90+
" )",
91+
") {",
92+
" eventsFunctionContext.returnValue = true;",
93+
"}",
94+
""
95+
],
4896
"parameterObjects": "Object",
4997
"useStrict": true,
5098
"eventsSheetExpanded": true
5199
}
52100
],
53101
"parameters": [
54102
{
55-
"codeOnly": false,
56-
"defaultValue": "",
57103
"description": "Object",
58-
"longDescription": "",
59104
"name": "Object",
60-
"optional": false,
61-
"supplementaryInformation": "",
62105
"type": "object"
63106
},
64107
{
65-
"codeOnly": false,
66-
"defaultValue": "",
67108
"description": "Behavior",
68-
"longDescription": "",
69109
"name": "Behavior",
70-
"optional": false,
71110
"supplementaryInformation": "IsOnScreen::InOnScreen",
72111
"type": "behavior"
73112
},
74113
{
75-
"codeOnly": false,
76-
"defaultValue": "",
77114
"description": "Padding (in pixels)",
78115
"longDescription": "Number of pixels to pad the screen border. Zero by default. A negative value goes inside the screen, a positive value go outside.",
79116
"name": "Padding",
80-
"optional": false,
81-
"supplementaryInformation": "",
82117
"type": "expression"
83118
}
84119
],
@@ -90,7 +125,9 @@
90125
]
91126
}
92127
],
93-
"propertyDescriptors": []
128+
"propertyDescriptors": [],
129+
"sharedPropertyDescriptors": []
94130
}
95-
]
131+
],
132+
"eventsBasedObjects": []
96133
}

extensions/reviewed/PhysicsCar3DKeyMapper.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "PhysicsCar3DKeyMapper",
1010
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Glyphster Pack/Master/SVG/Computers and Hardware/3e5871434a72821bf3ecb44a6857e62a438cf23dc8f95966f56ae97e95315468_Computers and Hardware_keyboard.svg",
1111
"shortDescription": "3D car keyboard controls.",
12-
"version": "1.0.0",
12+
"version": "1.0.1",
1313
"description": "3D physics car keyboard controls.",
1414
"origin": {
1515
"identifier": "PhysicsCharacter3DKeyMapper",
@@ -31,6 +31,7 @@
3131
"fullName": "3D car keyboard mapper",
3232
"name": "PhysicsCar3DKeyboardMapper",
3333
"objectType": "",
34+
"quickCustomizationVisibility": "hidden",
3435
"eventsFunctions": [
3536
{
3637
"fullName": "",

0 commit comments

Comments
 (0)