Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
204 changes: 160 additions & 44 deletions extensions/reviewed/ScoreCounter.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "ScoreCounter",
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/48ec8784eacd92181e4a3bde4755962b5f6edf986e624fc85ea423a31408450d_counter.svg",
"shortDescription": "An animated score counter with an icon and a customisable font.",
"version": "1.2.1",
"version": "1.3.0",
"description": [
"An animated score counter with an icon and a customisable font.",
"",
Expand All @@ -28,13 +28,7 @@
],
"dependencies": [],
"globalVariables": [],
"sceneVariables": [
{
"name": "RisingPitch",
"type": "number",
"value": 1
}
],
"sceneVariables": [],
"eventsFunctions": [
{
"description": "Check if the events are running for the editor.",
Expand Down Expand Up @@ -2949,6 +2943,7 @@
"ambientLightColorB": 200,
"ambientLightColorG": 200,
"ambientLightColorR": 200,
"camera2DPlaneMaxDrawingDistance": 5000,
"camera3DFarPlaneDistance": 10000,
"camera3DFieldOfView": 45,
"camera3DNearPlaneDistance": 3,
Expand Down Expand Up @@ -3141,43 +3136,25 @@
"events": [
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"value": "SetNumberVariable"
},
"parameters": [
"Score",
"=",
"Value"
]
},
"conditions": [
{
"type": {
"value": "ScoreCounter::RollingCounter::SetValue"
"inverted": true,
"value": "ScoreCounter::IsInGameEdition"
},
"parameters": [
"Counter",
"RollingCounter",
"=",
"Score",
"",
""
]
}
]
},
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
},
{
"type": {
"inverted": true,
"value": "ScoreCounter::IsInGameEdition"
"value": "NumberVariable"
},
"parameters": [
"",
""
"Value",
">",
"Score"
]
}
],
Expand All @@ -3194,19 +3171,18 @@
"",
"\"RisingPitch\"",
">",
"1"
"PitchTimeout"
]
}
],
"actions": [
{
"type": {
"value": "SetNumberVariable"
"value": "ScoreCounter::ScoreCounter::Function"
},
"parameters": [
"RisingPitch",
"=",
"0.8"
"Object",
""
]
}
]
Expand All @@ -3221,20 +3197,20 @@
},
"parameters": [
"",
"Collect coin 1.wav",
"IncreasingScoreSound",
"no",
"100",
"RisingPitch"
"CurrentPitch"
]
},
{
"type": {
"value": "SetNumberVariable"
},
"parameters": [
"RisingPitch",
"CurrentPitch",
"*",
"1.01"
"PitchFactor"
]
},
{
Expand Down Expand Up @@ -3283,6 +3259,95 @@
]
}
]
},
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"value": "NumberVariable"
},
"parameters": [
"Value",
"<",
"Score"
]
}
],
"actions": [
{
"type": {
"value": "ScoreCounter::ScoreCounter::Function"
},
"parameters": [
"Object",
""
]
}
]
},
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"value": "SetNumberVariable"
},
"parameters": [
"Score",
"=",
"Value"
]
},
{
"type": {
"value": "ScoreCounter::RollingCounter::SetValue"
},
"parameters": [
"Counter",
"RollingCounter",
"=",
"Score",
""
]
}
]
}
],
"parameters": [
{
"description": "Object",
"name": "Object",
"supplementaryInformation": "ScoreCounter::ScoreCounter",
"type": "object"
}
],
"objectGroups": []
},
{
"description": "Reset the pitch to the baseline value.",
"fullName": "Reset pitch",
"functionType": "Action",
"name": "Function",
"private": true,
"sentence": "Reset the pitch of _PARAM0_",
"events": [
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"value": "SetNumberVariable"
},
"parameters": [
"CurrentPitch",
"=",
"RandomFloatInRange(PitchBaselineMin, PitchBaselineMax)"
]
}
]
}
],
"parameters": [
Expand All @@ -3305,6 +3370,57 @@
"description": "Default score",
"group": "Value",
"name": "Score"
},
{
"value": "",
"type": "Resource",
"label": "Increasing score sound",
"group": "Sound",
"extraInformation": [
"audio"
],
"choices": [],
"name": "IncreasingScoreSound"
},
{
"value": "0.7",
"type": "Number",
"label": "Min baseline pitch",
"group": "Sound",
"advanced": true,
"name": "PitchBaselineMin"
},
{
"value": "0.8",
"type": "Number",
"label": "Max baseline pitch",
"group": "Sound",
"advanced": true,
"name": "PitchBaselineMax"
},
{
"value": "1.01",
"type": "Number",
"label": "Pitch factor",
"group": "Sound",
"advanced": true,
"name": "PitchFactor"
},
{
"value": "1",
"type": "Number",
"unit": "Second",
"label": "Pitch reset timeout",
"group": "Sound",
"advanced": true,
"name": "PitchTimeout"
},
{
"value": "0.8",
"type": "Number",
"label": "Current pitch",
"hidden": true,
"name": "CurrentPitch"
}
]
}
Expand Down
21 changes: 16 additions & 5 deletions extensions/reviewed/TwoChoicesDialogBoxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "TwoChoicesDialogBoxes",
"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",
"shortDescription": "A dialog box with buttons to let users make a choice.",
"version": "0.3.1",
"version": "0.3.2",
"description": [
"A dialog box showing multiple options (usually \"yes\" and \"no\") and a customizable text message.",
"It handles keyboard, gamepad and touch controls.",
Expand Down Expand Up @@ -265,6 +265,7 @@
"ambientLightColorB": 200,
"ambientLightColorG": 200,
"ambientLightColorR": 200,
"camera2DPlaneMaxDrawingDistance": 5000,
"camera3DFarPlaneDistance": 10000,
"camera3DFieldOfView": 45,
"camera3DNearPlaneDistance": 3,
Expand Down Expand Up @@ -516,7 +517,7 @@
},
"parameters": [
"",
"HoverSound.wav",
"HoveredSound",
"",
"20",
"RandomFloatInRange(0.8,0.9)"
Expand Down Expand Up @@ -612,7 +613,7 @@
},
"parameters": [
"",
"HoverSound.wav",
"HoveredSound",
"",
"20",
"RandomFloatInRange(0.8,0.9)"
Expand Down Expand Up @@ -697,7 +698,7 @@
},
"parameters": [
"",
"HoverSound.wav",
"HoveredSound",
"",
"20",
"RandomFloatInRange(0.8,0.9)"
Expand Down Expand Up @@ -1392,14 +1393,24 @@
],
"hidden": true,
"name": "_PropertyMapping"
},
{
"value": "",
"type": "Resource",
"label": "Sound at hovering",
"extraInformation": [
"audio"
],
"choices": [],
"name": "HoveredSound"
}
]
}
],
"requiredExtensions": [
{
"extensionName": "Gamepads",
"extensionVersion": "0.9.0"
"extensionVersion": "0.9.1"
},
{
"extensionName": "PanelSpriteButton",
Expand Down