Skip to content

Commit 0886b36

Browse files
committed
[Reviewed] Rename some parameters to avoid future name conflicts with properties
1 parent e2db428 commit 0886b36

16 files changed

+449
-577
lines changed

extensions/reviewed/AdvancedJump.json

Lines changed: 52 additions & 114 deletions
Large diffs are not rendered by default.

extensions/reviewed/AdvancedJump3D.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
"name": "AdvancedJump3D",
99
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Sports and Fitness/Sports and Fitness_training_running_run.svg",
1010
"shortDescription": "Let 3D physics characters: air jump, wall jump wall sliding, coyote time and dashing.",
11-
"version": "1.0.0",
11+
"version": "1.0.1",
1212
"description": [
1313
"This extension provides behaviors to:",
1414
"",
1515
"* Jump in mid-air",
1616
"* 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."
1717
],
1818
"origin": {
19-
"identifier": "AdvancedJump",
19+
"identifier": "AdvancedJump3D",
2020
"name": "gdevelop-extension-store"
2121
},
2222
"tags": [
@@ -974,7 +974,7 @@
974974
"Object",
975975
"Behavior",
976976
"=",
977-
"CoyoteTime"
977+
"Value"
978978
]
979979
}
980980
]
@@ -995,7 +995,7 @@
995995
{
996996
"description": "Duration",
997997
"longDescription": "Coyote time duration in seconds.",
998-
"name": "CoyoteTime",
998+
"name": "Value",
999999
"type": "expression"
10001000
}
10011001
],
@@ -1191,7 +1191,7 @@
11911191
"Object",
11921192
"Behavior",
11931193
"=",
1194-
"AirJumpCountMaximum"
1194+
"Value"
11951195
]
11961196
}
11971197
]
@@ -1211,7 +1211,7 @@
12111211
},
12121212
{
12131213
"description": "Number of air jumps",
1214-
"name": "AirJumpCountMaximum",
1214+
"name": "Value",
12151215
"type": "expression"
12161216
}
12171217
],

