Skip to content

Commit 94745f8

Browse files
authored
Migrate properties to variables (the ones inside "or" conditions) (#1699)
- Don't show in changelog
1 parent 2b575e0 commit 94745f8

16 files changed

+211
-215
lines changed

extensions/community/CountdownTimer.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "CountdownTimer",
1010
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/UI Essentials/a87576ab3a35744221b26f87e4409ec174fb8fb79435b181232c40c29ac7340e_UI Essentials_sand_clock_time.svg",
1111
"shortDescription": "A timer against the clock to create timer challenges in your projects. Countdown functionality.",
12-
"version": "1.0.1",
12+
"version": "1.0.2",
1313
"description": "This extension provides a timer against the clock to create timed challenges in your projects. You can set an initial time in seconds and then start the timer to count down. The extension includes actions to start or reset the timer, stop it at zero or allow negative numbers, and get the time remaining on the timer via an expression. With this extension, you will be able to easily add countdown functionality.",
1414
"tags": [
1515
"Countdown",
@@ -93,10 +93,12 @@
9393
{
9494
"type": {
9595
"inverted": true,
96-
"value": "GetArgumentAsBoolean"
96+
"value": "BooleanVariable"
9797
},
9898
"parameters": [
99-
"\"ZeroNumbers\""
99+
"ZeroNumbers",
100+
"True",
101+
""
100102
]
101103
}
102104
],
@@ -356,4 +358,4 @@
356358
],
357359
"eventsBasedBehaviors": [],
358360
"eventsBasedObjects": []
359-
}
361+
}

