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
86 changes: 43 additions & 43 deletions extensions/community/PanelSpriteContinuousBar.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "PanelSpriteContinuousBar",
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Glyphster Pack/Master/SVG/Interface Elements/ea06363a57846caab544f536b78a952234b68d4941d41c1577852a1d61aefec3_Interface Elements_interface_ui_loading_progress_bar.svg",
"shortDescription": "A bar that represents a resource in the game (health, mana, ammo, etc).",
"version": "1.0.0",
"version": "1.1.0",
"description": "A bar that represents a resource in the game (health, mana, ammo, etc).",
"origin": {
"identifier": "ResourceBar",
Expand Down Expand Up @@ -501,7 +501,7 @@
"description": "the previous high value conservation duration (in seconds) of the object.",
"fullName": "Previous high value conservation duration",
"functionType": "ExpressionAndCondition",
"group": "Resource bar configuration",
"group": "FillBar bar configuration",
"name": "PreviousHighValueDuration",
"sentence": "the previous high value conservation duration",
"events": [
Expand Down Expand Up @@ -762,7 +762,7 @@
},
"parameters": [
"",
"Resource",
"FillBar",
"0",
"0",
""
Expand All @@ -783,7 +783,7 @@
"value": "ChangePlan"
},
"parameters": [
"Resource",
"FillBar",
"=",
"3"
]
Expand Down Expand Up @@ -967,7 +967,7 @@
"value": "Tween::RemoveTween"
},
"parameters": [
"Resource",
"FillBar",
"Tween",
"\"ChangeValue\""
]
Expand All @@ -977,7 +977,7 @@
"value": "PanelSpriteObject::Width"
},
"parameters": [
"Resource",
"FillBar",
"=",
"Object.WidthForValue()"
]
Expand Down Expand Up @@ -1079,7 +1079,7 @@
"value": "Tween::RemoveTween"
},
"parameters": [
"Resource",
"FillBar",
"Tween",
"\"ChangeValue\""
]
Expand All @@ -1095,7 +1095,7 @@
"value": "PanelSpriteObject::Width"
},
"parameters": [
"Resource",
"FillBar",
"=",
"Object.WidthForValue()"
]
Expand Down Expand Up @@ -1285,7 +1285,7 @@
"value": "PanelSpriteObject::Width"
},
"parameters": [
"Resource",
"FillBar",
"<",
"Buffer.Width()"
]
Expand All @@ -1311,7 +1311,7 @@
"value": "PanelSpriteObject::Width"
},
"parameters": [
"Resource",
"FillBar",
">=",
"Buffer.Width()"
]
Expand Down Expand Up @@ -1356,7 +1356,7 @@
"value": "MettreXY"
},
"parameters": [
"Resource",
"FillBar",
"=",
"Object.PropertyBarLeftPadding()",
"=",
Expand All @@ -1368,7 +1368,7 @@
"value": "PanelSpriteObject::Width"
},
"parameters": [
"Resource",
"FillBar",
"=",
"Object.WidthForValue()"
]
Expand All @@ -1378,7 +1378,7 @@
"value": "PanelSpriteObject::Height"
},
"parameters": [
"Resource",
"FillBar",
"=",
"round(Background.Height() - Object.PropertyBarTopPadding() - Object.PropertyBarBottomPadding())"
]
Expand All @@ -1396,9 +1396,9 @@
"parameters": [
"Buffer",
"=",
"Resource.X()",
"FillBar.X()",
"=",
"Resource.Y()"
"FillBar.Y()"
]
},
{
Expand All @@ -1408,7 +1408,7 @@
"parameters": [
"Buffer",
"=",
"Resource.Width()"
"FillBar.Width()"
]
},
{
Expand All @@ -1418,7 +1418,7 @@
"parameters": [
"Buffer",
"=",
"Resource.Height()"
"FillBar.Height()"
]
}
]
Expand Down Expand Up @@ -1456,7 +1456,7 @@
"parameters": [
"Label",
"=",
"round(Resource.CenterY())"
"round(FillBar.CenterY())"
]
},
{
Expand Down Expand Up @@ -1499,7 +1499,7 @@
"value": "SetReturnNumber"
},
"parameters": [
"Resource.ResourceBar::Value()"
"FillBar.ResourceBar::Value()"
]
}
]
Expand Down Expand Up @@ -1534,7 +1534,7 @@
"value": "PanelSpriteContinuousBar::ResourceBar::SetValue"
},
"parameters": [
"Resource",
"FillBar",
"ResourceBar",
"=",
"GetArgumentAsNumber(\"Value\")",
Expand All @@ -1546,7 +1546,7 @@
"value": "Tween::AddObjectWidthTween"
},
"parameters": [
"Resource",
"FillBar",
"Tween",
"\"ChangeValue\"",
"Object.WidthForValue()",
Expand Down Expand Up @@ -1574,7 +1574,7 @@
"value": "PanelSpriteContinuousBar::ResourceBar::IsChanging"
},
"parameters": [
"Resource",
"FillBar",
"ResourceBar",
""
]
Expand All @@ -1588,7 +1588,7 @@
"parameters": [
"Buffer",
"=",
"round(Object.FullBarWidth() * Resource.ResourceBar::PreviousHighValue() / Resource.ResourceBar::MaxValue())"
"round(Object.FullBarWidth() * FillBar.ResourceBar::PreviousHighValue() / FillBar.ResourceBar::MaxValue())"
]
}
]
Expand Down Expand Up @@ -1627,7 +1627,7 @@
"value": "SetReturnNumber"
},
"parameters": [
"Resource.ResourceBar::PropertyMaxValue()"
"FillBar.ResourceBar::PropertyMaxValue()"
]
}
]
Expand Down Expand Up @@ -1662,7 +1662,7 @@
"value": "PanelSpriteContinuousBar::ResourceBar::SetMaxValue"
},
"parameters": [
"Resource",
"FillBar",
"ResourceBar",
"=",
"GetArgumentAsNumber(\"Value\")",
Expand Down Expand Up @@ -1710,7 +1710,7 @@
"description": "Check if the bar is empty.",
"fullName": "Empty",
"functionType": "Condition",
"group": "Resource bar",
"group": "FillBar bar",
"name": "IsEmpty",
"sentence": "_PARAM0_ is empty",
"events": [
Expand All @@ -1722,7 +1722,7 @@
"value": "PanelSpriteContinuousBar::ResourceBar::IsEmpty"
},
"parameters": [
"Resource",
"FillBar",
"ResourceBar",
"="
]
Expand Down Expand Up @@ -1754,7 +1754,7 @@
"description": "Check if the bar is full.",
"fullName": "Full",
"functionType": "Condition",
"group": "Resource bar",
"group": "FillBar bar",
"name": "IsFull",
"sentence": "_PARAM0_ is full",
"events": [
Expand All @@ -1766,7 +1766,7 @@
"value": "PanelSpriteContinuousBar::ResourceBar::IsFull"
},
"parameters": [
"Resource",
"FillBar",
"ResourceBar",
"="
]
Expand Down Expand Up @@ -1798,7 +1798,7 @@
"description": "the previous value conservation duration (in seconds) of the object.",
"fullName": "Previous value conservation duration",
"functionType": "ExpressionAndCondition",
"group": "Resource bar configuration",
"group": "FillBar bar configuration",
"name": "PreviousValueDuration",
"sentence": "the previous value conservation duration",
"events": [
Expand All @@ -1811,7 +1811,7 @@
"value": "SetReturnNumber"
},
"parameters": [
"Resource.ResourceBar::PropertyPreviousHighValueDuration()"
"FillBar.ResourceBar::PropertyPreviousHighValueDuration()"
]
}
]
Expand Down Expand Up @@ -1846,7 +1846,7 @@
"value": "PanelSpriteContinuousBar::ResourceBar::SetPreviousHighValueDuration"
},
"parameters": [
"Resource",
"FillBar",
"ResourceBar",
"=",
"GetArgumentAsNumber(\"Value\")",
Expand Down Expand Up @@ -1927,7 +1927,7 @@
"description": "Check if the resource value is changing.",
"fullName": "Value is changing",
"functionType": "Condition",
"group": "Resource bar",
"group": "FillBar bar",
"name": "IsChanging",
"private": true,
"sentence": "_PARAM0_ value is changing",
Expand All @@ -1940,7 +1940,7 @@
"value": "PanelSpriteContinuousBar::ResourceBar::IsChanging"
},
"parameters": [
"Resource",
"FillBar",
"ResourceBar",
""
]
Expand Down Expand Up @@ -1984,7 +1984,7 @@
"value": "SetReturnNumber"
},
"parameters": [
"round(Object.FullBarWidth() * Resource.ResourceBar::Value() / Resource.ResourceBar::MaxValue())"
"round(Object.FullBarWidth() * FillBar.ResourceBar::Value() / FillBar.ResourceBar::MaxValue())"
]
}
]
Expand Down Expand Up @@ -2042,7 +2042,7 @@
"description": "Check if the label is shown.",
"fullName": "Label is shown",
"functionType": "Condition",
"group": "Resource bar configuration",
"group": "FillBar bar configuration",
"name": "IsLabelShown",
"sentence": "_PARAM0_ label is shown",
"events": [
Expand Down Expand Up @@ -2084,7 +2084,7 @@
"description": "Show (or hide) the label on the bar.",
"fullName": "Show label",
"functionType": "Action",
"group": "Resource bar configuration",
"group": "FillBar bar configuration",
"name": "SetLabelShown",
"sentence": "Show the label of _PARAM0_: _PARAM1_",
"events": [
Expand Down Expand Up @@ -2215,7 +2215,7 @@
"group": "Bar",
"extraInformation": [
"Label",
"Resource",
"FillBar",
"Buffer"
],
"hidden": false,
Expand All @@ -2229,7 +2229,7 @@
"group": "Bar",
"extraInformation": [
"Label",
"Resource",
"FillBar",
"Buffer"
],
"hidden": false,
Expand All @@ -2243,7 +2243,7 @@
"group": "Bar",
"extraInformation": [
"Label",
"Resource",
"FillBar",
"Buffer"
],
"hidden": false,
Expand All @@ -2257,7 +2257,7 @@
"group": "Bar",
"extraInformation": [
"Label",
"Resource",
"FillBar",
"Buffer"
],
"hidden": false,
Expand Down Expand Up @@ -2356,7 +2356,7 @@
"description": "Only used by the scene editor.",
"group": "",
"extraInformation": [
"Resource"
"FillBar"
],
"hidden": true,
"name": "LabelVerticalAnchorTarget"
Expand Down Expand Up @@ -2390,7 +2390,7 @@
"bottomMargin": 0,
"height": 32,
"leftMargin": 0,
"name": "Resource",
"name": "FillBar",
"rightMargin": 0,
"tags": "",
"texture": "",
Expand Down
Loading