Skip to content

Commit

Permalink
[Reviewed] Rename some parameters to avoid future name conflicts with…
Browse files Browse the repository at this point in the history
… properties
  • Loading branch information
D8H committed Jan 11, 2025
1 parent e2db428 commit 0886b36
Show file tree
Hide file tree
Showing 16 changed files with 449 additions and 577 deletions.
166 changes: 52 additions & 114 deletions extensions/reviewed/AdvancedJump.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions extensions/reviewed/AdvancedJump3D.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"name": "AdvancedJump3D",
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Sports and Fitness/Sports and Fitness_training_running_run.svg",
"shortDescription": "Let 3D physics characters: air jump, wall jump wall sliding, coyote time and dashing.",
"version": "1.0.0",
"version": "1.0.1",
"description": [
"This extension provides behaviors to:",
"",
"* Jump in mid-air",
"* Do coyote time, also known as \"ledge tolerance\". It lets players jumping even after their character is no longer touching the ground for a given amount of time. It aims to give players a feeling of control and reduce frustration."
],
"origin": {
"identifier": "AdvancedJump",
"identifier": "AdvancedJump3D",
"name": "gdevelop-extension-store"
},
"tags": [
Expand Down Expand Up @@ -974,7 +974,7 @@
"Object",
"Behavior",
"=",
"CoyoteTime"
"Value"
]
}
]
Expand All @@ -995,7 +995,7 @@
{
"description": "Duration",
"longDescription": "Coyote time duration in seconds.",
"name": "CoyoteTime",
"name": "Value",
"type": "expression"
}
],
Expand Down Expand Up @@ -1191,7 +1191,7 @@
"Object",
"Behavior",
"=",
"AirJumpCountMaximum"
"Value"
]
}
]
Expand All @@ -1211,7 +1211,7 @@
},
{
"description": "Number of air jumps",
"name": "AirJumpCountMaximum",
"name": "Value",
"type": "expression"
}
],
Expand Down
126 changes: 63 additions & 63 deletions extensions/reviewed/BoidsMovement.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "BoidsMovement",
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Restaurant/Restaurant_restaurant_seafood_animal_fish.svg",
"shortDescription": "Simulates flocks movement.",
"version": "0.3.1",
"version": "0.3.2",
"description": [
"Simulates swarms or flocks movement following the separation, alignment, cohesion principles. The flock can be attracted to a location or avoid some obstacles.",
"",
Expand Down Expand Up @@ -1379,26 +1379,33 @@
"objectGroups": []
},
{
"description": "Change the maximum speed of the object.",
"fullName": "Maximum speed",
"functionType": "Action",
"description": "Check if the object is rotated while moving on its path.",
"fullName": "Object Rotated",
"functionType": "Condition",
"group": "Boids movement configuration",
"name": "SetMaxSpeed",
"sentence": "Change the maximum speed of _PARAM0_ to _PARAM2_",
"name": "ShouldRotate",
"sentence": "_PARAM0_ is rotated when moving",
"events": [
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
"conditions": [
{
"type": {
"value": "BoidsMovement::BoidsMovement::SetPropertyMaxSpeed"
"value": "BoidsMovement::BoidsMovement::PropertyShouldRotate"
},
"parameters": [
"Object",
"Behavior",
"=",
"MaxSpeed"
"Behavior"
]
}
],
"actions": [
{
"type": {
"value": "SetReturnBoolean"
},
"parameters": [
"True"
]
}
]
Expand All @@ -1415,41 +1422,36 @@
"name": "Behavior",
"supplementaryInformation": "BoidsMovement::BoidsMovement",
"type": "behavior"
},
{
"description": "Max Speed",
"name": "MaxSpeed",
"type": "expression"
}
],
"objectGroups": []
},
{
"description": "Change the maximum acceleration of the object.",
"fullName": "Maximum acceleration",
"functionType": "Action",
"description": "Return the maximum speed.",
"fullName": "Maximum speed",
"functionType": "Expression",
"group": "Boids movement configuration",
"name": "SetMaxAcceleration",
"sentence": "Change the maximum acceleration of _PARAM0_ to _PARAM2_",
"name": "MaxSpeed",
"sentence": "",
"events": [
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"value": "BoidsMovement::BoidsMovement::SetPropertyMaxAcceleration"
"value": "SetReturnNumber"
},
"parameters": [
"Object",
"Behavior",
"=",
"SteeringForce"
"MaxSpeed"
]
}
]
}
],
"expressionType": {
"type": "expression"
},
"parameters": [
{
"description": "Object",
Expand All @@ -1461,43 +1463,31 @@
"name": "Behavior",
"supplementaryInformation": "BoidsMovement::BoidsMovement",
"type": "behavior"
},
{
"description": "Steering Force",
"name": "SteeringForce",
"type": "expression"
}
],
"objectGroups": []
},
{
"description": "Check if the object is rotated while moving on its path.",
"fullName": "Object Rotated",
"functionType": "Condition",
"description": "Change the maximum speed of the object.",
"fullName": "Maximum speed",
"functionType": "Action",
"group": "Boids movement configuration",
"name": "ShouldRotate",
"sentence": "_PARAM0_ is rotated when moving",
"name": "SetMaxSpeed",
"sentence": "Change the maximum speed of _PARAM0_ to _PARAM2_",
"events": [
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"value": "BoidsMovement::BoidsMovement::PropertyShouldRotate"
},
"parameters": [
"Object",
"Behavior"
]
}
],
"conditions": [],
"actions": [
{
"type": {
"value": "SetReturnBoolean"
"value": "BoidsMovement::BoidsMovement::SetPropertyMaxSpeed"
},
"parameters": [
"True"
"Object",
"Behavior",
"=",
"Value"
]
}
]
Expand All @@ -1514,16 +1504,21 @@
"name": "Behavior",
"supplementaryInformation": "BoidsMovement::BoidsMovement",
"type": "behavior"
},
{
"description": "Max Speed",
"name": "Value",
"type": "expression"
}
],
"objectGroups": []
},
{
"description": "Return the maximum speed.",
"fullName": "Maximum speed",
"description": "Return the maximum acceleration.",
"fullName": "Maximum acceleration",
"functionType": "Expression",
"group": "Boids movement configuration",
"name": "MaxSpeed",
"name": "MaxAcceleration",
"sentence": "",
"events": [
{
Expand All @@ -1535,7 +1530,7 @@
"value": "SetReturnNumber"
},
"parameters": [
"MaxSpeed"
"MaxAcceleration"
]
}
]
Expand All @@ -1560,31 +1555,31 @@
"objectGroups": []
},
{
"description": "Return the maximum acceleration.",
"description": "Change the maximum acceleration of the object.",
"fullName": "Maximum acceleration",
"functionType": "Expression",
"functionType": "Action",
"group": "Boids movement configuration",
"name": "MaxAcceleration",
"sentence": "",
"name": "SetMaxAcceleration",
"sentence": "Change the maximum acceleration of _PARAM0_ to _PARAM2_",
"events": [
{
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"value": "SetReturnNumber"
"value": "BoidsMovement::BoidsMovement::SetPropertyMaxAcceleration"
},
"parameters": [
"MaxAcceleration"
"Object",
"Behavior",
"=",
"Value"
]
}
]
}
],
"expressionType": {
"type": "expression"
},
"parameters": [
{
"description": "Object",
Expand All @@ -1596,6 +1591,11 @@
"name": "Behavior",
"supplementaryInformation": "BoidsMovement::BoidsMovement",
"type": "behavior"
},
{
"description": "Steering Force",
"name": "Value",
"type": "expression"
}
],
"objectGroups": []
Expand Down
Loading

0 comments on commit 0886b36

Please sign in to comment.