extensions/community/HedgehogPlatformer.json

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "HedgehogPlatformer",
1010
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Glyphster Pack/Master/SVG/Space/9ea467d2404c1736b87d763c884e9b9dfb13a401360f69c6a17afc8f5d583d58_Space_warp_galaxy.svg",
1111
"shortDescription": "Jump and run on platforms at 360°.",
12-
"version": "1.1.1",
12+
"version": "1.1.2",
1313
"description": [
1414
"A platformer engine for Sonic-like games.",
1515
"",
@@ -1775,11 +1775,10 @@
17751775
},
17761776
{
17771777
"type": {
1778-
"value": "HedgehogPlatformer::HedgehogCharacter::PropertyGroundSpeed"
1778+
"value": "NumberVariable"
17791779
},
17801780
"parameters": [
1781-
"Object",
1782-
"Behavior",
1781+
"GroundSpeed",
17831782
"!=",
17841783
"0"
17851784
]
@@ -12717,11 +12716,10 @@
1271712716
},
1271812717
{
1271912718
"type": {
12720-
"value": "HedgehogPlatformer::HedgehogCharacterAnimator::PropertyBrakeAnimationName"
12719+
"value": "StringVariable"
1272112720
},
1272212721
"parameters": [
12723-
"Object",
12724-
"Behavior",
12722+
"BrakeAnimationName",
1272512723
"=",
1272612724
"\"\""
1272712725
]
@@ -12764,11 +12762,10 @@
1276412762
},
1276512763
{
1276612764
"type": {
12767-
"value": "HedgehogPlatformer::HedgehogCharacterAnimator::PropertyRunAnimationName"
12765+
"value": "StringVariable"
1276812766
},
1276912767
"parameters": [
12770-
"Object",
12771-
"Behavior",
12768+
"RunAnimationName",
1277212769
"=",
1277312770
"\"\""
1277412771
]
@@ -12811,11 +12808,10 @@
1281112808
},
1281212809
{
1281312810
"type": {
12814-
"value": "HedgehogPlatformer::HedgehogCharacterAnimator::PropertyWalkAnimationName"
12811+
"value": "StringVariable"
1281512812
},
1281612813
"parameters": [
12817-
"Object",
12818-
"Behavior",
12814+
"WalkAnimationName",
1281912815
"=",
1282012816
"\"\""
1282112817
]

extensions/community/PlatformLedgeGrabber.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "PlatformLedgeGrabber",
1010
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/human-handsup.svg",
1111
"shortDescription": "Grab platforms ledges within reach automatically.",
12-
"version": "0.2.0",
12+
"version": "0.2.1",
1313
"description": [
1414
"Platforms ledges are grabbed automatically when they are within reach.",
1515
"",
@@ -325,20 +325,22 @@
325325
"subInstructions": [
326326
{
327327
"type": {
328-
"value": "PlatformLedgeGrabber::PlatformLedgeGrabber::PropertyIsMovingLeftAutomatically"
328+
"value": "BooleanVariable"
329329
},
330330
"parameters": [
331-
"Object",
332-
"Behavior"
331+
"IsMovingLeftAutomatically",
332+
"True",
333+
""
333334
]
334335
},
335336
{
336337
"type": {
337-
"value": "PlatformLedgeGrabber::PlatformLedgeGrabber::PropertyIsMovingRightAutomatically"
338+
"value": "BooleanVariable"
338339
},
339340
"parameters": [
340-
"Object",
341-
"Behavior"
341+
"IsMovingRightAutomatically",
342+
"True",
343+
""
342344
]
343345
}
344346
]

extensions/community/RectangularMovement.json

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"name": "RectangularMovement",
1111
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/shape-rectangle-plus.svg",
1212
"shortDescription": "Allow an object to move in a rectangular pattern.",
13-
"version": "0.3.0",
13+
"version": "0.3.1",
1414
"tags": [
1515
"rectangular",
1616
"movement",
@@ -1659,11 +1659,10 @@
16591659
{
16601660
"type": {
16611661
"inverted": false,
1662-
"value": "RectangularMovement::RectangularMovement::PropertyProgressX"
1662+
"value": "NumberVariable"
16631663
},
16641664
"parameters": [
1665-
"Object",
1666-
"Behavior",
1665+
"ProgressX",
16671666
"<",
16681667
"0"
16691668
],
@@ -1672,11 +1671,10 @@
16721671
{
16731672
"type": {
16741673
"inverted": false,
1675-
"value": "RectangularMovement::RectangularMovement::PropertyHorizontalDistance"
1674+
"value": "NumberVariable"
16761675
},
16771676
"parameters": [
1678-
"Object",
1679-
"Behavior",
1677+
"HorizontalDistance",
16801678
"=",
16811679
"0"
16821680
],
@@ -1869,11 +1867,10 @@
18691867
{
18701868
"type": {
18711869
"inverted": false,
1872-
"value": "RectangularMovement::RectangularMovement::PropertyProgressY"
1870+
"value": "NumberVariable"
18731871
},
18741872
"parameters": [
1875-
"Object",
1876-
"Behavior",
1873+
"ProgressY",
18771874
"<",
18781875
"0"
18791876
],
@@ -1882,11 +1879,10 @@
18821879
{
18831880
"type": {
18841881
"inverted": false,
1885-
"value": "RectangularMovement::RectangularMovement::PropertyVerticalDistance"
1882+
"value": "NumberVariable"
18861883
},
18871884
"parameters": [
1888-
"Object",
1889-
"Behavior",
1885+
"VerticalDistance",
18901886
"=",
18911887
"0"
18921888
],

extensions/community/ScreenOrientationChecker.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "ScreenOrientationChecker",
1010
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/0126888931a4a4f82bb2824df9f096347ace1c47f510c44df42aa8dc9e49e24a_screen-rotation.svg",
1111
"shortDescription": "Display a customizable screen asking the user to rotate their phone/tablet if not in the right orientation.",
12-
"version": "0.1.0",
12+
"version": "0.1.1",
1313
"description": "Display a customizable screen asking the user to rotate their phone/tablet if not in the right orientation.",
1414
"tags": [
1515
"screen",
@@ -291,18 +291,22 @@
291291
"subInstructions": [
292292
{
293293
"type": {
294-
"value": "ScreenOrientationChecker::ScreenOrientationChecker::PropertyIsShown"
294+
"value": "BooleanVariable"
295295
},
296296
"parameters": [
297-
"Object"
297+
"IsShown",
298+
"True",
299+
""
298300
]
299301
},
300302
{
301303
"type": {
302-
"value": "ScreenOrientationChecker::ScreenOrientationChecker::PropertyIsForceShown"
304+
"value": "BooleanVariable"
303305
},
304306
"parameters": [
305-
"Object"
307+
"IsForceShown",
308+
"True",
309+
""
306310
]
307311
}
308312
]

0 commit comments

Comments
 (0)