Skip to content

Commit ef46dcd

Browse files
committed
[Reviewed] [Dialog box] Allow to choose a sound
1 parent d192231 commit ef46dcd

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

extensions/reviewed/TwoChoicesDialogBoxes.json

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "TwoChoicesDialogBoxes",
1010
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Interface Elements/0842ffc478006e9b6687fca9a5761494c4efd1df873220637af5b4ac7253f850_Interface Elements_interface_ui_window_application_app_button_cta.svg",
1111
"shortDescription": "A dialog box with buttons to let users make a choice.",
12-
"version": "0.3.1",
12+
"version": "0.3.2",
1313
"description": [
1414
"A dialog box showing multiple options (usually \"yes\" and \"no\") and a customizable text message.",
1515
"It handles keyboard, gamepad and touch controls.",
@@ -265,6 +265,7 @@
265265
"ambientLightColorB": 200,
266266
"ambientLightColorG": 200,
267267
"ambientLightColorR": 200,
268+
"camera2DPlaneMaxDrawingDistance": 5000,
268269
"camera3DFarPlaneDistance": 10000,
269270
"camera3DFieldOfView": 45,
270271
"camera3DNearPlaneDistance": 3,
@@ -516,7 +517,7 @@
516517
},
517518
"parameters": [
518519
"",
519-
"HoverSound.wav",
520+
"HoveredSound",
520521
"",
521522
"20",
522523
"RandomFloatInRange(0.8,0.9)"
@@ -612,7 +613,7 @@
612613
},
613614
"parameters": [
614615
"",
615-
"HoverSound.wav",
616+
"HoveredSound",
616617
"",
617618
"20",
618619
"RandomFloatInRange(0.8,0.9)"
@@ -697,7 +698,7 @@
697698
},
698699
"parameters": [
699700
"",
700-
"HoverSound.wav",
701+
"HoveredSound",
701702
"",
702703
"20",
703704
"RandomFloatInRange(0.8,0.9)"
@@ -1392,14 +1393,24 @@
13921393
],
13931394
"hidden": true,
13941395
"name": "_PropertyMapping"
1396+
},
1397+
{
1398+
"value": "",
1399+
"type": "Resource",
1400+
"label": "Sound at hovering",
1401+
"extraInformation": [
1402+
"audio"
1403+
],
1404+
"choices": [],
1405+
"name": "HoveredSound"
13951406
}
13961407
]
13971408
}
13981409
],
13991410
"requiredExtensions": [
14001411
{
14011412
"extensionName": "Gamepads",
1402-
"extensionVersion": "0.9.0"
1413+
"extensionVersion": "0.9.1"
14031414
},
14041415
{
14051416
"extensionName": "PanelSpriteButton",

0 commit comments

Comments
 (0)