extensions/reviewed/BoidsMovement.json

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "BoidsMovement",
99
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Restaurant/Restaurant_restaurant_seafood_animal_fish.svg",
1010
"shortDescription": "Simulates flocks movement.",
11-
"version": "0.3.1",
11+
"version": "0.3.2",
1212
"description": [
1313
"Simulates swarms or flocks movement following the separation, alignment, cohesion principles. The flock can be attracted to a location or avoid some obstacles.",
1414
"",
@@ -1379,26 +1379,33 @@
13791379
"objectGroups": []
13801380
},
13811381
{
1382-
"description": "Change the maximum speed of the object.",
1383-
"fullName": "Maximum speed",
1384-
"functionType": "Action",
1382+
"description": "Check if the object is rotated while moving on its path.",
1383+
"fullName": "Object Rotated",
1384+
"functionType": "Condition",
13851385
"group": "Boids movement configuration",
1386-
"name": "SetMaxSpeed",
1387-
"sentence": "Change the maximum speed of _PARAM0_ to _PARAM2_",
1386+
"name": "ShouldRotate",
1387+
"sentence": "_PARAM0_ is rotated when moving",
13881388
"events": [
13891389
{
13901390
"type": "BuiltinCommonInstructions::Standard",
1391-
"conditions": [],
1392-
"actions": [
1391+
"conditions": [
13931392
{
13941393
"type": {
1395-
"value": "BoidsMovement::BoidsMovement::SetPropertyMaxSpeed"
1394+
"value": "BoidsMovement::BoidsMovement::PropertyShouldRotate"
13961395
},
13971396
"parameters": [
13981397
"Object",
1399-
"Behavior",
1400-
"=",
1401-
"MaxSpeed"
1398+
"Behavior"
1399+
]
1400+
}
1401+
],
1402+
"actions": [
1403+
{
1404+
"type": {
1405+
"value": "SetReturnBoolean"
1406+
},
1407+
"parameters": [
1408+
"True"
14021409
]
14031410
}
14041411
]
@@ -1415,41 +1422,36 @@
14151422
"name": "Behavior",
14161423
"supplementaryInformation": "BoidsMovement::BoidsMovement",
14171424
"type": "behavior"
1418-
},
1419-
{
1420-
"description": "Max Speed",
1421-
"name": "MaxSpeed",
1422-
"type": "expression"
14231425
}
14241426
],
14251427
"objectGroups": []
14261428
},
14271429
{
1428-
"description": "Change the maximum acceleration of the object.",
1429-
"fullName": "Maximum acceleration",
1430-
"functionType": "Action",
1430+
"description": "Return the maximum speed.",
1431+
"fullName": "Maximum speed",
1432+
"functionType": "Expression",
14311433
"group": "Boids movement configuration",
1432-
"name": "SetMaxAcceleration",
1433-
"sentence": "Change the maximum acceleration of _PARAM0_ to _PARAM2_",
1434+
"name": "MaxSpeed",
1435+
"sentence": "",
14341436
"events": [
14351437
{
14361438
"type": "BuiltinCommonInstructions::Standard",
14371439
"conditions": [],
14381440
"actions": [
14391441
{
14401442
"type": {
1441-
"value": "BoidsMovement::BoidsMovement::SetPropertyMaxAcceleration"
1443+
"value": "SetReturnNumber"
14421444
},
14431445
"parameters": [
1444-
"Object",
1445-
"Behavior",
1446-
"=",
1447-
"SteeringForce"
1446+
"MaxSpeed"
14481447
]
14491448
}
14501449
]
14511450
}
14521451
],
1452+
"expressionType": {
1453+
"type": "expression"
1454+
},
14531455
"parameters": [
14541456
{
14551457
"description": "Object",
@@ -1461,43 +1463,31 @@
14611463
"name": "Behavior",
14621464
"supplementaryInformation": "BoidsMovement::BoidsMovement",
14631465
"type": "behavior"
1464-
},
1465-
{
1466-
"description": "Steering Force",
1467-
"name": "SteeringForce",
1468-
"type": "expression"
14691466
}
14701467
],
14711468
"objectGroups": []
14721469
},
14731470
{
1474-
"description": "Check if the object is rotated while moving on its path.",
1475-
"fullName": "Object Rotated",
1476-
"functionType": "Condition",
1471+
"description": "Change the maximum speed of the object.",
1472+
"fullName": "Maximum speed",
1473+
"functionType": "Action",
14771474
"group": "Boids movement configuration",
1478-
"name": "ShouldRotate",
1479-
"sentence": "_PARAM0_ is rotated when moving",
1475+
"name": "SetMaxSpeed",
1476+
"sentence": "Change the maximum speed of _PARAM0_ to _PARAM2_",
14801477
"events": [
14811478
{
14821479
"type": "BuiltinCommonInstructions::Standard",
1483-
"conditions": [
1484-
{
1485-
"type": {
1486-
"value": "BoidsMovement::BoidsMovement::PropertyShouldRotate"
1487-
},
1488-
"parameters": [
1489-
"Object",
1490-
"Behavior"
1491-
]
1492-
}
1493-
],
1480+
"conditions": [],
14941481
"actions": [
14951482
{
14961483
"type": {
1497-
"value": "SetReturnBoolean"
1484+
"value": "BoidsMovement::BoidsMovement::SetPropertyMaxSpeed"
14981485
},
14991486
"parameters": [
1500-
"True"
1487+
"Object",
1488+
"Behavior",
1489+
"=",
1490+
"Value"
15011491
]
15021492
}
15031493
]
@@ -1514,16 +1504,21 @@
15141504
"name": "Behavior",
15151505
"supplementaryInformation": "BoidsMovement::BoidsMovement",
15161506
"type": "behavior"
1507+
},
1508+
{
1509+
"description": "Max Speed",
1510+
"name": "Value",
1511+
"type": "expression"
15171512
}
15181513
],
15191514
"objectGroups": []
15201515
},
15211516
{
1522-
"description": "Return the maximum speed.",
1523-
"fullName": "Maximum speed",
1517+
"description": "Return the maximum acceleration.",
1518+
"fullName": "Maximum acceleration",
15241519
"functionType": "Expression",
15251520
"group": "Boids movement configuration",
1526-
"name": "MaxSpeed",
1521+
"name": "MaxAcceleration",
15271522
"sentence": "",
15281523
"events": [
15291524
{
@@ -1535,7 +1530,7 @@
15351530
"value": "SetReturnNumber"
15361531
},
15371532
"parameters": [
1538-
"MaxSpeed"
1533+
"MaxAcceleration"
15391534
]
15401535
}
15411536
]
@@ -1560,31 +1555,31 @@
15601555
"objectGroups": []
15611556
},
15621557
{
1563-
"description": "Return the maximum acceleration.",
1558+
"description": "Change the maximum acceleration of the object.",
15641559
"fullName": "Maximum acceleration",
1565-
"functionType": "Expression",
1560+
"functionType": "Action",
15661561
"group": "Boids movement configuration",
1567-
"name": "MaxAcceleration",
1568-
"sentence": "",
1562+
"name": "SetMaxAcceleration",
1563+
"sentence": "Change the maximum acceleration of _PARAM0_ to _PARAM2_",
15691564
"events": [
15701565
{
15711566
"type": "BuiltinCommonInstructions::Standard",
15721567
"conditions": [],
15731568
"actions": [
15741569
{
15751570
"type": {
1576-
"value": "SetReturnNumber"
1571+
"value": "BoidsMovement::BoidsMovement::SetPropertyMaxAcceleration"
15771572
},
15781573
"parameters": [
1579-
"MaxAcceleration"
1574+
"Object",
1575+
"Behavior",
1576+
"=",
1577+
"Value"
15801578
]
15811579
}
15821580
]
15831581
}
15841582
],
1585-
"expressionType": {
1586-
"type": "expression"
1587-
},
15881583
"parameters": [
15891584
{
15901585
"description": "Object",
@@ -1596,6 +1591,11 @@
15961591
"name": "Behavior",
15971592
"supplementaryInformation": "BoidsMovement::BoidsMovement",
15981593
"type": "behavior"
1594+
},
1595+
{
1596+
"description": "Steering Force",
1597+
"name": "Value",
1598+
"type": "expression"
15991599
}
16001600
],
16011601
"objectGroups": []

0 commit comments

Comments
 (0)