diff --git a/extensions/reviewed/AdvancedHTTP.json b/extensions/reviewed/AdvancedHTTP.json index 23e43074..871ca934 100644 --- a/extensions/reviewed/AdvancedHTTP.json +++ b/extensions/reviewed/AdvancedHTTP.json @@ -8,7 +8,7 @@ "name": "AdvancedHTTP", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Email/04e28ac117741933d15ac1cadb34e0d799c7a561352b1525a1b75c5bd1dbeabc_Email_email_envelope_letter_message_fast.svg", "shortDescription": "An extension to create HTTP requests with more advanced settings than the built-in \"Network request\" action, like specifying headers or bypassing CORS.", - "version": "1.0.0", + "version": "1.0.1", "description": "An extension to create HTTP requests with more advanced settings than the built-in \"Network request\" action, like specifying headers or bypassing CORS.", "tags": [ "header", @@ -50,7 +50,7 @@ "value": "GlobalVariableClearChildren" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")]" + "__AdvancedHTTP.Requests[Request]" ] }, { @@ -58,9 +58,9 @@ "value": "ModVarGlobalTxt" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].URL", + "__AdvancedHTTP.Requests[Request].URL", "=", - "GetArgumentAsString(\"URL\")" + "URL" ] } ] @@ -99,8 +99,8 @@ "value": "JSONToGlobalVariableStructure" }, "parameters": [ - "GlobalVarToJSON(__AdvancedHTTP.Requests[GetArgumentAsString(\"OriginRequest\")])", - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")]" + "GlobalVarToJSON(__AdvancedHTTP.Requests[OriginRequest])", + "__AdvancedHTTP.Requests[Request]" ] } ] @@ -139,9 +139,9 @@ "value": "ModVarGlobalTxt" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.method", + "__AdvancedHTTP.Requests[Request].Options.method", "=", - "GetArgumentAsString(\"Method\")" + "Method" ] } ] @@ -179,7 +179,7 @@ "value": "GlobalVariableChildExists" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options", + "__AdvancedHTTP.Requests[Request].Options", "\"method\"" ] } @@ -190,7 +190,7 @@ "value": "SetReturnString" }, "parameters": [ - "GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.method)" + "GlobalVariableString(__AdvancedHTTP.Requests[Request].Options.method)" ] } ] @@ -204,7 +204,7 @@ "value": "GlobalVariableChildExists" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options", + "__AdvancedHTTP.Requests[Request].Options", "\"method\"" ] } @@ -252,9 +252,9 @@ "value": "ModVarGlobalTxt" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.cache", + "__AdvancedHTTP.Requests[Request].Options.cache", "=", - "GetArgumentAsString(\"Cache\")" + "Cache" ] } ] @@ -293,7 +293,7 @@ "value": "GlobalVariableChildExists" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options", + "__AdvancedHTTP.Requests[Request].Options", "\"cache\"" ] } @@ -304,7 +304,7 @@ "value": "SetReturnString" }, "parameters": [ - "GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.cache)" + "GlobalVariableString(__AdvancedHTTP.Requests[Request].Options.cache)" ] } ] @@ -318,7 +318,7 @@ "value": "GlobalVariableChildExists" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options", + "__AdvancedHTTP.Requests[Request].Options", "\"cache\"" ] } @@ -367,9 +367,9 @@ "value": "ModVarGlobalTxt" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.body", + "__AdvancedHTTP.Requests[Request].Options.body", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -418,7 +418,7 @@ "value": "ModVarGlobalTxt" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.body", + "__AdvancedHTTP.Requests[Request].Options.body", "=", "ToJSON(__AdvancedHTTP.Body)" ] @@ -513,7 +513,7 @@ "value": "GlobalVariableChildExists" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options", + "__AdvancedHTTP.Requests[Request].Options", "\"body\"" ] } @@ -524,7 +524,7 @@ "value": "SetReturnString" }, "parameters": [ - "GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.body)" + "GlobalVariableString(__AdvancedHTTP.Requests[Request].Options.body)" ] } ] @@ -562,9 +562,9 @@ "value": "ModVarGlobalTxt" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.headers[GetArgumentAsString(\"Header\")]", + "__AdvancedHTTP.Requests[Request].Options.headers[Header]", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -602,7 +602,7 @@ "value": "GlobalVariableChildExists" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options", + "__AdvancedHTTP.Requests[Request].Options", "\"headers\"" ] }, @@ -611,8 +611,8 @@ "value": "GlobalVariableChildExists" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.headers", - "GetArgumentAsString(\"Header\")" + "__AdvancedHTTP.Requests[Request].Options.headers", + "Header" ] } ], @@ -622,7 +622,7 @@ "value": "SetReturnString" }, "parameters": [ - "GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.headers[GetArgumentAsString(\"Header\")])" + "GlobalVariableString(__AdvancedHTTP.Requests[Request].Options.headers[Header])" ] } ] @@ -666,9 +666,9 @@ "value": "ModVarGlobalTxt" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].URL", + "__AdvancedHTTP.Requests[Request].URL", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -701,7 +701,7 @@ "value": "SetReturnString" }, "parameters": [ - "GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].URL)" + "GlobalVariableString(__AdvancedHTTP.Requests[Request].URL)" ] } ] @@ -747,7 +747,7 @@ "value": "SetGlobalVariableAsBoolean" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].CORS", + "__AdvancedHTTP.Requests[Request].CORS", "True" ] } @@ -772,7 +772,7 @@ "value": "SetGlobalVariableAsBoolean" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].CORS", + "__AdvancedHTTP.Requests[Request].CORS", "False" ] } @@ -813,7 +813,7 @@ "value": "GlobalVariableAsBoolean" }, "parameters": [ - "__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].CORS", + "__AdvancedHTTP.Requests[Request].CORS", "True" ] } @@ -1158,7 +1158,7 @@ "value": "SetReturnString" }, "parameters": [ - "VariableString(__AdvancedHTTP.Response.headers[GetArgumentAsString(\"Header\")])" + "VariableString(__AdvancedHTTP.Response.headers[Header])" ] } ] diff --git a/extensions/reviewed/AdvancedJump.json b/extensions/reviewed/AdvancedJump.json index c407719e..f71c1662 100644 --- a/extensions/reviewed/AdvancedJump.json +++ b/extensions/reviewed/AdvancedJump.json @@ -8,7 +8,7 @@ "name": "AdvancedJump", "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 platformer characters: air jump, wall jump wall sliding, coyote time and dashing.", - "version": "0.1.2", + "version": "0.1.3", "description": [ "This extension provides behaviors to:", "", @@ -221,7 +221,7 @@ "Object", "\"__CoyoteTime_CoyoteJump\"", ">=", - "Object.Behavior::PropertyCoyoteTimeFrameDuration()" + "CoyoteTimeFrameDuration" ] } ], @@ -461,7 +461,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Floor jump: \" + ToString(Object.Behavior::PropertyAirJumpCountMaximum() - Object.Behavior::PropertyAirJumpCount()) + \" + 0\"", + "\"Floor jump: \" + ToString(AirJumpCountMaximum - AirJumpCount) + \" + 0\"", "\"info\"", "\"AirJump\"" ] @@ -587,7 +587,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Jump released: \" + ToString(Object.Behavior::PropertyAirJumpCountMaximum() - Object.Behavior::PropertyAirJumpCount()) + \" + 0\"", + "\"Jump released: \" + ToString(AirJumpCountMaximum - AirJumpCount) + \" + 0\"", "\"info\"", "\"AirJump\"" ] @@ -717,7 +717,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyAirJumpCountMaximum()" + "AirJumpCountMaximum" ] }, { @@ -773,7 +773,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Jump allowed: \" + ToString(Object.Behavior::PropertyAirJumpCountMaximum() - Object.Behavior::PropertyAirJumpCount()) + \" + 1\"", + "\"Jump allowed: \" + ToString(AirJumpCountMaximum - AirJumpCount) + \" + 1\"", "\"info\"", "\"AirJump\"" ] @@ -988,7 +988,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"CoyoteTime\")" + "CoyoteTime" ] } ] @@ -1181,7 +1181,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyAirJumpCountMaximum()" + "AirJumpCountMaximum" ] } ] @@ -1233,7 +1233,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "max(0, Object.Behavior::PropertyAirJumpCountMaximum() - Object.Behavior::PropertyAirJumpCount())" + "max(0, AirJumpCountMaximum - AirJumpCount)" ] } ] @@ -1270,7 +1270,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "clamp(1 + Object.Behavior::PropertyAirJumpCountMaximum() - Object.Behavior::PropertyAirJumpCount(), 0, Object.Behavior::PropertyAirJumpCountMaximum())" + "clamp(1 + AirJumpCountMaximum - AirJumpCount, 0, AirJumpCountMaximum)" ] } ] @@ -1314,7 +1314,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"AirJumpCountMaximum\")" + "AirJumpCountMaximum" ] } ] @@ -2300,7 +2300,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyJumpTimeFrame()", + "JumpTimeFrame", "" ] } @@ -2332,7 +2332,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyJumpTimeFrame()", + "JumpTimeFrame", "\"Jump\"", "" ] @@ -2433,7 +2433,7 @@ "Object", "PlatformerCharacter", "=", - "-Object.Behavior::PropertyWallJumpSpeedX()" + "-WallJumpSpeedX" ] } ] @@ -2461,7 +2461,7 @@ "Object", "PlatformerCharacter", "=", - "Object.Behavior::PropertyWallJumpSpeedX()" + "WallJumpSpeedX" ] } ] @@ -2519,7 +2519,7 @@ "Object", "\"__WallJump_TimeFromJumpStart\"", "<=", - "Object.Behavior::PropertySideSpeedSustainTime()" + "SideSpeedSustainTime" ] } ], @@ -2547,7 +2547,7 @@ "Object", "PlatformerCharacter", "=", - "-Object.Behavior::PropertyWallJumpSpeedX()" + "-WallJumpSpeedX" ] } ] @@ -2575,7 +2575,7 @@ "Object", "PlatformerCharacter", "=", - "Object.Behavior::PropertyWallJumpSpeedX()" + "WallJumpSpeedX" ] } ] @@ -2694,7 +2694,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyWallSlidingSpeedAbsorption()", + "WallSlidingSpeedAbsorption", "" ] }, @@ -3211,7 +3211,7 @@ "Object", "\"__WallJump_IsAgainstWall\"", "<=", - "GetArgumentAsNumber(\"TimeFrame\")" + "TimeFrame" ] } ], @@ -3267,7 +3267,7 @@ }, "parameters": [ "Object", - "\"__WallJump_KeyPressed_\" + GetArgumentAsString(\"Key\")" + "\"__WallJump_KeyPressed_\" + Key" ] } ] @@ -3313,7 +3313,7 @@ }, "parameters": [ "Object", - "\"__WallJump_KeyPressed_\" + GetArgumentAsString(\"Key\")" + "\"__WallJump_KeyPressed_\" + Key" ] } ] @@ -3372,9 +3372,9 @@ }, "parameters": [ "Object", - "\"__WallJump_KeyPressed_\" + GetArgumentAsString(\"Key\")", + "\"__WallJump_KeyPressed_\" + Key", "<=", - "GetArgumentAsNumber(\"TimeFrame\")" + "TimeFrame" ] } ], @@ -3459,7 +3459,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyWallJumpAccelerationX()", + "WallJumpAccelerationX", "\"WallJumpLeap\"", "" ] @@ -3477,7 +3477,7 @@ "Object", "PlatformerCharacter", "<", - "Object.Behavior::PropertyWallJumpSpeedX()" + "WallJumpSpeedX" ] } ], @@ -3489,7 +3489,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyWallJumpSpeedX()", + "WallJumpSpeedX", "\"WallJumpLeap\"", "" ] @@ -3601,7 +3601,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyWallSlidingGravity()", + "WallSlidingGravity", "\"WallJumpSliding\"", "" ] @@ -3613,7 +3613,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyWallSlidingMaxFallingSpeed()", + "WallSlidingMaxFallingSpeed", "\"WallJumpSliding\"", "" ] @@ -3711,7 +3711,7 @@ "Object", "PlatformerCharacter", "=", - "max(Object.Behavior::PropertyWallSlidingFallingSpeedMin(), Object.PlatformerCharacter::CurrentFallSpeed() - Object.PlatformerCharacter::CurrentJumpSpeed() - GetArgumentAsNumber(\"SpeedAbsorption\")) + Object.PlatformerCharacter::CurrentJumpSpeed()" + "max(WallSlidingFallingSpeedMin, Object.PlatformerCharacter::CurrentFallSpeed() - Object.PlatformerCharacter::CurrentJumpSpeed() - SpeedAbsorption) + Object.PlatformerCharacter::CurrentJumpSpeed()" ] } ] @@ -3754,7 +3754,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyJumpTimeFrame()" + "JumpTimeFrame" ] } ] @@ -3798,7 +3798,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"JumpTimeFrame\")" + "JumpTimeFrame" ] } ] @@ -3841,7 +3841,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyWallJumpSpeedX()" + "WallJumpSpeedX" ] } ] @@ -3885,7 +3885,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"WallJumpSpeedX\")" + "WallJumpSpeedX" ] } ] @@ -3928,7 +3928,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyWallJumpAccelerationX()" + "WallJumpAccelerationX" ] } ] @@ -3972,7 +3972,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"WallJumpAccelerationX\")" + "WallJumpAccelerationX" ] } ] @@ -4015,7 +4015,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyWallSlidingGravity()" + "WallSlidingGravity" ] } ] @@ -4059,7 +4059,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"WallSlidingGravity\")" + "WallSlidingGravity" ] } ] @@ -4102,7 +4102,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyWallSlidingMaxFallingSpeed()" + "WallSlidingMaxFallingSpeed" ] } ] @@ -4146,7 +4146,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"WallSlidingMaxFallingSpeed\")" + "WallSlidingMaxFallingSpeed" ] } ] @@ -4189,7 +4189,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyWallSlidingSpeedAbsorption()" + "WallSlidingSpeedAbsorption" ] } ] @@ -4604,7 +4604,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyDiveMaxFallingSpeed()", + "DiveMaxFallingSpeed", "\"DiveDash\"", "" ] @@ -4616,7 +4616,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyDiveGravity()", + "DiveGravity", "\"DiveDash\"", "" ] @@ -4629,7 +4629,7 @@ "Object", "PlatformerCharacter", "=", - "Object.Behavior::PropertyDiveInitialFallingSpeed()" + "DiveInitialFallingSpeed" ] }, { @@ -4974,7 +4974,7 @@ "Object", "\"__PlatformerDash_CoolDown\"", "<", - "Object.Behavior::PropertyCoolDownDuration()" + "CoolDownDuration" ] } ], @@ -5150,7 +5150,7 @@ "Object", "\"__PlatformerDash_SustainTime\"", ">", - "Object.Behavior::PropertyDashSustainDurationMax()" + "DashSustainDurationMax" ] }, { @@ -5177,7 +5177,7 @@ "Object", "\"__PlatformerDash_SustainTime\"", "<=", - "Object.Behavior::PropertyDashSustainDurationMin()" + "DashSustainDurationMin" ] } ] @@ -5203,7 +5203,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyDashDecceleration()", + "DashDecceleration", "\"HorizontalDash\"", "" ] @@ -5232,7 +5232,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyDashGravity()", + "DashGravity", "\"HorizontalDashGravity\"", "" ] @@ -5515,7 +5515,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyDashSustainGravity()", + "DashSustainGravity", "\"HorizontalDashGravity\"", "" ] @@ -5527,7 +5527,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyDashSustainSpeedMax()", + "DashSustainSpeedMax", "\"HorizontalDash\"", "" ] @@ -5539,7 +5539,7 @@ "parameters": [ "Object", "PlatformerConfigurationStack", - "Object.Behavior::PropertyDashSustainAcceleration()", + "DashSustainAcceleration", "\"HorizontalDash\"", "" ] @@ -5590,7 +5590,7 @@ "Object", "PlatformerCharacter", "=", - "-Object.Behavior::PropertyDashInitialSpeed()" + "-DashInitialSpeed" ] } ] @@ -5618,7 +5618,7 @@ "Object", "PlatformerCharacter", "=", - "Object.Behavior::PropertyDashInitialSpeed()" + "DashInitialSpeed" ] } ] @@ -6353,8 +6353,8 @@ "Object", "Behavior", "\"gravity\"", - "GetArgumentAsNumber(\"SettingValue\")", - "GetArgumentAsString(\"Identifier\")", + "SettingValue", + "Identifier", "" ] }, @@ -6366,7 +6366,7 @@ "Object", "PlatformerCharacter", "=", - "GetArgumentAsNumber(\"SettingValue\")" + "SettingValue" ] } ] @@ -6416,8 +6416,8 @@ "Object", "Behavior", "\"deceleration\"", - "GetArgumentAsNumber(\"SettingValue\")", - "GetArgumentAsString(\"Identifier\")", + "SettingValue", + "Identifier", "" ] }, @@ -6429,7 +6429,7 @@ "Object", "PlatformerCharacter", "=", - "GetArgumentAsNumber(\"SettingValue\")" + "SettingValue" ] } ] @@ -6479,8 +6479,8 @@ "Object", "Behavior", "\"maxSpeed\"", - "GetArgumentAsNumber(\"SettingValue\")", - "GetArgumentAsString(\"Identifier\")", + "SettingValue", + "Identifier", "" ] }, @@ -6492,7 +6492,7 @@ "Object", "PlatformerCharacter", "=", - "GetArgumentAsNumber(\"SettingValue\")" + "SettingValue" ] } ] @@ -6542,8 +6542,8 @@ "Object", "Behavior", "\"acceleration\"", - "GetArgumentAsNumber(\"SettingValue\")", - "GetArgumentAsString(\"Identifier\")", + "SettingValue", + "Identifier", "" ] }, @@ -6555,7 +6555,7 @@ "Object", "PlatformerCharacter", "=", - "GetArgumentAsNumber(\"SettingValue\")" + "SettingValue" ] } ] @@ -6605,8 +6605,8 @@ "Object", "Behavior", "\"maxFallSpeed\"", - "GetArgumentAsNumber(\"SettingValue\")", - "GetArgumentAsString(\"Identifier\")", + "SettingValue", + "Identifier", "" ] }, @@ -6618,7 +6618,7 @@ "Object", "PlatformerCharacter", "=", - "GetArgumentAsNumber(\"SettingValue\")", + "SettingValue", "yes" ] } diff --git a/extensions/reviewed/AdvancedProjectile.json b/extensions/reviewed/AdvancedProjectile.json index 80cbeb73..38ef34a6 100644 --- a/extensions/reviewed/AdvancedProjectile.json +++ b/extensions/reviewed/AdvancedProjectile.json @@ -8,7 +8,7 @@ "name": "AdvancedProjectile", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/4ab6bb9f91ea1110c0c2aabd7fe17e320c1d0ebbb44f56d01885307d7d2e723b_arrow-decision-auto.svg", "shortDescription": "Control how a projectile moves including speed, acceleration, distance, and lifetime.", - "version": "1.0.0", + "version": "1.0.1", "description": [ "Control how a projectile moves including speed, acceleration, distance, and lifetime.", "", @@ -228,7 +228,7 @@ "parameters": [ "Object", "Object.Angle()", - "Object.Behavior::PropertyStartingSpeed()", + "StartingSpeed", "1" ] } @@ -270,7 +270,7 @@ "parameters": [ "Object", "Object.Variable(__AdvancedProjectile.InitialForceAngle)", - "Object.Behavior::PropertyStartingSpeed()", + "StartingSpeed", "1" ] } @@ -487,7 +487,7 @@ "parameters": [ "Object", "Object.Angle()", - "TimeDelta() * Object.Behavior::PropertyAcceleration()", + "TimeDelta() * Acceleration", "1" ] } @@ -529,7 +529,7 @@ "parameters": [ "Object", "Object.ForceAngle()", - "TimeDelta() * Object.Behavior::PropertyAcceleration()", + "TimeDelta() * Acceleration", "1" ] } @@ -608,7 +608,7 @@ "parameters": [ "Object", "<", - "Object.Behavior::PropertyMinSpeed()" + "MinSpeed" ] } ], @@ -639,7 +639,7 @@ "parameters": [ "Object", "Object.Angle()", - "Object.Behavior::PropertyMinSpeed()", + "MinSpeed", "1" ] } @@ -666,7 +666,7 @@ "parameters": [ "Object", ">", - "Object.Behavior::PropertyMaxSpeed()" + "MaxSpeed" ] } ], @@ -697,7 +697,7 @@ "parameters": [ "Object", "Object.Variable(__AdvancedProjectile.CurrentForceAngle)", - "Object.Behavior::PropertyMaxSpeed()", + "MaxSpeed", "1" ] } @@ -760,7 +760,7 @@ "parameters": [ "DistanceBetweenPositions(Object.Variable(__AdvancedProjectile.StartingX), Object.Variable(__AdvancedProjectile.StartingY), Object.X(), Object.Y())", ">", - "Object.Behavior::PropertyMaxDistanceFromStartingPosition()" + "MaxDistanceFromStartingPosition" ] } ], @@ -830,7 +830,7 @@ "Object", "\"__AdvancedProjectile.Lifetime\"", ">", - "Object.Behavior::PropertyMaxLifetime()" + "MaxLifetime" ] } ], @@ -878,7 +878,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMaxLifetime()" + "MaxLifetime" ] } ] @@ -921,7 +921,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -998,7 +998,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMaxDistanceFromStartingPosition()" + "MaxDistanceFromStartingPosition" ] } ] @@ -1041,7 +1041,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1131,7 +1131,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMaxSpeed()" + "MaxSpeed" ] } ] @@ -1174,7 +1174,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1212,7 +1212,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMinSpeed()" + "MinSpeed" ] } ] @@ -1255,7 +1255,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1293,7 +1293,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyAcceleration()" + "Acceleration" ] } ] @@ -1336,7 +1336,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1374,7 +1374,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyStartingSpeed()" + "StartingSpeed" ] } ] @@ -1417,7 +1417,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] diff --git a/extensions/reviewed/ArrayTools.json b/extensions/reviewed/ArrayTools.json index 99a59624..7a08bffb 100644 --- a/extensions/reviewed/ArrayTools.json +++ b/extensions/reviewed/ArrayTools.json @@ -8,7 +8,7 @@ "name": "ArrayTools", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Text Editing/9bfb52500e68d0fd164b1e30bc696e40566187245b80c345848379f40bb6fad7_Text Editing_bullet_points_list.svg", "shortDescription": "A collection of utilities and tools for working with arrays.", - "version": "2.0.0", + "version": "2.0.1", "description": [ "> Note: The v2.0.0 is not compatible with v1.0.0. If you update, you wil have to update ALL USAGES of the extension.", "", @@ -467,7 +467,7 @@ "value": "Egal" }, "parameters": [ - "ArrayTools::IndexOf(__ArrayTools.Temp, GetArgumentAsNumber(\"Value\"))", + "ArrayTools::IndexOf(__ArrayTools.Temp, Value)", "!=", "-1" ] @@ -530,7 +530,7 @@ "value": "Egal" }, "parameters": [ - "ArrayTools::IndexOfStr(__ArrayTools.Temp, GetArgumentAsString(\"Value\"))", + "ArrayTools::IndexOfStr(__ArrayTools.Temp, Value)", "!=", "-1" ] @@ -1856,7 +1856,7 @@ "value": "Egal" }, "parameters": [ - "ArrayTools::IndexOf(__ArrayTools.Temp, GetArgumentAsNumber(\"Value\"))", + "ArrayTools::IndexOf(__ArrayTools.Temp, Value)", "!=", "-1" ] @@ -1919,7 +1919,7 @@ "value": "Egal" }, "parameters": [ - "ArrayTools::IndexOfStr(__ArrayTools.Temp, GetArgumentAsString(\"Value\"))", + "ArrayTools::IndexOfStr(__ArrayTools.Temp, Value)", "!=", "-1" ] @@ -3295,7 +3295,7 @@ "value": "Egal" }, "parameters": [ - "ArrayTools::IndexOf(__ArrayTools.Temp, GetArgumentAsNumber(\"Value\"))", + "ArrayTools::IndexOf(__ArrayTools.Temp, Value)", "!=", "-1" ] @@ -3363,7 +3363,7 @@ "value": "Egal" }, "parameters": [ - "ArrayTools::IndexOfStr(__ArrayTools.Temp, GetArgumentAsString(\"Value\"))", + "ArrayTools::IndexOfStr(__ArrayTools.Temp, Value)", "!=", "-1" ] diff --git a/extensions/reviewed/AuthorizedPlatformsValidation.json b/extensions/reviewed/AuthorizedPlatformsValidation.json index 13992292..c11cff73 100644 --- a/extensions/reviewed/AuthorizedPlatformsValidation.json +++ b/extensions/reviewed/AuthorizedPlatformsValidation.json @@ -8,7 +8,7 @@ "name": "AuthorizedPlatformsValidation", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/0d42bc9711bc135b0dfb0084a37469540468e243a560339b99e399bd77f48010_check-decagram.svg", "shortDescription": "Checks if the game is currently executed on an allowed platform (for web).", - "version": "1.0.0", + "version": "1.0.1", "description": [ "# About", "**Checks if your web game is being played on a platform your intended to publish on.**", @@ -164,7 +164,7 @@ }, "parameters": [ "__AuthorizedPlatformsValidation.AuthorizedPlatforms", - "GetArgumentAsString(\"Domain\")" + "Domain" ] } ] diff --git a/extensions/reviewed/BehaviorRemapper.json b/extensions/reviewed/BehaviorRemapper.json index e88c5566..8850a1c5 100644 --- a/extensions/reviewed/BehaviorRemapper.json +++ b/extensions/reviewed/BehaviorRemapper.json @@ -9,7 +9,7 @@ "name": "BehaviorRemapper", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/alpha-w-box-outline.svg", "shortDescription": "Quickly remap Behavior controls to different keys. ", - "version": "1.0.0", + "version": "1.0.1", "tags": [ "remapper", "key", @@ -51,7 +51,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyUp()" + "Up" ], "subInstructions": [] } @@ -83,7 +83,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyLeft()" + "Left" ], "subInstructions": [] } @@ -115,7 +115,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyRight()" + "Right" ], "subInstructions": [] } @@ -147,7 +147,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyDown()" + "Down" ], "subInstructions": [] } @@ -224,7 +224,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"up\")" + "up" ], "subInstructions": [] }, @@ -237,7 +237,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"left\")" + "left" ], "subInstructions": [] }, @@ -250,7 +250,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"right\")" + "right" ], "subInstructions": [] }, @@ -263,7 +263,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"down\")" + "down" ], "subInstructions": [] } @@ -369,7 +369,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"options\")", + "options", "=", "\"WASD\"" ], @@ -458,7 +458,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"options\")", + "options", "=", "\"ZQSD\"" ], @@ -547,7 +547,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"options\")", + "options", "=", "\"Numpad\"" ], @@ -636,7 +636,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"options\")", + "options", "=", "\"IJKL\"" ], @@ -811,7 +811,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyUp()" + "Up" ], "subInstructions": [] } @@ -854,7 +854,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyLeft()" + "Left" ], "subInstructions": [] } @@ -886,7 +886,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyRight()" + "Right" ], "subInstructions": [] } @@ -918,7 +918,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyDown()" + "Down" ], "subInstructions": [] } @@ -961,7 +961,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyJump()" + "Jump" ], "subInstructions": [] } @@ -1038,7 +1038,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"up\")" + "up" ], "subInstructions": [] }, @@ -1051,7 +1051,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"left\")" + "left" ], "subInstructions": [] }, @@ -1064,7 +1064,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"right\")" + "right" ], "subInstructions": [] }, @@ -1077,7 +1077,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"down\")" + "down" ], "subInstructions": [] }, @@ -1090,7 +1090,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"jump\")" + "jump" ], "subInstructions": [] } @@ -1206,7 +1206,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"options\")", + "options", "=", "\"WASD\"" ], @@ -1308,7 +1308,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"options\")", + "options", "=", "\"ZQSD\"" ], @@ -1410,7 +1410,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"options\")", + "options", "=", "\"Numpad\"" ], @@ -1512,7 +1512,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"options\")", + "options", "=", "\"IJKL\"" ], diff --git a/extensions/reviewed/BoidsMovement.json b/extensions/reviewed/BoidsMovement.json index 2b5f7bad..3ffb1aae 100644 --- a/extensions/reviewed/BoidsMovement.json +++ b/extensions/reviewed/BoidsMovement.json @@ -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.0", + "version": "0.3.1", "description": [ "Simulates swarms or flocks movement following the separation, alignment, cohesion principles. The flock can be attracted to a location or avoid some obstacles.", "", @@ -957,8 +957,7 @@ "Behavior", "TargetedObject.CenterX()", "TargetedObject.CenterY()", - "DecisionWeight", - "GetArgumentAsNumber(\"DecisionWeight\")" + "DecisionWeight" ] } ] diff --git a/extensions/reviewed/Boomerang.json b/extensions/reviewed/Boomerang.json index 0cfd8791..4379a9fc 100644 --- a/extensions/reviewed/Boomerang.json +++ b/extensions/reviewed/Boomerang.json @@ -9,7 +9,7 @@ "name": "Boomerang", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/boomerang.svg", "shortDescription": "Throw an object that returns to the thrower like a boomerang.", - "version": "1.0.0", + "version": "1.0.1", "tags": [ "boomerang", "throw", @@ -80,7 +80,7 @@ "parameters": [ "Object", "\"__Boomerang_ReturnTimeTimer\"", - "Object.Behavior::PropertyReturnTime()" + "ReturnTime" ], "subInstructions": [] } @@ -164,9 +164,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThrowerX()", - "Object.Behavior::PropertyThrowerY()", - "Object.Behavior::PropertyThrowSpeed()", + "ThrowerX", + "ThrowerY", + "ThrowSpeed", "0" ], "subInstructions": [] @@ -204,7 +204,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyRotation()", + "Rotation", "" ], "subInstructions": [] @@ -275,7 +275,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"ThrowSpeed\")" + "ThrowSpeed" ], "subInstructions": [] }, @@ -288,7 +288,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"ReturnTime\")" + "ReturnTime" ], "subInstructions": [] }, @@ -301,7 +301,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Rotation\")" + "Rotation" ], "subInstructions": [] }, @@ -348,8 +348,8 @@ }, "parameters": [ "Object", - "GetArgumentAsNumber(\"Angle\")", - "GetArgumentAsNumber(\"ThrowSpeed\")", + "Angle", + "ThrowSpeed", "1" ], "subInstructions": [] @@ -531,7 +531,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"ThrowSpeed\")" + "ThrowSpeed" ], "subInstructions": [] }, @@ -544,7 +544,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"ReturnTime\")" + "ReturnTime" ], "subInstructions": [] }, @@ -557,7 +557,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Rotation\")" + "Rotation" ], "subInstructions": [] }, @@ -604,9 +604,9 @@ }, "parameters": [ "Object", - "GetArgumentAsNumber(\"PositionX\")", - "GetArgumentAsNumber(\"PositionY\")", - "GetArgumentAsNumber(\"ThrowSpeed\")", + "PositionX", + "PositionY", + "ThrowSpeed", "1" ], "subInstructions": [] @@ -918,7 +918,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"ReturnTime\")" + "ReturnTime" ], "subInstructions": [] } diff --git a/extensions/reviewed/Bounce.json b/extensions/reviewed/Bounce.json index fa285fb8..b6dea8ad 100644 --- a/extensions/reviewed/Bounce.json +++ b/extensions/reviewed/Bounce.json @@ -8,7 +8,7 @@ "name": "Bounce", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/volleyball.svg", "shortDescription": "Bounce the object off another object it just touched.", - "version": "0.2.1", + "version": "0.2.2", "description": [ "Provides an action to make the object bounce from another object it just touched.", "", @@ -133,7 +133,7 @@ "parameters": [ "Object", "!=", - "Object.Behavior::PropertyOldX()" + "OldX" ] }, { @@ -143,7 +143,7 @@ "parameters": [ "Object", "!=", - "Object.Behavior::PropertyOldY()" + "OldY" ] } ] @@ -158,7 +158,7 @@ "Object", "Behavior", "=", - "ToDeg(atan2(Object.Y() - Object.Behavior::PropertyOldY(), Object.X() - Object.Behavior::PropertyOldX()))" + "ToDeg(atan2(Object.Y() - OldY, Object.X() - OldX))" ] }, { @@ -175,8 +175,8 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyNormalAngle()+AngleDifference(Object.Behavior::PropertyNormalAngle(), Object.Behavior::PropertyOldForceAngle()+180)", - "Object.Behavior::PropertyOldForceLength()", + "NormalAngle+AngleDifference(NormalAngle, OldForceAngle+180)", + "OldForceLength", "1" ] }, @@ -312,7 +312,7 @@ "parameters": [ "Object", "!=", - "Object.Behavior::PropertyOldX()" + "OldX" ] }, { @@ -322,7 +322,7 @@ "parameters": [ "Object", "!=", - "Object.Behavior::PropertyOldY()" + "OldY" ] } ] @@ -337,7 +337,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"NormalAngle\")" + "NormalAngle" ] }, { @@ -354,8 +354,8 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyNormalAngle()+AngleDifference(Object.Behavior::PropertyNormalAngle(), Object.Behavior::PropertyOldForceAngle()+180)", - "Object.Behavior::PropertyOldForceLength()", + "NormalAngle+AngleDifference(NormalAngle, OldForceAngle+180)", + "OldForceLength", "1" ] }, @@ -510,7 +510,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyBounceCount()" + "BounceCount" ] } ] diff --git a/extensions/reviewed/CameraImpulse.json b/extensions/reviewed/CameraImpulse.json index 7ec2889c..082111c9 100644 --- a/extensions/reviewed/CameraImpulse.json +++ b/extensions/reviewed/CameraImpulse.json @@ -9,7 +9,7 @@ "name": "CameraImpulse", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Arrows/Arrows_thin_arrow_up_down_directions.svg", "shortDescription": "Move the camera following an impulse trajectory.", - "version": "1.0.0", + "version": "1.0.1", "tags": [ "implusion", "shaking", @@ -432,9 +432,9 @@ "value": "ModVarSceneTxt" }, "parameters": [ - "__CameraImpulse.Impulses[GetArgumentAsString(\"Identifier\")].Layer", + "__CameraImpulse.Impulses[Identifier].Layer", "=", - "GetArgumentAsString(\"Layer\")" + "Layer" ] }, { @@ -442,9 +442,9 @@ "value": "ModVarScene" }, "parameters": [ - "__CameraImpulse.Impulses[GetArgumentAsString(\"Identifier\")].DeltaX", + "__CameraImpulse.Impulses[Identifier].DeltaX", "=", - "GetArgumentAsNumber(\"DisplacementX\")" + "DisplacementX" ] }, { @@ -452,9 +452,9 @@ "value": "ModVarScene" }, "parameters": [ - "__CameraImpulse.Impulses[GetArgumentAsString(\"Identifier\")].DeltaY", + "__CameraImpulse.Impulses[Identifier].DeltaY", "=", - "GetArgumentAsNumber(\"DisplacementY\")" + "DisplacementY" ] }, { @@ -462,9 +462,9 @@ "value": "ModVarScene" }, "parameters": [ - "__CameraImpulse.Impulses[GetArgumentAsString(\"Identifier\")].AwayDuration", + "__CameraImpulse.Impulses[Identifier].AwayDuration", "=", - "GetArgumentAsNumber(\"AwayDuration\")" + "AwayDuration" ] }, { @@ -472,9 +472,9 @@ "value": "ModVarScene" }, "parameters": [ - "__CameraImpulse.Impulses[GetArgumentAsString(\"Identifier\")].StayDuration", + "__CameraImpulse.Impulses[Identifier].StayDuration", "=", - "GetArgumentAsNumber(\"StayDuration\")" + "StayDuration" ] }, { @@ -482,9 +482,9 @@ "value": "ModVarScene" }, "parameters": [ - "__CameraImpulse.Impulses[GetArgumentAsString(\"Identifier\")].BackDuration", + "__CameraImpulse.Impulses[Identifier].BackDuration", "=", - "GetArgumentAsNumber(\"BackDuration\")" + "BackDuration" ] }, { @@ -492,9 +492,9 @@ "value": "ModVarSceneTxt" }, "parameters": [ - "__CameraImpulse.Impulses[GetArgumentAsString(\"Identifier\")].AwayEasing", + "__CameraImpulse.Impulses[Identifier].AwayEasing", "=", - "GetArgumentAsString(\"AwayEasing\")" + "AwayEasing" ] }, { @@ -502,9 +502,9 @@ "value": "ModVarSceneTxt" }, "parameters": [ - "__CameraImpulse.Impulses[GetArgumentAsString(\"Identifier\")].BackEasing", + "__CameraImpulse.Impulses[Identifier].BackEasing", "=", - "GetArgumentAsString(\"BackEasing\")" + "BackEasing" ] }, { @@ -512,7 +512,7 @@ "value": "ModVarScene" }, "parameters": [ - "__CameraImpulse.Impulses[GetArgumentAsString(\"Identifier\")].Time", + "__CameraImpulse.Impulses[Identifier].Time", "=", "0" ] @@ -633,15 +633,15 @@ }, "parameters": [ "", - "GetArgumentAsString(\"Identifier\")", - "GetArgumentAsString(\"Layer\")", - "XFromAngleAndDistance(GetArgumentAsNumber(\"Angle\"), GetArgumentAsNumber(\"Amplitude\"))", - "YFromAngleAndDistance(GetArgumentAsNumber(\"Angle\"), GetArgumentAsNumber(\"Amplitude\"))", - "GetArgumentAsNumber(\"AwayDuration\")", - "GetArgumentAsString(\"AwayEasing\")", - "GetArgumentAsNumber(\"StayDuration\")", - "GetArgumentAsNumber(\"BackDuration\")", - "GetArgumentAsString(\"BackEasing\")", + "Identifier", + "Layer", + "XFromAngleAndDistance(Angle, Amplitude)", + "YFromAngleAndDistance(Angle, Amplitude)", + "AwayDuration", + "AwayEasing", + "StayDuration", + "BackDuration", + "BackEasing", "" ] } @@ -760,7 +760,7 @@ }, "parameters": [ "__CameraImpulse.Impulses", - "GetArgumentAsString(\"Identifier\")" + "Identifier" ] } ], diff --git a/extensions/reviewed/CameraShake.json b/extensions/reviewed/CameraShake.json index 1a308e36..ad6f5932 100644 --- a/extensions/reviewed/CameraShake.json +++ b/extensions/reviewed/CameraShake.json @@ -8,7 +8,7 @@ "name": "CameraShake", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/vector-difference-ab.svg", "shortDescription": "Shake layer cameras.", - "version": "3.1.1", + "version": "3.1.2", "description": [ "Shake layer cameras with translation, rotation and zoom.", "", @@ -1267,7 +1267,7 @@ "parameters": [ "", "", - "GetArgumentAsString(\"Layer\")", + "Layer", "" ] } @@ -1294,7 +1294,7 @@ "parameters": [ "Layer", "=", - "GetArgumentAsString(\"Layer\")" + "Layer" ] }, { @@ -1304,7 +1304,7 @@ "parameters": [ "Duration", "=", - "GetArgumentAsNumber(\"Duration\")" + "Duration" ] }, { @@ -1324,7 +1324,7 @@ "parameters": [ "StopEaseDuration", "=", - "GetArgumentAsNumber(\"Duration\")" + "Duration" ] }, { @@ -1334,7 +1334,7 @@ "parameters": [ "DefaultAmplitudeX", "=", - "abs(GetArgumentAsNumber(\"AmplitudeX\"))" + "abs(AmplitudeX)" ] }, { @@ -1344,7 +1344,7 @@ "parameters": [ "DefaultAmplitudeY", "=", - "abs(GetArgumentAsNumber(\"AmplitudeY\"))" + "abs(AmplitudeY)" ] }, { @@ -1354,7 +1354,7 @@ "parameters": [ "DefaultAmplitudeAngle", "=", - "GetArgumentAsNumber(\"AmplitudeAngle\")" + "AmplitudeAngle" ] }, { @@ -1364,7 +1364,7 @@ "parameters": [ "DefaultAmplitudeZoom", "=", - "1 + GetArgumentAsNumber(\"AmplitudeZoom\") / 100" + "1 + AmplitudeZoom / 100" ] } ], @@ -1377,7 +1377,7 @@ "value": "BuiltinCommonInstructions::CompareNumbers" }, "parameters": [ - "GetArgumentAsNumber(\"ShakePeriod\")", + "ShakePeriod", "!=", "0" ] @@ -1391,7 +1391,7 @@ "parameters": [ "DefaultFrequency", "=", - "1 / GetArgumentAsNumber(\"ShakePeriod\")" + "1 / ShakePeriod" ] } ] @@ -1404,7 +1404,7 @@ "value": "BuiltinCommonInstructions::CompareNumbers" }, "parameters": [ - "GetArgumentAsNumber(\"ShakePeriod\")", + "ShakePeriod", "=", "0" ] diff --git a/extensions/reviewed/CameraZoom.json b/extensions/reviewed/CameraZoom.json index 44db4d88..5b8a6ed9 100644 --- a/extensions/reviewed/CameraZoom.json +++ b/extensions/reviewed/CameraZoom.json @@ -9,7 +9,7 @@ "name": "CameraZoom", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/UI Essentials/UI Essentials_zoom_in_plus.svg", "shortDescription": "Allows to zoom camera on a layer with a speed (factor per second).", - "version": "0.2.0", + "version": "0.2.1", "tags": [ "Camera", "Layer", @@ -43,9 +43,9 @@ }, "parameters": [ "", - "CameraZoom(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\")) * pow(GetArgumentAsNumber(\"ZoomSpeed\"), TimeDelta())", - "GetArgumentAsString(\"Layer\")", - "GetArgumentAsNumber(\"Camera\")" + "CameraZoom(Layer, Camera) * pow(ZoomSpeed, TimeDelta())", + "Layer", + "Camera" ], "subInstructions": [] } @@ -125,7 +125,7 @@ "parameters": [ "", "=", - "GetArgumentAsNumber(\"AnchorX\")\n+ (\n CameraX(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))\n - GetArgumentAsNumber(\"AnchorX\")\n)\n* CameraZoom(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))\n/ GetArgumentAsNumber(\"Zoom\")", + "AnchorX\n+ (\n CameraX(Layer, Camera)\n - AnchorX\n)\n* CameraZoom(Layer, Camera)\n/ Zoom", "\"\"", "0" ], @@ -139,7 +139,7 @@ "parameters": [ "", "=", - "GetArgumentAsNumber(\"AnchorY\")\n+ (\n CameraY(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))\n - GetArgumentAsNumber(\"AnchorY\")\n)\n* CameraZoom(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))\n/ GetArgumentAsNumber(\"Zoom\")", + "AnchorY\n+ (\n CameraY(Layer, Camera)\n - AnchorY\n)\n* CameraZoom(Layer, Camera)\n/ Zoom", "\"\"", "0" ], @@ -152,9 +152,9 @@ }, "parameters": [ "", - "GetArgumentAsNumber(\"Zoom\")", - "GetArgumentAsString(\"Layer\")", - "GetArgumentAsNumber(\"Camera\")" + "Zoom", + "Layer", + "Camera" ], "subInstructions": [] } @@ -238,11 +238,11 @@ }, "parameters": [ "", - "CameraZoom(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\")) * pow(GetArgumentAsNumber(\"ZoomSpeed\"), TimeDelta())", - "GetArgumentAsString(\"Layer\")", - "GetArgumentAsNumber(\"Camera\")", - "GetArgumentAsNumber(\"AnchorX\")", - "GetArgumentAsNumber(\"AnchorY\")", + "CameraZoom(Layer, Camera) * pow(ZoomSpeed, TimeDelta())", + "Layer", + "Camera", + "AnchorX", + "AnchorY", "" ], "subInstructions": [] diff --git a/extensions/reviewed/Checkbox.json b/extensions/reviewed/Checkbox.json index 1f7a3415..7c3486a1 100644 --- a/extensions/reviewed/Checkbox.json +++ b/extensions/reviewed/Checkbox.json @@ -8,7 +8,7 @@ "name": "Checkbox", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/checkbox-marked.svg", "shortDescription": "Checkbox that can be toggled by a left-click or touch.", - "version": "0.1.1", + "version": "0.1.2", "description": "Users can click on the checkbox to add and remove the checkmark. \n\nHow to use:\n- Add this extension to a shape painter object\n- Use condition \"Is checked\" to find out the state of the checkbox\n\nTips:\n- Checkbox state can also be changed by an action.\n- Checkbox can be disabled so that users cannot interact with it \n- To remove halo, Set \"halo hover\" and \"halo pressed\" opacity to 0", "origin": { "identifier": "Checkbox", @@ -94,7 +94,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertySideLength()/2" + "SideLength/2" ] } ] @@ -203,7 +203,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyHaloRadiusPressed()" + "HaloRadiusPressed" ] }, { @@ -332,7 +332,7 @@ "parameters": [ "", ">", - "(Object.X() + 0.5 * Object.Behavior::SideLength()) - max(Object.Behavior::PropertyHaloRadiusHover(), 0.5 * Object.Behavior::PropertySideLength())", + "(Object.X() + 0.5 * Object.Behavior::SideLength()) - max(HaloRadiusHover, 0.5 * SideLength)", "Object.Layer()", "0" ] @@ -344,7 +344,7 @@ "parameters": [ "", "<", - "(Object.X() + 0.5 * Object.Behavior::SideLength()) + max(Object.Behavior::PropertyHaloRadiusHover(), 0.5 * Object.Behavior::PropertySideLength())", + "(Object.X() + 0.5 * Object.Behavior::SideLength()) + max(HaloRadiusHover, 0.5 * SideLength)", "Object.Layer()", "0" ] @@ -356,7 +356,7 @@ "parameters": [ "", ">", - "(Object.Y() + 0.5 * Object.Behavior::SideLength()) - max(Object.Behavior::PropertyHaloRadiusHover(), 0.5 * Object.Behavior::PropertySideLength())", + "(Object.Y() + 0.5 * Object.Behavior::SideLength()) - max(HaloRadiusHover, 0.5 * SideLength)", "Object.Layer()", "0" ] @@ -368,7 +368,7 @@ "parameters": [ "", "<", - "(Object.Y() + 0.5 * Object.Behavior::SideLength()) + max(Object.Behavior::PropertyHaloRadiusHover(), 0.5 * Object.Behavior::PropertySideLength())", + "(Object.Y() + 0.5 * Object.Behavior::SideLength()) + max(HaloRadiusHover, 0.5 * SideLength)", "Object.Layer()", "0" ] @@ -471,7 +471,7 @@ "parameters": [ "", ">", - "(Object.X() + 0.5 * Object.Behavior::SideLength()) - max(Object.Behavior::PropertyHaloRadiusHover(), 0.5 * Object.Behavior::PropertySideLength())", + "(Object.X() + 0.5 * Object.Behavior::SideLength()) - max(HaloRadiusHover, 0.5 * SideLength)", "Object.Layer()", "0" ] @@ -483,7 +483,7 @@ "parameters": [ "", "<", - "(Object.X() + 0.5 * Object.Behavior::SideLength()) + max(Object.Behavior::PropertyHaloRadiusHover(), 0.5 * Object.Behavior::PropertySideLength())", + "(Object.X() + 0.5 * Object.Behavior::SideLength()) + max(HaloRadiusHover, 0.5 * SideLength)", "Object.Layer()", "0" ] @@ -495,7 +495,7 @@ "parameters": [ "", ">", - "(Object.Y() + 0.5 * Object.Behavior::SideLength()) - max(Object.Behavior::PropertyHaloRadiusHover(), 0.5 * Object.Behavior::PropertySideLength())", + "(Object.Y() + 0.5 * Object.Behavior::SideLength()) - max(HaloRadiusHover, 0.5 * SideLength)", "Object.Layer()", "0" ] @@ -507,7 +507,7 @@ "parameters": [ "", "<", - "(Object.Y() + 0.5 * Object.Behavior::SideLength()) + max(Object.Behavior::PropertyHaloRadiusHover(), 0.5 * Object.Behavior::PropertySideLength())", + "(Object.Y() + 0.5 * Object.Behavior::SideLength()) + max(HaloRadiusHover, 0.5 * SideLength)", "Object.Layer()", "0" ] @@ -532,7 +532,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyHaloRadiusHover()" + "HaloRadiusHover" ] } ] @@ -573,7 +573,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertySideLength()/2" + "SideLength/2" ] } ] @@ -593,7 +593,7 @@ "Object", "Behavior", "!=", - "Object.Behavior::PropertyTargetHaloRadius()" + "TargetHaloRadius" ] } ], @@ -620,7 +620,7 @@ "value": "Egal" }, "parameters": [ - "abs(Object.Behavior::PropertyCurrentHaloRadius() - Object.Behavior::PropertyTargetHaloRadius())", + "abs(CurrentHaloRadius - TargetHaloRadius)", "<", "1" ] @@ -635,7 +635,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyTargetHaloRadius()" + "TargetHaloRadius" ] }, { @@ -661,7 +661,7 @@ "Object", "Behavior", "!=", - "Object.Behavior::PropertyTargetHaloRadius()" + "TargetHaloRadius" ] } ], @@ -674,7 +674,7 @@ "Object", "Behavior", "=", - "lerp(Object.Behavior::PropertyCurrentHaloRadius(), Object.Behavior::PropertyTargetHaloRadius(), Object.Behavior::PropertyHaloGrowSpeed())" + "lerp(CurrentHaloRadius, TargetHaloRadius, HaloGrowSpeed)" ] }, { @@ -807,7 +807,7 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertySideLength()", + "SideLength", "<", "10" ] @@ -835,7 +835,7 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyLineWidth()", + "LineWidth", "<", "1" ] @@ -863,9 +863,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyLineWidth()", + "LineWidth", ">", - "Object.Behavior::PropertySideLength()/3" + "SideLength/3" ] } ], @@ -878,7 +878,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertySideLength()/3" + "SideLength/3" ] } ] @@ -891,7 +891,7 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyHaloRadiusHover()", + "HaloRadiusHover", "=", "0" ] @@ -906,7 +906,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertySideLength()" + "SideLength" ] } ] @@ -919,7 +919,7 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyHaloRadiusPressed()", + "HaloRadiusPressed", "=", "0" ] @@ -934,7 +934,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyHaloRadiusHover() * 1.1" + "HaloRadiusHover * 1.1" ] } ] @@ -987,7 +987,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertySideLength()", + "SideLength", "" ] } @@ -1017,7 +1017,7 @@ "Object", "Behavior", ">", - "Object.Behavior::PropertySideLength()/2" + "SideLength/2" ] } ], @@ -1046,7 +1046,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyPrimaryColor()" + "PrimaryColor" ] }, { @@ -1096,7 +1096,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyHaloOpacityHover()" + "HaloOpacityHover" ] }, { @@ -1105,9 +1105,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertySideLength()/2", - "Object.Behavior::PropertySideLength()/2", - "Object.Behavior::PropertyCurrentHaloRadius()" + "SideLength/2", + "SideLength/2", + "CurrentHaloRadius" ] } ] @@ -1146,7 +1146,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyHaloOpacityClick()" + "HaloOpacityClick" ] }, { @@ -1155,9 +1155,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertySideLength()/2", - "Object.Behavior::PropertySideLength()/2", - "Object.Behavior::PropertyCurrentHaloRadius()" + "SideLength/2", + "SideLength/2", + "CurrentHaloRadius" ] } ] @@ -1215,7 +1215,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyPrimaryColor()" + "PrimaryColor" ] }, { @@ -1224,7 +1224,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyPrimaryColor()" + "PrimaryColor" ] } ] @@ -1258,7 +1258,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertySecondaryColor()" + "SecondaryColor" ] }, { @@ -1267,7 +1267,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyPrimaryColor()" + "PrimaryColor" ] } ] @@ -1285,7 +1285,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyBorderThickness()" + "BorderThickness" ] }, { @@ -1322,8 +1322,8 @@ "Object", "0", "0", - "Object.Behavior::PropertySideLength()", - "Object.Behavior::PropertySideLength()" + "SideLength", + "SideLength" ] } ] @@ -1379,7 +1379,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertySecondaryColor()" + "SecondaryColor" ] } ] @@ -1407,11 +1407,11 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertySideLength() * 1/10", - "Object.Behavior::PropertySideLength() * 1/2", - "Object.Behavior::PropertySideLength() * 1/3", - "Object.Behavior::PropertySideLength() * 3/4", - "Object.Behavior::PropertyLineWidth()" + "SideLength * 1/10", + "SideLength * 1/2", + "SideLength * 1/3", + "SideLength * 3/4", + "LineWidth" ] } ] @@ -1439,11 +1439,11 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertySideLength() * 1/3 - (Object.Behavior::PropertyLineWidth()*0.5/sqrt(2))", - "Object.Behavior::PropertySideLength() * 3/4 + (Object.Behavior::PropertyLineWidth()*0.5/sqrt(2))", - "Object.Behavior::PropertySideLength() * 9/10", - "Object.Behavior::PropertySideLength() * 2/10", - "Object.Behavior::PropertyLineWidth()" + "SideLength * 1/3 - (LineWidth*0.5/sqrt(2))", + "SideLength * 3/4 + (LineWidth*0.5/sqrt(2))", + "SideLength * 9/10", + "SideLength * 2/10", + "LineWidth" ] } ] @@ -1505,7 +1505,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"ValueMin\")" + "ValueMin" ] } ] @@ -1661,7 +1661,7 @@ "Object", "Behavior", "=", - "min(Object.Behavior::PropertyThumbHeight(), Object.Behavior::PropertyThumbWidth()) / 2" + "min(ThumbHeight, ThumbWidth) / 2" ] } ] @@ -1880,7 +1880,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Color\")" + "Color" ] }, { @@ -1937,7 +1937,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Color\")" + "Color" ] }, { @@ -1994,7 +1994,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2051,7 +2051,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2108,7 +2108,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2165,7 +2165,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2222,7 +2222,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2279,7 +2279,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2352,7 +2352,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2504,7 +2504,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertyPrimaryColor()" + "PrimaryColor" ] } ] @@ -2546,7 +2546,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertySecondaryColor()" + "SecondaryColor" ] } ] @@ -2588,7 +2588,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHaloRadiusPressed()" + "HaloRadiusPressed" ] } ] @@ -2672,7 +2672,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHaloRadiusHover()" + "HaloRadiusHover" ] } ] @@ -2714,7 +2714,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHaloOpacityHover()" + "HaloOpacityHover" ] } ] @@ -2756,7 +2756,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyLineWidth()" + "LineWidth" ] } ] @@ -2798,7 +2798,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertySideLength()" + "SideLength" ] } ] @@ -2840,7 +2840,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyBorderThickness()" + "BorderThickness" ] } ] @@ -2933,8 +2933,8 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertySideLength()/2", - "Object.Behavior::PropertySideLength()/2" + "SideLength/2", + "SideLength/2" ] } ] @@ -2964,8 +2964,8 @@ "Object", "-Object.Behavior::BorderThickness()/2", "-Object.Behavior::BorderThickness()/2", - "Object.Behavior::PropertySideLength() + Object.Behavior::BorderThickness()/2", - "Object.Behavior::PropertySideLength() + Object.Behavior::BorderThickness()/2" + "SideLength + Object.Behavior::BorderThickness()/2", + "SideLength + Object.Behavior::BorderThickness()/2" ] } ] diff --git a/extensions/reviewed/Checkpoints.json b/extensions/reviewed/Checkpoints.json index cede7c90..8809bb2d 100644 --- a/extensions/reviewed/Checkpoints.json +++ b/extensions/reviewed/Checkpoints.json @@ -8,7 +8,7 @@ "name": "Checkpoints", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/flag-variant.svg", "shortDescription": "Respawn objects at checkpoints.", - "version": "1.0.1", + "version": "1.0.2", "description": [ "This extension can save checkpoints and respawn objects at the last one.", "", @@ -45,9 +45,9 @@ }, "parameters": [ "ToSaveObject", - "__Checkpoints.Position[\"X\"+GetArgumentAsString(\"CheckpointName\")]", + "__Checkpoints.Position[\"X\"+CheckpointName]", "=", - "GetArgumentAsNumber(\"CoordinateX\")" + "CoordinateX" ] }, { @@ -56,9 +56,9 @@ }, "parameters": [ "ToSaveObject", - "__Checkpoints.Position[\"Y\"+GetArgumentAsString(\"CheckpointName\")]", + "__Checkpoints.Position[\"Y\"+CheckpointName]", "=", - "GetArgumentAsNumber(\"CoordinateY\")" + "CoordinateY" ] } ] @@ -118,7 +118,7 @@ "parameters": [ "ToLoadObject", "__Checkpoints.Position", - "\"X\" + GetArgumentAsString(\"CheckpointName\")" + "\"X\" + CheckpointName" ] }, { @@ -128,7 +128,7 @@ "parameters": [ "ToLoadObject", "__Checkpoints.Position", - "\"Y\" + GetArgumentAsString(\"CheckpointName\")" + "\"Y\" + CheckpointName" ] } ] @@ -144,7 +144,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"SetIgnoreUndefined\")", + "SetIgnoreUndefined", "!=", "\"true\"" ] @@ -163,7 +163,7 @@ "parameters": [ "ToLoadObject", "__Checkpoints.Position", - "\"Y\" + GetArgumentAsString(\"CheckpointName\")" + "\"Y\" + CheckpointName" ] }, { @@ -174,7 +174,7 @@ "parameters": [ "ToLoadObject", "__Checkpoints.Position", - "\"X\" + GetArgumentAsString(\"CheckpointName\")" + "\"X\" + CheckpointName" ] } ] @@ -192,9 +192,9 @@ "parameters": [ "ToMoveObject", "=", - "ToLoadObject.Variable(__Checkpoints.Position[\"X\" + GetArgumentAsString(\"CheckpointName\")])", + "ToLoadObject.Variable(__Checkpoints.Position[\"X\" + CheckpointName])", "=", - "ToLoadObject.Variable(__Checkpoints.Position[\"Y\" + GetArgumentAsString(\"CheckpointName\")])" + "ToLoadObject.Variable(__Checkpoints.Position[\"Y\" + CheckpointName])" ] } ] @@ -244,7 +244,7 @@ "parameters": [ "ToCheckObject", "__Checkpoints.Position", - "\"Y\" + GetArgumentAsString(\"CheckpointName\")" + "\"Y\" + CheckpointName" ] }, { @@ -254,7 +254,7 @@ "parameters": [ "ToCheckObject", "__Checkpoints.Position", - "\"X\" + GetArgumentAsString(\"CheckpointName\")" + "\"X\" + CheckpointName" ] } ], @@ -286,7 +286,7 @@ "parameters": [ "ToCheckObject", "__Checkpoints.Position", - "\"X\" + GetArgumentAsString(\"CheckpointName\")" + "\"X\" + CheckpointName" ] }, { @@ -297,7 +297,7 @@ "parameters": [ "ToCheckObject", "__Checkpoints.Position", - "\"Y\" + GetArgumentAsString(\"CheckpointName\")" + "\"Y\" + CheckpointName" ] } ] diff --git a/extensions/reviewed/CopyCameraSettings.json b/extensions/reviewed/CopyCameraSettings.json index c22941e5..6b49433a 100644 --- a/extensions/reviewed/CopyCameraSettings.json +++ b/extensions/reviewed/CopyCameraSettings.json @@ -9,7 +9,7 @@ "name": "CopyCameraSettings", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/layers-triple-outline.svg", "shortDescription": "Copy the camera settings of a layer and apply them to another layer.", - "version": "1.0.0", + "version": "1.0.1", "tags": [ "camera", "clone", @@ -58,9 +58,9 @@ "parameters": [ "", "=", - "CameraX(GetArgumentAsString(\"SourceLayer\"),GetArgumentAsNumber(\"SourceCamera\"))", - "GetArgumentAsString(\"DestinationLayer\")", - "GetArgumentAsNumber(\"DestinationCamera\")" + "CameraX(SourceLayer,SourceCamera)", + "DestinationLayer", + "DestinationCamera" ], "subInstructions": [] } @@ -92,9 +92,9 @@ "parameters": [ "", "=", - "CameraY(GetArgumentAsString(\"SourceLayer\"),GetArgumentAsNumber(\"SourceCamera\"))", - "GetArgumentAsString(\"DestinationLayer\")", - "GetArgumentAsNumber(\"DestinationCamera\")" + "CameraY(SourceLayer,SourceCamera)", + "DestinationLayer", + "DestinationCamera" ], "subInstructions": [] } @@ -125,9 +125,9 @@ }, "parameters": [ "", - "CameraZoom(GetArgumentAsString(\"SourceLayer\"),GetArgumentAsNumber(\"SourceCamera\"))", - "GetArgumentAsString(\"DestinationLayer\")", - "GetArgumentAsNumber(\"DestinationCamera\")" + "CameraZoom(SourceLayer,SourceCamera)", + "DestinationLayer", + "DestinationCamera" ], "subInstructions": [] } @@ -159,9 +159,9 @@ "parameters": [ "", "=", - "CameraAngle(GetArgumentAsString(\"SourceLayer\"),GetArgumentAsNumber(\"SourceCamera\"))", - "GetArgumentAsString(\"DestinationLayer\")", - "GetArgumentAsNumber(\"DestinationCamera\")" + "CameraAngle(SourceLayer,SourceCamera)", + "DestinationLayer", + "DestinationCamera" ], "subInstructions": [] } diff --git a/extensions/reviewed/CreateMultipleCopiesOfObject.json b/extensions/reviewed/CreateMultipleCopiesOfObject.json index 0b0b15c2..488729a7 100644 --- a/extensions/reviewed/CreateMultipleCopiesOfObject.json +++ b/extensions/reviewed/CreateMultipleCopiesOfObject.json @@ -9,7 +9,7 @@ "name": "CreateMultipleCopiesOfObject", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/grid.svg", "shortDescription": "Select the object, choose the number of rows and columns, the spacing between rows and columns, the top left starting point, the layer to create the objects on, and the z-order of the objects.", - "version": "0.2.3", + "version": "0.2.4", "tags": [ "create", "multiple", @@ -220,9 +220,9 @@ "parameters": [ "", "Object", - "GetArgumentAsNumber(\"StartingPositionX\") + (Variable(__CreateMultipleCopiesOfObject_x)-1)*(Variable(__CreateMultipleCopiesOfObject_ObjectWidth) + GetArgumentAsNumber(\"ColumnSpacing\"))", - "GetArgumentAsNumber(\"StartingPositionY\") + (Variable(__CreateMultipleCopiesOfObject_y)-1)*(Variable(__CreateMultipleCopiesOfObject_ObjectHeight) + GetArgumentAsNumber(\"RowSpacing\"))", - "GetArgumentAsString(\"Layer\")" + "StartingPositionX + (Variable(__CreateMultipleCopiesOfObject_x)-1)*(Variable(__CreateMultipleCopiesOfObject_ObjectWidth) + ColumnSpacing)", + "StartingPositionY + (Variable(__CreateMultipleCopiesOfObject_y)-1)*(Variable(__CreateMultipleCopiesOfObject_ObjectHeight) + RowSpacing)", + "Layer" ], "subInstructions": [] }, @@ -274,7 +274,7 @@ "Object", "BatchID", "=", - "GetArgumentAsString(\"BatchID\")" + "BatchID" ], "subInstructions": [] }, @@ -315,7 +315,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"Zorder\")", + "Zorder", "!=", "0" ], @@ -331,7 +331,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Zorder\")" + "Zorder" ], "subInstructions": [] } @@ -366,7 +366,7 @@ "parameters": [ "__CreateMultipleCopiesOfObject_x", ">", - "GetArgumentAsNumber(\"NumberOfColumns\")" + "NumberOfColumns" ], "subInstructions": [] } @@ -426,7 +426,7 @@ "parameters": [ "__CreateMultipleCopiesOfObject_y", ">", - "GetArgumentAsNumber(\"NumberOfRows\")" + "NumberOfRows" ], "subInstructions": [] } diff --git a/extensions/reviewed/CursorMovement.json b/extensions/reviewed/CursorMovement.json index f3ce9417..fc7ab5e4 100644 --- a/extensions/reviewed/CursorMovement.json +++ b/extensions/reviewed/CursorMovement.json @@ -9,7 +9,7 @@ "name": "CursorMovement", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Computers and Hardware/Computers and Hardware_mouse_pc.svg", "shortDescription": "Conditions to check the cursor movement (still or moving).", - "version": "1.0.1", + "version": "1.0.2", "origin": { "identifier": "CursorMovement", "name": "gdevelop-extension-store" @@ -59,7 +59,7 @@ "", "\"__mousemovement_MouseStayStill\"", "<", - "GetArgumentAsNumber(\"Duration\")" + "Duration" ] } ], diff --git a/extensions/reviewed/CursorType.json b/extensions/reviewed/CursorType.json index 388ba58a..80bd47ad 100644 --- a/extensions/reviewed/CursorType.json +++ b/extensions/reviewed/CursorType.json @@ -9,7 +9,7 @@ "name": "CursorType", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/cursor-default-outline.svg", "shortDescription": "Provides an action to change the type of the cursor, and a behavior to change the cursor when an object is hovered.", - "version": "0.0.6", + "version": "0.0.7", "origin": { "identifier": "CursorType", "name": "gdevelop-extension-store" @@ -65,7 +65,7 @@ "parameters": [ "__CursorType.DefaultCursor", "=", - "GetArgumentAsString(\"cursor_type\")" + "cursor_type" ], "subInstructions": [] } diff --git a/extensions/reviewed/DoubleClick.json b/extensions/reviewed/DoubleClick.json index 8b8f1121..bef89273 100644 --- a/extensions/reviewed/DoubleClick.json +++ b/extensions/reviewed/DoubleClick.json @@ -9,7 +9,7 @@ "name": "DoubleClick", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Computers and Hardware/Computers and Hardware_mouse_wireless_pc.svg", "shortDescription": "Check for a double-click with a mouse, or a double-tap on a touchscreen.", - "version": "1.0.2", + "version": "1.0.3", "tags": [ "mouse", "cursor", @@ -41,7 +41,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"MouseButton\")", + "MouseButton", "=", "\"Left\"" ], @@ -323,7 +323,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"MouseButton\")", + "MouseButton", "=", "\"Middle\"" ], @@ -605,7 +605,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"MouseButton\")", + "MouseButton", "=", "\"Right\"" ], @@ -913,7 +913,7 @@ "parameters": [ "__DoubleClick_MaxDelay", "=", - "GetArgumentAsNumber(\"MaxDelay\")" + "MaxDelay" ], "subInstructions": [] } diff --git a/extensions/reviewed/DragCameraWithPointer.json b/extensions/reviewed/DragCameraWithPointer.json index f0207148..58f0138d 100644 --- a/extensions/reviewed/DragCameraWithPointer.json +++ b/extensions/reviewed/DragCameraWithPointer.json @@ -9,7 +9,7 @@ "name": "DragCameraWithPointer", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/drag-variant.svg", "shortDescription": "Move a camera by dragging the mouse (or touchscreen).", - "version": "1.1.0", + "version": "1.1.1", "origin": { "identifier": "DragCameraWithPointer", "name": "gdevelop-extension-store" @@ -73,7 +73,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"InputButton\")" + "InputButton" ], "subInstructions": [] }, @@ -127,7 +127,7 @@ "parameters": [ "__DragCameraWithPointer.scrollStartX", "=", - "MouseX(GetArgumentAsString(\"CamLayer\"),GetArgumentAsNumber(\"CamNumber\"))" + "MouseX(CamLayer,CamNumber)" ], "subInstructions": [] }, @@ -139,7 +139,7 @@ "parameters": [ "__DragCameraWithPointer.scrollStartY", "=", - "MouseY(GetArgumentAsString(\"CamLayer\"),GetArgumentAsNumber(\"CamNumber\"))" + "MouseY(CamLayer,CamNumber)" ], "subInstructions": [] } @@ -180,7 +180,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"InputButton\")" + "InputButton" ], "subInstructions": [] }, @@ -233,7 +233,7 @@ "parameters": [ "__DragCameraWithPointer.scrollTargetX", "=", - "MouseX(GetArgumentAsString(\"CamLayer\"),GetArgumentAsNumber(\"CamNumber\"))" + "MouseX(CamLayer,CamNumber)" ], "subInstructions": [] }, @@ -245,7 +245,7 @@ "parameters": [ "__DragCameraWithPointer.scrollTargetY", "=", - "MouseY(GetArgumentAsString(\"CamLayer\"),GetArgumentAsNumber(\"CamNumber\"))" + "MouseY(CamLayer,CamNumber)" ], "subInstructions": [] }, @@ -309,7 +309,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"horizontal\"" ], @@ -321,7 +321,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"both\"" ], @@ -333,7 +333,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"\"" ], @@ -387,8 +387,8 @@ "", "-", "Variable(__DragCameraWithPointer.scrollDistanceX)", - "GetArgumentAsString(\"CamLayer\")", - "GetArgumentAsNumber(\"CamNumber\")" + "CamLayer", + "CamNumber" ], "subInstructions": [] } @@ -430,7 +430,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"vertical\"" ], @@ -442,7 +442,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"both\"" ], @@ -454,7 +454,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"\"" ], @@ -508,8 +508,8 @@ "", "-", "Variable(__DragCameraWithPointer.scrollDistanceY)", - "GetArgumentAsString(\"CamLayer\")", - "GetArgumentAsNumber(\"CamNumber\")" + "CamLayer", + "CamNumber" ], "subInstructions": [] } diff --git a/extensions/reviewed/DraggablePhysics.json b/extensions/reviewed/DraggablePhysics.json index 9a7cfcf2..8737fe2a 100644 --- a/extensions/reviewed/DraggablePhysics.json +++ b/extensions/reviewed/DraggablePhysics.json @@ -8,7 +8,7 @@ "name": "DraggablePhysics", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Virtual Reality/Virtual Reality_hand_vr_ar_360.svg", "shortDescription": "Drag a physics object with the mouse (or touch).", - "version": "1.2.0", + "version": "1.2.1", "description": [ "Enables players to click and drag on physics objects to move them. The object retains velocity when the click is released, allowing players to fling objects across the screen.", "", @@ -135,7 +135,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyMouseButton()" + "MouseButton" ] }, { @@ -183,9 +183,9 @@ "PhysicsBehavior", "MouseX(Object.Layer(),0)", "MouseY(Object.Layer(),0)", - "Object.Behavior::PropertyMaxForce()", - "Object.Behavior::PropertyFrequency()", - "Object.Behavior::PropertyDamping()", + "MaxForce", + "Frequency", + "Damping", "__DraggablePhysics.MouseJointID" ] }, @@ -236,7 +236,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyMouseButton()" + "MouseButton" ] } ], @@ -287,7 +287,7 @@ "parameters": [ "Object", "PhysicsBehavior", - "Object.Behavior::PropertyMouseJointID()", + "MouseJointID", "MouseX(Object.Layer(),0)", "MouseY(Object.Layer(),0)" ] @@ -345,9 +345,9 @@ "PhysicsBehavior", "MouseX(Object.Layer(),0)", "MouseY(Object.Layer(),0)", - "Object.Behavior::PropertyMaxForce()", - "Object.Behavior::PropertyFrequency()", - "Object.Behavior::PropertyDamping()", + "MaxForce", + "Frequency", + "Damping", "__DraggablePhysics.MouseJointID" ] }, @@ -409,7 +409,7 @@ "parameters": [ "Object", "PhysicsBehavior", - "Object.Behavior::PropertyMouseJointID()" + "MouseJointID" ] }, { @@ -545,7 +545,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertyMouseButton()" + "MouseButton" ] } ] @@ -589,7 +589,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -627,7 +627,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMaxForce()" + "MaxForce" ] } ] @@ -670,7 +670,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -708,7 +708,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyFrequency()" + "Frequency" ] } ] @@ -751,7 +751,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -789,7 +789,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyDamping()" + "Damping" ] } ] @@ -832,7 +832,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] diff --git a/extensions/reviewed/DraggableSliderControl.json b/extensions/reviewed/DraggableSliderControl.json index 9d719f54..7a896a97 100644 --- a/extensions/reviewed/DraggableSliderControl.json +++ b/extensions/reviewed/DraggableSliderControl.json @@ -8,7 +8,7 @@ "name": "DraggableSliderControl", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/UI Essentials/UI Essentials_sliders_options.svg", "shortDescription": "A draggable slider that users can move to select a numerical value.", - "version": "1.0.6", + "version": "1.0.7", "description": "Draws a draggable slider that users can move to select a numerical value.\nThe value range, tick spacing, and the appearance of the slider can be defined with properties.\n\nHow to use:\n- Add this behavior a **Shape Painter** object\n- Place an instance of that shape painter on the screen where you want the slider to appear\n- Use the \"Value\" expression to find the Value based on the position of the slider\n\nTips:\n- You can disable the slider to prevent a user from interacting with it\n- You can set the Value of the slider and the slider will move to the correct position\n\nFurther details can be found in [this tutorial video](https://youtu.be/iiTUwdAT_hs).\n\nBreaking changes (1.0.0)\n- Track thickness and length properties replaced track width and height. These 2 properties must be set again if they were different from the default size.\n- Hidden sliders can be dragged. The \"enable\" action must be used to disable them.\n", "origin": { "identifier": "DraggableSliderControl", @@ -93,7 +93,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyValueMin()" + "ValueMin" ] } ] @@ -123,7 +123,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyTrackThickness()" + "TrackThickness" ] } ] @@ -153,7 +153,7 @@ "Object", "Behavior", "=", - "min(Object.Behavior::PropertyThumbHeight()/2,Object.Behavior::PropertyThumbWidth()/2)" + "min(ThumbHeight/2,ThumbWidth/2)" ] } ] @@ -298,7 +298,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyMouseX()" + "MouseX" ] }, { @@ -376,7 +376,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyValueMin() + (Object.Behavior::PropertyValueMax() - Object.Behavior::PropertyValueMin()) * Object.Behavior::PropertyThumbOffset() / Object.Behavior::PropertyTrackLength()", + "ValueMin + (ValueMax - ValueMin) * ThumbOffset / TrackLength", "" ] } @@ -407,7 +407,7 @@ "Object", "Behavior", "=", - "1.25 * Object.Behavior::PropertyHaloRadius()" + "1.25 * HaloRadius" ] } ] @@ -485,9 +485,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyMouseX()", + "MouseX", ">=", - "-Object.Behavior::PropertyHaloRadius()" + "-HaloRadius" ] }, { @@ -495,9 +495,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyMouseX()", + "MouseX", "<=", - "Object.Behavior::PropertyTrackLength() + Object.Behavior::PropertyHaloRadius()" + "TrackLength + HaloRadius" ] }, { @@ -505,9 +505,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyMouseY()", + "MouseY", ">=", - "-Object.Behavior::PropertyHaloRadius()" + "-HaloRadius" ] }, { @@ -515,9 +515,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyMouseY()", + "MouseY", "<=", - "Object.Behavior::PropertyHaloRadius()" + "HaloRadius" ] } ], @@ -606,9 +606,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyMouseX()", + "MouseX", ">=", - "Object.Behavior::PropertyThumbOffset() - Object.Behavior::PropertyHaloRadius()" + "ThumbOffset - HaloRadius" ] }, { @@ -616,9 +616,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyMouseX()", + "MouseX", "<=", - "Object.Behavior::PropertyThumbOffset() + Object.Behavior::PropertyHaloRadius()" + "ThumbOffset + HaloRadius" ] }, { @@ -626,9 +626,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyMouseY()", + "MouseY", ">=", - "- Object.Behavior::PropertyHaloRadius()" + "- HaloRadius" ] }, { @@ -636,9 +636,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyMouseY()", + "MouseY", "<=", - "Object.Behavior::PropertyHaloRadius()" + "HaloRadius" ] } ], @@ -661,7 +661,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyHaloRadius()" + "HaloRadius" ] } ] @@ -702,7 +702,7 @@ "Object", "Behavior", "=", - "min(Object.Behavior::PropertyThumbHeight(), Object.Behavior::PropertyThumbWidth()) / 2" + "min(ThumbHeight, ThumbWidth) / 2" ] } ] @@ -722,7 +722,7 @@ "Object", "Behavior", "!=", - "Object.Behavior::PropertyTargetHaloRadius()" + "TargetHaloRadius" ] } ], @@ -749,7 +749,7 @@ "value": "Egal" }, "parameters": [ - "abs(Object.Behavior::PropertyCurrentHaloRadius() - Object.Behavior::PropertyTargetHaloRadius())", + "abs(CurrentHaloRadius - TargetHaloRadius)", "<", "1" ] @@ -764,7 +764,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyTargetHaloRadius()" + "TargetHaloRadius" ] }, { @@ -790,7 +790,7 @@ "Object", "Behavior", "!=", - "Object.Behavior::PropertyTargetHaloRadius()" + "TargetHaloRadius" ] } ], @@ -803,7 +803,7 @@ "Object", "Behavior", "=", - "lerp(Object.Behavior::PropertyCurrentHaloRadius(), Object.Behavior::PropertyTargetHaloRadius(), Object.Behavior::PropertyHaloGrowSpeed())" + "lerp(CurrentHaloRadius, TargetHaloRadius, HaloGrowSpeed)" ] }, { @@ -950,7 +950,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbColor()" + "ThumbColor" ] } ] @@ -977,7 +977,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyInactiveTrackColor()" + "InactiveTrackColor" ] } ] @@ -993,7 +993,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyInactiveTrackOpacity()" + "InactiveTrackOpacity" ] }, { @@ -1031,10 +1031,10 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset()", - "-Object.Behavior::PropertyTrackThickness() / 2", - "Object.Behavior::PropertyTrackLength()", - "Object.Behavior::PropertyTrackThickness() / 2" + "ThumbOffset", + "-TrackThickness / 2", + "TrackLength", + "TrackThickness / 2" ] } ] @@ -1072,9 +1072,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyTrackLength()", + "TrackLength", "0", - "Object.Behavior::PropertyTrackThickness() / 2", + "TrackThickness / 2", "270", "90", "", @@ -1130,7 +1130,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbColor()" + "ThumbColor" ] } ] @@ -1157,7 +1157,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyActiveTrackColor()" + "ActiveTrackColor" ] } ] @@ -1173,7 +1173,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyActiveTrackOpacity()" + "ActiveTrackOpacity" ] } ] @@ -1202,9 +1202,9 @@ "parameters": [ "Object", "0", - "-(Object.Behavior::PropertyTrackThickness() / 2 + 1)", - "Object.Behavior::PropertyThumbOffset()", - "Object.Behavior::PropertyTrackThickness() / 2 + 1" + "-(TrackThickness / 2 + 1)", + "ThumbOffset", + "TrackThickness / 2 + 1" ] } ] @@ -1244,7 +1244,7 @@ "Object", "0", "0", - "1 + Object.Behavior::PropertyTrackThickness() / 2", + "1 + TrackThickness / 2", "90", "270", "", @@ -1276,7 +1276,7 @@ "Object", "Behavior", ">", - "min(Object.Behavior::PropertyThumbHeight(), Object.Behavior::PropertyThumbWidth()) / 2" + "min(ThumbHeight, ThumbWidth) / 2" ] } ], @@ -1305,7 +1305,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbColor()" + "ThumbColor" ] }, { @@ -1355,7 +1355,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyHaloOpacityHover()" + "HaloOpacityHover" ] }, { @@ -1364,9 +1364,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset()", + "ThumbOffset", "0", - "Object.Behavior::PropertyCurrentHaloRadius()" + "CurrentHaloRadius" ] } ] @@ -1405,7 +1405,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyHaloOpacityClick()" + "HaloOpacityClick" ] }, { @@ -1414,9 +1414,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset()", + "ThumbOffset", "0", - "Object.Behavior::PropertyCurrentHaloRadius()" + "CurrentHaloRadius" ] } ] @@ -1458,7 +1458,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbColor()" + "ThumbColor" ] }, { @@ -1468,7 +1468,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyThumbOpacity()" + "ThumbOpacity" ] } ] @@ -1508,9 +1508,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset()", + "ThumbOffset", "0", - "ceil(max(Object.Behavior::PropertyThumbWidth(),Object.Behavior::PropertyThumbHeight())/2)" + "ceil(max(ThumbWidth,ThumbHeight)/2)" ] } ] @@ -1550,10 +1550,10 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset() - (Object.Behavior::PropertyThumbWidth() / 2)", - "-Object.Behavior::PropertyThumbHeight() / 2", - "Object.Behavior::PropertyThumbOffset() + (Object.Behavior::PropertyThumbWidth() / 2)", - "Object.Behavior::PropertyThumbHeight() / 2" + "ThumbOffset - (ThumbWidth / 2)", + "-ThumbHeight / 2", + "ThumbOffset + (ThumbWidth / 2)", + "ThumbHeight / 2" ] } ] @@ -1769,7 +1769,7 @@ "Object", "Behavior", "=", - "min(Object.Behavior::PropertyThumbHeight(), Object.Behavior::PropertyThumbWidth()) / 2" + "min(ThumbHeight, ThumbWidth) / 2" ] } ] @@ -1856,7 +1856,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyValue()" + "Value" ] } ] @@ -1913,7 +1913,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1942,7 +1942,7 @@ "Object", "Behavior", "=", - "round(GetArgumentAsNumber(\"Value\") / Object.Behavior::PropertyTickSpacing()) * Object.Behavior::PropertyTickSpacing()" + "round(Value / TickSpacing) * TickSpacing" ] } ] @@ -1958,7 +1958,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyValueMin()" + "ValueMin" ] } ], @@ -1971,7 +1971,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyValueMin()" + "ValueMin" ] } ] @@ -1987,7 +1987,7 @@ "Object", "Behavior", ">", - "Object.Behavior::PropertyValueMax()" + "ValueMax" ] } ], @@ -2000,7 +2000,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyValueMax()" + "ValueMax" ] } ] @@ -2030,7 +2030,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyTrackLength() * (Object.Behavior::PropertyValue() - Object.Behavior::PropertyValueMin()) / (Object.Behavior::PropertyValueMax() - Object.Behavior::PropertyValueMin())" + "TrackLength * (Value - ValueMin) / (ValueMax - ValueMin)" ] }, { @@ -2084,7 +2084,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyValueMin()" + "ValueMin" ] } ] @@ -2129,7 +2129,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"ValueMin\")" + "ValueMin" ] }, { @@ -2184,7 +2184,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyValueMax()" + "ValueMax" ] } ] @@ -2226,7 +2226,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTrackThickness()" + "TrackThickness" ] } ] @@ -2268,7 +2268,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTrackLength()" + "TrackLength" ] } ] @@ -2310,7 +2310,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyThumbHeight()" + "ThumbHeight" ] } ] @@ -2355,7 +2355,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"ValueMax\")" + "ValueMax" ] }, { @@ -2410,7 +2410,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTickSpacing()" + "TickSpacing" ] } ] @@ -2460,7 +2460,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"TickSpacing\")" + "TickSpacing" ] }, { @@ -2518,7 +2518,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2567,7 +2567,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyValue()", + "Value", "" ] } @@ -2615,7 +2615,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2654,7 +2654,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyTrackThickness() + 2" + "TrackThickness + 2" ] } ], @@ -2666,7 +2666,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyTrackThickness() + 2", + "TrackThickness + 2", "" ] } @@ -2683,7 +2683,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyTrackThickness() + 2" + "TrackThickness + 2" ] } ], @@ -2695,7 +2695,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyTrackThickness() + 2", + "TrackThickness + 2", "" ] } @@ -2756,7 +2756,7 @@ "Object", "Behavior", "=", - "max(GetArgumentAsNumber(\"Value\"), Object.Behavior::PropertyTrackThickness() + 2)" + "max(Value, TrackThickness + 2)" ] } ] @@ -2842,7 +2842,7 @@ "Object", "Behavior", "=", - "max(GetArgumentAsNumber(\"Value\"), Object.Behavior::PropertyTrackThickness() + 2)" + "max(Value, TrackThickness + 2)" ] } ] @@ -2915,7 +2915,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -2972,7 +2972,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -3029,7 +3029,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -3086,7 +3086,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Shape\")" + "Shape" ] }, { @@ -3136,7 +3136,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyTrackThickness()" + "TrackThickness" ] } ], @@ -3148,7 +3148,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyTrackThickness()", + "TrackThickness", "" ] } @@ -3193,7 +3193,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"Value\")", + "Value", "=", "0" ] @@ -3220,7 +3220,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"Value\")", + "Value", "=", "1" ] @@ -3297,7 +3297,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -3354,7 +3354,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -3411,7 +3411,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -3468,7 +3468,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Color\")" + "Color" ] }, { @@ -3525,7 +3525,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Color\")" + "Color" ] }, { @@ -3582,7 +3582,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Color\")" + "Color" ] }, { @@ -3638,8 +3638,8 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyTrackLength() / 2", - "Object.Behavior::PropertyTrackThickness() / 2" + "TrackLength / 2", + "TrackThickness / 2" ] }, { @@ -3648,10 +3648,10 @@ }, "parameters": [ "Object", - "-Object.Behavior::PropertyThumbWidth() / 2", - "-Object.Behavior::PropertyThumbHeight() / 2", - "Object.Behavior::PropertyTrackLength() + Object.Behavior::PropertyThumbWidth() / 2", - "Object.Behavior::PropertyThumbHeight() / 2" + "-ThumbWidth / 2", + "-ThumbHeight / 2", + "TrackLength + ThumbWidth / 2", + "ThumbHeight / 2" ] } ] diff --git a/extensions/reviewed/DrawPathfinding.json b/extensions/reviewed/DrawPathfinding.json index 69d4f4d3..29dfa845 100644 --- a/extensions/reviewed/DrawPathfinding.json +++ b/extensions/reviewed/DrawPathfinding.json @@ -9,7 +9,7 @@ "name": "DrawPathfinding", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/resistor-nodes.svg", "shortDescription": "Draw the pathfinding of an object using a shape painter.", - "version": "0.1.3", + "version": "0.1.4", "origin": { "identifier": "DrawPathfinding", "name": "gdevelop-extension-store" @@ -212,8 +212,8 @@ }, "parameters": [ "ShapePainterObject", - "Object.PathfindingBehavior::GetNodeX(Object.Behavior::PropertyLoopIndex())", - "Object.PathfindingBehavior::GetNodeY(Object.Behavior::PropertyLoopIndex())", + "Object.PathfindingBehavior::GetNodeX(LoopIndex)", + "Object.PathfindingBehavior::GetNodeY(LoopIndex)", "3" ] } @@ -254,10 +254,10 @@ }, "parameters": [ "ShapePainterObject", - "Object.PathfindingBehavior::GetNodeX(Object.Behavior::PropertyLoopIndex())", - "Object.PathfindingBehavior::GetNodeY(Object.Behavior::PropertyLoopIndex())", - "Object.PathfindingBehavior::GetNodeX(Object.Behavior::PropertyLoopIndex() +1)", - "Object.PathfindingBehavior::GetNodeY(Object.Behavior::PropertyLoopIndex()+1)", + "Object.PathfindingBehavior::GetNodeX(LoopIndex)", + "Object.PathfindingBehavior::GetNodeY(LoopIndex)", + "Object.PathfindingBehavior::GetNodeX(LoopIndex +1)", + "Object.PathfindingBehavior::GetNodeY(LoopIndex+1)", "3" ] } diff --git a/extensions/reviewed/DungeonGenerator.json b/extensions/reviewed/DungeonGenerator.json index 8e8a9339..9e627223 100644 --- a/extensions/reviewed/DungeonGenerator.json +++ b/extensions/reviewed/DungeonGenerator.json @@ -8,7 +8,7 @@ "name": "DungeonGenerator", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/sitemap.svg", "shortDescription": "Create a procedurally generated dungeon. Includes two layouts: \"rooms and hallways\" and \"dungeon cave\".", - "version": "1.1.7", + "version": "1.1.8", "description": [ "How to use:", "- Run the \"Generate Dungeon Cave\" or \"Generate Dungeon with Rooms\" action at the beginning of a scene.", @@ -91,7 +91,7 @@ "parameters": [ "HallwayObject", "=", - "GetArgumentAsNumber(\"TileSize\") " + "TileSize " ] }, { @@ -101,7 +101,7 @@ "parameters": [ "HallwayObject", "=", - "GetArgumentAsNumber(\"TileSize\") " + "TileSize " ] } ] @@ -170,7 +170,7 @@ "parameters": [ "HallwayObject", "=", - "GetArgumentAsNumber(\"TileSize\") * max(1,GetArgumentAsNumber(\"HallwayWidth\"))" + "TileSize * max(1,HallwayWidth)" ] } ], @@ -210,7 +210,7 @@ "parameters": [ "HallwayObject", "=", - "GetArgumentAsNumber(\"TileSize\") * max(1,GetArgumentAsNumber(\"HallwayWidth\"))" + "TileSize * max(1,HallwayWidth)" ] } ] @@ -252,7 +252,7 @@ "parameters": [ "HallwayObject", "=", - "GetArgumentAsNumber(\"TileSize\") * max(1,GetArgumentAsNumber(\"HallwayWidth\"))" + "TileSize * max(1,HallwayWidth)" ] } ], @@ -292,7 +292,7 @@ "parameters": [ "HallwayObject", "=", - "GetArgumentAsNumber(\"TileSize\") * max(1,GetArgumentAsNumber(\"HallwayWidth\"))" + "TileSize * max(1,HallwayWidth)" ] } ] @@ -398,13 +398,13 @@ }, { "type": "BuiltinCommonInstructions::Repeat", - "repeatExpression": "GetArgumentAsNumber(\"MapHeight\")", + "repeatExpression": "MapHeight", "conditions": [], "actions": [], "events": [ { "type": "BuiltinCommonInstructions::Repeat", - "repeatExpression": "GetArgumentAsNumber(\"MapWidth\")", + "repeatExpression": "MapWidth", "conditions": [], "actions": [ { @@ -414,9 +414,9 @@ "parameters": [ "", "TerrainObject", - "Variable(__DungeonGenerator.CounterX) * GetArgumentAsNumber(\"TileSize\")", - "Variable(__DungeonGenerator.CounterY) * GetArgumentAsNumber(\"TileSize\")", - "GetArgumentAsString(\"Layer\")" + "Variable(__DungeonGenerator.CounterX) * TileSize", + "Variable(__DungeonGenerator.CounterY) * TileSize", + "Layer" ] }, { @@ -426,7 +426,7 @@ "parameters": [ "TerrainObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] }, { @@ -436,7 +436,7 @@ "parameters": [ "TerrainObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] }, { @@ -548,7 +548,7 @@ "parameters": [ "__DungeonGenerator.FloorGoal", "=", - "round((GetArgumentAsNumber(\"MapWidth\") - 2 * GetArgumentAsNumber(\"MinBorder\")) * (GetArgumentAsNumber(\"MapHeight\") - 2 * GetArgumentAsNumber(\"MinBorder\")) * GetArgumentAsNumber(\"FloorPercentage\"))" + "round((MapWidth - 2 * MinBorder) * (MapHeight - 2 * MinBorder) * FloorPercentage)" ] } ] @@ -702,13 +702,13 @@ }, { "type": "BuiltinCommonInstructions::Repeat", - "repeatExpression": "max(1,GetArgumentAsNumber(\"WalkerSize\"))", + "repeatExpression": "max(1,WalkerSize)", "conditions": [], "actions": [], "events": [ { "type": "BuiltinCommonInstructions::Repeat", - "repeatExpression": "max(1,GetArgumentAsNumber(\"WalkerSize\"))", + "repeatExpression": "max(1,WalkerSize)", "conditions": [], "actions": [], "events": [ @@ -738,7 +738,7 @@ "WalkerObject", "0", "0", - "GetArgumentAsString(\"Layer\")" + "Layer" ] } ], @@ -768,7 +768,7 @@ "WalkerObject", "__DungeonGenerator.Xpos", "=", - "round(GetArgumentAsNumber(\"MapWidth\")/2 + Variable(__DungeonGenerator.WalkerOffsetX))" + "round(MapWidth/2 + Variable(__DungeonGenerator.WalkerOffsetX))" ] }, { @@ -779,7 +779,7 @@ "WalkerObject", "__DungeonGenerator.Ypos", "=", - "round(GetArgumentAsNumber(\"MapHeight\")/2 + Variable(__DungeonGenerator.WalkerOffsetY))" + "round(MapHeight/2 + Variable(__DungeonGenerator.WalkerOffsetY))" ] }, { @@ -936,7 +936,7 @@ "parameters": [ "__DungeonGenerator.ChanceToGoRight", "=", - "0.5 * (GetArgumentAsNumber(\"MapWidth\") / (GetArgumentAsNumber(\"MapWidth\") + GetArgumentAsNumber(\"MapHeight\")))" + "0.5 * (MapWidth / (MapWidth + MapHeight))" ] }, { @@ -962,7 +962,7 @@ "parameters": [ "__DungeonGenerator.ChanceToGoUp", "=", - "0.5 * (GetArgumentAsNumber(\"MapHeight\") / (GetArgumentAsNumber(\"MapWidth\") + GetArgumentAsNumber(\"MapHeight\")))" + "0.5 * (MapHeight / (MapWidth + MapHeight))" ] }, { @@ -1268,7 +1268,7 @@ "WalkerObject", "__DungeonGenerator.Xpos", "<", - "GetArgumentAsNumber(\"MinBorder\")" + "MinBorder" ] }, { @@ -1279,7 +1279,7 @@ "WalkerObject", "__DungeonGenerator.Xpos", ">=", - "GetArgumentAsNumber(\"MapWidth\") - GetArgumentAsNumber(\"MinBorder\")" + "MapWidth - MinBorder" ] }, { @@ -1290,7 +1290,7 @@ "WalkerObject", "__DungeonGenerator.Ypos", "<", - "GetArgumentAsNumber(\"MinBorder\")" + "MinBorder" ] }, { @@ -1301,7 +1301,7 @@ "WalkerObject", "__DungeonGenerator.Ypos", ">=", - "GetArgumentAsNumber(\"MapHeight\") - GetArgumentAsNumber(\"MinBorder\")" + "MapHeight - MinBorder" ] } ] @@ -1545,13 +1545,13 @@ }, { "type": "BuiltinCommonInstructions::Repeat", - "repeatExpression": "GetArgumentAsNumber(\"MapHeight\")", + "repeatExpression": "MapHeight", "conditions": [], "actions": [], "events": [ { "type": "BuiltinCommonInstructions::Repeat", - "repeatExpression": "GetArgumentAsNumber(\"MapWidth\")", + "repeatExpression": "MapWidth", "conditions": [], "actions": [], "events": [ @@ -1590,9 +1590,9 @@ "parameters": [ "", "TerrainObject", - "Variable(__DungeonGenerator.CounterX) * GetArgumentAsNumber(\"TileSize\")", - "Variable(__DungeonGenerator.CounterY) * GetArgumentAsNumber(\"TileSize\")", - "GetArgumentAsString(\"Layer\")" + "Variable(__DungeonGenerator.CounterX) * TileSize", + "Variable(__DungeonGenerator.CounterY) * TileSize", + "Layer" ] }, { @@ -1602,7 +1602,7 @@ "parameters": [ "TerrainObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] }, { @@ -1612,7 +1612,7 @@ "parameters": [ "TerrainObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] } ] @@ -1652,9 +1652,9 @@ "parameters": [ "", "FloorObject", - "Variable(__DungeonGenerator.CounterX) * GetArgumentAsNumber(\"TileSize\")", - "Variable(__DungeonGenerator.CounterY) * GetArgumentAsNumber(\"TileSize\")", - "GetArgumentAsString(\"Layer\")" + "Variable(__DungeonGenerator.CounterX) * TileSize", + "Variable(__DungeonGenerator.CounterY) * TileSize", + "Layer" ] }, { @@ -1664,7 +1664,7 @@ "parameters": [ "FloorObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] }, { @@ -1674,7 +1674,7 @@ "parameters": [ "FloorObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] } ] @@ -1798,7 +1798,7 @@ "WallObject", "TerrainObject.X()", "TerrainObject.Y()", - "GetArgumentAsString(\"Layer\")" + "Layer" ] }, { @@ -1817,7 +1817,7 @@ "parameters": [ "WallObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] }, { @@ -1827,7 +1827,7 @@ "parameters": [ "WallObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] } ] @@ -2074,9 +2074,9 @@ }, "parameters": [ "", - "GetArgumentAsNumber(\"TileSize\")", - "GetArgumentAsNumber(\"MapWidth\")", - "GetArgumentAsNumber(\"MapHeight\")", + "TileSize", + "MapWidth", + "MapHeight", "TerrainObject", "" ] @@ -2106,7 +2106,7 @@ "parameters": [ "RoomObject", "<", - "GetArgumentAsNumber(\"RoomQty\")" + "RoomQty" ] } ], @@ -2137,9 +2137,9 @@ "parameters": [ "", "RoomObject", - "RandomInRange(GetArgumentAsNumber(\"HallwayWidth\"), GetArgumentAsNumber(\"MapWidth\") - GetArgumentAsNumber(\"MaxRoomWidth\") - GetArgumentAsNumber(\"HallwayWidth\")) * GetArgumentAsNumber(\"TileSize\")", - "RandomInRange(GetArgumentAsNumber(\"HallwayWidth\"), GetArgumentAsNumber(\"MapHeight\") - GetArgumentAsNumber(\"MaxRoomHeight\") - GetArgumentAsNumber(\"HallwayWidth\")) * GetArgumentAsNumber(\"TileSize\")", - "GetArgumentAsString(\"Layer\")" + "RandomInRange(HallwayWidth, MapWidth - MaxRoomWidth - HallwayWidth) * TileSize", + "RandomInRange(HallwayWidth, MapHeight - MaxRoomHeight - HallwayWidth) * TileSize", + "Layer" ] } ], @@ -2169,7 +2169,7 @@ "RoomObject", "__DungeonGenerator.RoomWidth", "=", - "RandomInRange(GetArgumentAsNumber(\"MinRoomWidth\"), GetArgumentAsNumber(\"MaxRoomWidth\")) * GetArgumentAsNumber(\"TileSize\")" + "RandomInRange(MinRoomWidth, MaxRoomWidth) * TileSize" ] }, { @@ -2180,7 +2180,7 @@ "RoomObject", "__DungeonGenerator.RoomHeight", "=", - "RandomInRange(GetArgumentAsNumber(\"MinRoomHeight\"), GetArgumentAsNumber(\"MaxRoomHeight\")) * GetArgumentAsNumber(\"TileSize\")" + "RandomInRange(MinRoomHeight, MaxRoomHeight) * TileSize" ] }, { @@ -2245,7 +2245,7 @@ "parameters": [ "__DungeonGenerator.MinSeparationDistance", "=", - "ceil((sqrt(pow(GetArgumentAsNumber(\"MaxRoomWidth\"),2) + pow(GetArgumentAsNumber(\"MaxRoomHeight\"),2)))) * GetArgumentAsNumber(\"TileSize\")" + "ceil((sqrt(pow(MaxRoomWidth,2) + pow(MaxRoomHeight,2)))) * TileSize" ] }, { @@ -2281,7 +2281,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"MaxSeparationAttempts\")", + "MaxSeparationAttempts", "!=", "0" ] @@ -2295,7 +2295,7 @@ "parameters": [ "__DungeonGenerator.MaxSeparationAttempts", "=", - "GetArgumentAsNumber(\"MaxSeparationAttempts\")" + "MaxSeparationAttempts" ] } ] @@ -2308,7 +2308,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"MaxSeparationAttempts\")", + "MaxSeparationAttempts", "=", "0" ] @@ -2404,9 +2404,9 @@ "parameters": [ "RoomObject", "+", - "RandomWithStep(-GetArgumentAsNumber(\"MaxRoomWidth\")/2,GetArgumentAsNumber(\"MaxRoomWidth\")/2,GetArgumentAsNumber(\"MaxRoomWidth\")) * GetArgumentAsNumber(\"TileSize\")", + "RandomWithStep(-MaxRoomWidth/2,MaxRoomWidth/2,MaxRoomWidth) * TileSize", "+", - "RandomWithStep(-GetArgumentAsNumber(\"MaxRoomHeight\")/2,GetArgumentAsNumber(\"MaxRoomHeight\")/2,GetArgumentAsNumber(\"MaxRoomHeight\")) * GetArgumentAsNumber(\"TileSize\")" + "RandomWithStep(-MaxRoomHeight/2,MaxRoomHeight/2,MaxRoomHeight) * TileSize" ] } ] @@ -2434,7 +2434,7 @@ "parameters": [ "RoomObject", ">", - "(GetArgumentAsNumber(\"MapHeight\") - GetArgumentAsNumber(\"MaxRoomWidth\") - GetArgumentAsNumber(\"HallwayWidth\"))*GetArgumentAsNumber(\"TileSize\")" + "(MapHeight - MaxRoomWidth - HallwayWidth)*TileSize" ] } ], @@ -2446,7 +2446,7 @@ "parameters": [ "RoomObject", "=", - "(GetArgumentAsNumber(\"MapHeight\") - GetArgumentAsNumber(\"MaxRoomWidth\") - GetArgumentAsNumber(\"HallwayWidth\"))*GetArgumentAsNumber(\"TileSize\")" + "(MapHeight - MaxRoomWidth - HallwayWidth)*TileSize" ] } ] @@ -2461,7 +2461,7 @@ "parameters": [ "RoomObject", ">", - "(GetArgumentAsNumber(\"MapWidth\") - GetArgumentAsNumber(\"MaxRoomWidth\") - GetArgumentAsNumber(\"HallwayWidth\"))*GetArgumentAsNumber(\"TileSize\")" + "(MapWidth - MaxRoomWidth - HallwayWidth)*TileSize" ] } ], @@ -2473,7 +2473,7 @@ "parameters": [ "RoomObject", "=", - "(GetArgumentAsNumber(\"MapWidth\") - GetArgumentAsNumber(\"MaxRoomWidth\") - GetArgumentAsNumber(\"HallwayWidth\"))*GetArgumentAsNumber(\"TileSize\")" + "(MapWidth - MaxRoomWidth - HallwayWidth)*TileSize" ] } ] @@ -2488,7 +2488,7 @@ "parameters": [ "RoomObject", "<", - "GetArgumentAsNumber(\"HallwayWidth\")*GetArgumentAsNumber(\"TileSize\")" + "HallwayWidth*TileSize" ] } ], @@ -2500,7 +2500,7 @@ "parameters": [ "RoomObject", "=", - "GetArgumentAsNumber(\"HallwayWidth\")*GetArgumentAsNumber(\"TileSize\")" + "HallwayWidth*TileSize" ] } ] @@ -2515,7 +2515,7 @@ "parameters": [ "RoomObject", "<", - "GetArgumentAsNumber(\"HallwayWidth\")*GetArgumentAsNumber(\"TileSize\")" + "HallwayWidth*TileSize" ] } ], @@ -2527,7 +2527,7 @@ "parameters": [ "RoomObject", "=", - "GetArgumentAsNumber(\"HallwayWidth\")*GetArgumentAsNumber(\"TileSize\")" + "HallwayWidth*TileSize" ] } ] @@ -2583,7 +2583,7 @@ "PathfinderObject", "0", "0", - "GetArgumentAsString(\"Layer\")" + "Layer" ] }, { @@ -2603,7 +2603,7 @@ "parameters": [ "PathfinderObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] }, { @@ -2613,7 +2613,7 @@ "parameters": [ "PathfinderObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] }, { @@ -2652,7 +2652,7 @@ "PathfinderObject", "PathfindingBehavior", "!=", - "GetArgumentAsNumber(\"TileSize\") " + "TileSize " ] } ], @@ -2665,7 +2665,7 @@ "PathfinderObject", "PathfindingBehavior", "=", - "GetArgumentAsNumber(\"TileSize\") " + "TileSize " ] } ] @@ -2681,7 +2681,7 @@ "PathfinderObject", "PathfindingBehavior", "!=", - "GetArgumentAsNumber(\"TileSize\") " + "TileSize " ] } ], @@ -2694,7 +2694,7 @@ "PathfinderObject", "PathfindingBehavior", "=", - "GetArgumentAsNumber(\"TileSize\") " + "TileSize " ] } ] @@ -2975,7 +2975,7 @@ "HallwayObject", "PathfinderObject.PathfindingBehavior::GetNodeX(Variable(__DungeonGenerator.PathCounter))", "PathfinderObject.PathfindingBehavior::GetNodeY(Variable(__DungeonGenerator.PathCounter))", - "GetArgumentAsString(\"Layer\")" + "Layer" ] } ], @@ -3006,8 +3006,8 @@ "HallwayObject", "PathfinderObject", "PathfindingBehavior", - "GetArgumentAsNumber(\"TileSize\")", - "GetArgumentAsNumber(\"HallwayWidth\")", + "TileSize", + "HallwayWidth", "" ] } @@ -3178,7 +3178,7 @@ "HallwayObject", "PathfinderObject.PathfindingBehavior::GetNodeX(Variable(__DungeonGenerator.PathCounter))", "PathfinderObject.PathfindingBehavior::GetNodeY(Variable(__DungeonGenerator.PathCounter))", - "GetArgumentAsString(\"Layer\")" + "Layer" ] } ], @@ -3209,8 +3209,8 @@ "HallwayObject", "PathfinderObject", "PathfindingBehavior", - "GetArgumentAsNumber(\"TileSize\")", - "GetArgumentAsNumber(\"HallwayWidth\")", + "TileSize", + "HallwayWidth", "" ] } @@ -3303,7 +3303,7 @@ "parameters": [ "__DungeonGenerator.AdditionalPathCounter", "<", - "GetArgumentAsNumber(\"AdditionalPaths\")" + "AdditionalPaths" ] } ], @@ -3401,7 +3401,7 @@ "HallwayObject", "PathfinderObject.PathfindingBehavior::GetNodeX(Variable(__DungeonGenerator.PathCounter))", "PathfinderObject.PathfindingBehavior::GetNodeY(Variable(__DungeonGenerator.PathCounter))", - "GetArgumentAsString(\"Layer\")" + "Layer" ] } ], @@ -3432,8 +3432,8 @@ "HallwayObject", "PathfinderObject", "PathfindingBehavior", - "GetArgumentAsNumber(\"TileSize\")", - "GetArgumentAsNumber(\"HallwayWidth\")", + "TileSize", + "HallwayWidth", "" ] } @@ -3664,7 +3664,7 @@ "WallObject", "TerrainObject.X()", "TerrainObject.Y()", - "GetArgumentAsString(\"Layer\")" + "Layer" ] }, { @@ -3683,7 +3683,7 @@ "parameters": [ "WallObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] }, { @@ -3693,7 +3693,7 @@ "parameters": [ "WallObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] } ] @@ -3763,7 +3763,7 @@ "WallObject", "TerrainObject.X()", "TerrainObject.Y()", - "GetArgumentAsString(\"Layer\")" + "Layer" ] }, { @@ -3782,7 +3782,7 @@ "parameters": [ "WallObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] }, { @@ -3792,7 +3792,7 @@ "parameters": [ "WallObject", "=", - "GetArgumentAsNumber(\"TileSize\")" + "TileSize" ] } ] diff --git a/extensions/reviewed/EdgeScrollCamera.json b/extensions/reviewed/EdgeScrollCamera.json index 14e26645..92beb7e7 100644 --- a/extensions/reviewed/EdgeScrollCamera.json +++ b/extensions/reviewed/EdgeScrollCamera.json @@ -9,7 +9,7 @@ "name": "EdgeScrollCamera", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/camera-metering-matrix.svg", "shortDescription": "Scroll camera when cursor is near edge of screen.", - "version": "1.0.0", + "version": "1.0.1", "tags": [ "camera", "scroll", @@ -610,7 +610,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"ScrollStyle\")", + "ScrollStyle", "=", "\"Constant speed\"" ] @@ -637,7 +637,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"ScrollStyle\")", + "ScrollStyle", "=", "\"Progressive speed\"" ] @@ -667,7 +667,7 @@ "parameters": [ "__EdgeScrollCamera.Layer", "=", - "GetArgumentAsString(\"Layer\")" + "Layer" ] }, { @@ -677,7 +677,7 @@ "parameters": [ "__EdgeScrollCamera.Camera", "=", - "GetArgumentAsNumber(\"Camera\")" + "Camera" ] }, { @@ -687,7 +687,7 @@ "parameters": [ "__EdgeScrollCamera.ScrollSpeed", "=", - "GetArgumentAsNumber(\"ScrollSpeed\")" + "ScrollSpeed" ] }, { @@ -697,7 +697,7 @@ "parameters": [ "__EdgeScrollCamera.ScreenMargin", "=", - "max(1, GetArgumentAsNumber(\"ScreenMargin\"))" + "max(1, ScreenMargin)" ] } ] @@ -1053,7 +1053,7 @@ "ShapePainter", "0", "0", - "GetArgumentAsString(\"Layer\")" + "Layer" ] } ] @@ -1158,10 +1158,10 @@ }, "parameters": [ "ShapePainter", - "CameraBorderLeft(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\")) + Variable(__EdgeScrollCamera.ScreenMargin)", - "CameraBorderTop(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\")) + Variable(__EdgeScrollCamera.ScreenMargin)", - "CameraBorderRight(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\")) - Variable(__EdgeScrollCamera.ScreenMargin)", - "CameraBorderBottom(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\")) - Variable(__EdgeScrollCamera.ScreenMargin)" + "CameraBorderLeft(Layer,Camera) + Variable(__EdgeScrollCamera.ScreenMargin)", + "CameraBorderTop(Layer,Camera) + Variable(__EdgeScrollCamera.ScreenMargin)", + "CameraBorderRight(Layer,Camera) - Variable(__EdgeScrollCamera.ScreenMargin)", + "CameraBorderBottom(Layer,Camera) - Variable(__EdgeScrollCamera.ScreenMargin)" ] } ] @@ -1295,7 +1295,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "(1 - abs(GetArgumentAsNumber(\"BorderDistance\")) / Variable(__EdgeScrollCamera.ScreenMargin)) * Variable(__EdgeScrollCamera.ScrollSpeed)" + "(1 - abs(BorderDistance) / Variable(__EdgeScrollCamera.ScreenMargin)) * Variable(__EdgeScrollCamera.ScrollSpeed)" ] } ] @@ -1337,7 +1337,7 @@ "value": "BuiltinCommonInstructions::CompareNumbers" }, "parameters": [ - "abs(GetArgumentAsNumber(\"BorderDistance\"))", + "abs(BorderDistance)", "<=", "1" ] diff --git a/extensions/reviewed/EllipseMovement.json b/extensions/reviewed/EllipseMovement.json index ac4a9932..d4342068 100644 --- a/extensions/reviewed/EllipseMovement.json +++ b/extensions/reviewed/EllipseMovement.json @@ -8,7 +8,7 @@ "name": "EllipseMovement", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/sine-wave.svg", "shortDescription": "Move objects on ellipses or smoothly back and forth in one direction.", - "version": "1.0.2", + "version": "1.0.3", "description": [ "It allows objects to move:", "- on an ellipsis or arcs", @@ -147,7 +147,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyInitialDirectionAngle() + 90" + "InitialDirectionAngle + 90" ] } ] @@ -176,7 +176,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyInitialDirectionAngle() - 90" + "InitialDirectionAngle - 90" ] } ] @@ -256,7 +256,7 @@ "Object", "Behavior", "+", - "Object.X() - Object.Behavior::PropertyOldX()" + "Object.X() - OldX" ] }, { @@ -267,7 +267,7 @@ "Object", "Behavior", "+", - "Object.Y() - Object.Behavior::PropertyOldY()" + "Object.Y() - OldY" ] } ] @@ -308,7 +308,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyCenterX() + Object.Behavior::DeltaX()" + "CenterX + Object.Behavior::DeltaX()" ] } ] @@ -336,7 +336,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyCenterY() + Object.Behavior::DeltaY()" + "CenterY + Object.Behavior::DeltaY()" ] } ] @@ -362,7 +362,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::DirectionAngle() + Object.Behavior::PropertyRotationOffset()" + "Object.Behavior::DirectionAngle() + RotationOffset" ] } ] @@ -455,7 +455,7 @@ "Object", "Behavior", "+", - "360 * TimeDelta() / Object.Behavior::PropertyLoopDuration()" + "360 * TimeDelta() / LoopDuration" ] } ] @@ -722,7 +722,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMovementAngle()" + "MovementAngle" ] } ] @@ -763,7 +763,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "abs(Object.Behavior::PropertyLoopDuration())" + "abs(LoopDuration)" ] } ] @@ -804,7 +804,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyRadiusX()" + "RadiusX" ] } ] @@ -845,7 +845,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyRadiusY()" + "RadiusY" ] } ] @@ -886,7 +886,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCenterX()" + "CenterX" ] } ] @@ -927,7 +927,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCenterY()" + "CenterY" ] } ] @@ -971,7 +971,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1017,7 +1017,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1074,7 +1074,7 @@ "Object", "Behavior", "=", - "-GetArgumentAsNumber(\"Value\")" + "-Value" ] } ] @@ -1103,7 +1103,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1148,7 +1148,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1190,7 +1190,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "cos(ToRad(Object.Behavior::PropertyMovementAngle())) * Object.Behavior::PropertyRadiusX()" + "cos(ToRad(MovementAngle)) * RadiusX" ] } ] @@ -1230,7 +1230,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "sin(ToRad(Object.Behavior::PropertyMovementAngle())) * Object.Behavior::PropertyRadiusY()" + "sin(ToRad(MovementAngle)) * RadiusY" ] } ] @@ -1282,7 +1282,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMovementAngle() + 90" + "MovementAngle + 90" ] } ] @@ -1308,7 +1308,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMovementAngle() - 90" + "MovementAngle - 90" ] } ] diff --git a/extensions/reviewed/ExplosionForce.json b/extensions/reviewed/ExplosionForce.json index dfa16d84..a2ae39b3 100644 --- a/extensions/reviewed/ExplosionForce.json +++ b/extensions/reviewed/ExplosionForce.json @@ -8,7 +8,7 @@ "name": "ExplosionForce", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/bomb.svg", "shortDescription": "Simulate an explosion with physics forces on target objects.", - "version": "1.3.1", + "version": "1.3.2", "description": [ "Apply explosion-like physics forces to target objects that are inside the explosion radius. Forces will push the target objects away from the explosion center. The force applied is stronger the closer the target object is to the explosion center. Target objects will be changed to \"Dynamic\" physics objects. ", "", @@ -66,9 +66,9 @@ "value": "Egal" }, "parameters": [ - "DistanceBetweenPositions(TargetObject.BoundingBoxCenterX(),TargetObject.BoundingBoxCenterY(),GetArgumentAsNumber(\"ExplosionCenterX\"),GetArgumentAsNumber(\"ExplosionCenterY\"))", + "DistanceBetweenPositions(TargetObject.BoundingBoxCenterX(),TargetObject.BoundingBoxCenterY(),ExplosionCenterX,ExplosionCenterY)", "<", - "GetArgumentAsNumber(\"ExplosionRadius\")" + "ExplosionRadius" ] } ], @@ -148,7 +148,7 @@ "TargetObject", "__ExplosionForce.Angle", "=", - "180 + TargetObject.AngleToPosition(GetArgumentAsNumber(\"ExplosionCenterX\"),GetArgumentAsNumber(\"ExplosionCenterY\"))" + "180 + TargetObject.AngleToPosition(ExplosionCenterX,ExplosionCenterY)" ] } ] @@ -178,7 +178,7 @@ "TargetObject", "__ExplosionForce.Magnitude", "=", - "(GetArgumentAsNumber(\"MaxForce\") * (GetArgumentAsNumber(\"ExplosionRadius\") - DistanceBetweenPositions(TargetObject.CenterX(),TargetObject.CenterY(),GetArgumentAsNumber(\"ExplosionCenterX\"),GetArgumentAsNumber(\"ExplosionCenterY\"))) / GetArgumentAsNumber(\"ExplosionRadius\"))" + "(MaxForce * (ExplosionRadius - DistanceBetweenPositions(TargetObject.CenterX(),TargetObject.CenterY(),ExplosionCenterX,ExplosionCenterY)) / ExplosionRadius)" ] } ] diff --git a/extensions/reviewed/ExtendedMath.json b/extensions/reviewed/ExtendedMath.json index ce52453c..c3fa8d78 100644 --- a/extensions/reviewed/ExtendedMath.json +++ b/extensions/reviewed/ExtendedMath.json @@ -9,7 +9,7 @@ "name": "ExtendedMath", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/function-variant.svg", "shortDescription": "Additional math functions and constants as expressions and conditions.", - "version": "1.1.0", + "version": "1.1.1", "tags": [ "math", "constants", @@ -910,7 +910,7 @@ "value": "Egal" }, "parameters": [ - "mod(GetArgumentAsNumber(\"Value\"),2)", + "mod(Value,2)", "=", "0" ], diff --git a/extensions/reviewed/ExtendedVariables.json b/extensions/reviewed/ExtendedVariables.json index 2595123c..bb1f556f 100644 --- a/extensions/reviewed/ExtendedVariables.json +++ b/extensions/reviewed/ExtendedVariables.json @@ -8,7 +8,7 @@ "name": "ExtendedVariables", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/variable-box.svg", "shortDescription": "Add conditions, actions and expressions to check for the existence of a variable, copy variables, delete existing ones from memory, and create dynamic variables.", - "version": "1.0.3", + "version": "1.0.4", "description": [ "This extension provides: ", "- Conditions to check if a global/scene/object variable exists.", @@ -74,7 +74,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"GlobalVariableName\")", + "GlobalVariableName", "" ] } @@ -160,7 +160,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"SceneVariableName\")", + "SceneVariableName", "" ] } @@ -247,7 +247,7 @@ "parameters": [ "", "ObjectToCheck", - "GetArgumentAsString(\"ObjectVariableName\")", + "ObjectVariableName", "" ] } @@ -343,7 +343,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"GlobalVariableName\")", + "GlobalVariableName", "" ] } @@ -403,8 +403,8 @@ }, "parameters": [ "", - "GetArgumentAsString(\"SceneVariableName\")", - "GetArgumentAsNumber(\"SceneVariableValue\")", + "SceneVariableName", + "SceneVariableValue", "" ] } @@ -510,8 +510,8 @@ }, "parameters": [ "", - "GetArgumentAsString(\"SceneVariableName\")", - "GetArgumentAsNumber(\"SceneVariableValue\")", + "SceneVariableName", + "SceneVariableValue", "" ] } @@ -551,8 +551,8 @@ }, "parameters": [ "", - "GetArgumentAsString(\"SceneVariableName\")", - "GetArgumentAsNumber(\"SceneVariableValue\")", + "SceneVariableName", + "SceneVariableValue", "" ] } @@ -625,8 +625,8 @@ }, "parameters": [ "", - "GetArgumentAsString(\"SceneVariableName\")", - "GetArgumentAsNumber(\"SceneVariableValue\")", + "SceneVariableName", + "SceneVariableValue", "" ] } @@ -699,7 +699,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"SceneVariableName\")", + "SceneVariableName", "" ] } @@ -760,9 +760,9 @@ "parameters": [ "", "SourceObject", - "GetArgumentAsString(\"SourceVariableName\")", + "SourceVariableName", "TargetObject", - "GetArgumentAsString(\"TargetVariableName\")", + "TargetVariableName", "no", "" ] diff --git a/extensions/reviewed/FaceForward.json b/extensions/reviewed/FaceForward.json index 78107b3a..df261d6e 100644 --- a/extensions/reviewed/FaceForward.json +++ b/extensions/reviewed/FaceForward.json @@ -8,7 +8,7 @@ "name": "FaceForward", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/cart-arrow-right.svg", "shortDescription": "Face object towards the direction of movement.", - "version": "0.1.2", + "version": "0.1.3", "description": [ "Set the angle of the object to match the direction of movement.", "", @@ -115,7 +115,7 @@ "Object", "Behavior", "=", - "AngleBetweenPositions(Object.Behavior::PropertyPreviousX(), Object.Behavior::PropertyPreviousY(), Object.CenterX(), Object.CenterY())" + "AngleBetweenPositions(PreviousX, PreviousY, Object.CenterX(), Object.CenterY())" ] } ] @@ -142,8 +142,8 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyMovementDirection() + Object.Behavior::OffsetAngle()", - "abs(Object.Behavior::PropertyRotationSpeed())", + "MovementDirection + Object.Behavior::OffsetAngle()", + "abs(RotationSpeed)", "" ] } @@ -226,7 +226,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"RotationSpeed\")" + "RotationSpeed" ] } ] @@ -271,7 +271,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"OffsetAngle\")" + "OffsetAngle" ] } ] @@ -313,7 +313,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyRotationSpeed()" + "RotationSpeed" ] } ] @@ -353,7 +353,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyOffsetAngle()" + "OffsetAngle" ] } ] @@ -393,7 +393,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMovementDirection()" + "MovementDirection" ] } ] diff --git a/extensions/reviewed/FirstPersonCamera.json b/extensions/reviewed/FirstPersonCamera.json index 56386c0a..3fd57db6 100644 --- a/extensions/reviewed/FirstPersonCamera.json +++ b/extensions/reviewed/FirstPersonCamera.json @@ -8,7 +8,7 @@ "name": "FirstPersonCamera", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Security and Protection/e8248ffd504c314e6a9d9d560c3a0fdad3398a5f125ae6a4c0654d4e68c86376_Security and Protection_security_protection_eye_scan_lock.svg", "shortDescription": "Move the camera to look though objects eyes.", - "version": "1.0.1", + "version": "1.0.2", "description": [ "Move the camera to look though objects eyes.", "", @@ -48,7 +48,7 @@ "", "Object", "", - "GetArgumentAsString(\"Layer\")", + "Layer", "" ] }, @@ -60,7 +60,7 @@ "", "=", "Object.Z()", - "GetArgumentAsString(\"Layer\")", + "Layer", "" ] }, @@ -72,7 +72,7 @@ "", "=", "Object.Z()", - "GetArgumentAsString(\"Layer\")", + "Layer", "" ] }, @@ -84,7 +84,7 @@ "", "=", "- Object.RotationY() + 90", - "GetArgumentAsString(\"Layer\")", + "Layer", "" ] }, @@ -96,7 +96,7 @@ "", "=", "Object.RotationX()", - "GetArgumentAsString(\"Layer\")", + "Layer", "" ] }, @@ -108,7 +108,7 @@ "", "=", "Object.Angle() + 90", - "GetArgumentAsString(\"Layer\")", + "Layer", "" ] } diff --git a/extensions/reviewed/FlashLayer.json b/extensions/reviewed/FlashLayer.json index 5a2e1d7f..3951456f 100644 --- a/extensions/reviewed/FlashLayer.json +++ b/extensions/reviewed/FlashLayer.json @@ -9,7 +9,7 @@ "name": "FlashLayer", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/flash-outline.svg", "shortDescription": "Make a layer visible for a specified duration, and then hide the layer.", - "version": "0.2.0", + "version": "0.2.1", "tags": [ "effect", "vfx", @@ -60,7 +60,7 @@ "parameters": [ "__FlashLayer_Layer", "=", - "GetArgumentAsString(\"LayerToFlash\")" + "LayerToFlash" ], "subInstructions": [] }, @@ -72,7 +72,7 @@ "parameters": [ "__FlashLayer_Duration", "=", - "GetArgumentAsNumber(\"Duration\")" + "Duration" ], "subInstructions": [] } diff --git a/extensions/reviewed/FollowObjectsWithCamera.json b/extensions/reviewed/FollowObjectsWithCamera.json index 940aacd2..746d41b2 100644 --- a/extensions/reviewed/FollowObjectsWithCamera.json +++ b/extensions/reviewed/FollowObjectsWithCamera.json @@ -8,7 +8,7 @@ "name": "FollowObjectsWithCamera", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/camera-switch-outline.svg", "shortDescription": "Change the zoom and position of the camera to keep all instances of an object (or object group) on the screen.", - "version": "1.0.1", + "version": "1.0.2", "description": [ "Use the \"Follow multiple objects with camera\" action on every frame that you want the camera to move. ", "If you want to select which object instances are tracked by the camera, add conditions to that event.", @@ -71,7 +71,7 @@ "parameters": [ "__FollowObjects.MaxZoom", "=", - "GetArgumentAsNumber(\"MaxZoom\")" + "MaxZoom" ] } ] @@ -84,7 +84,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"MaxZoom\")", + "MaxZoom", "=", "0" ] @@ -111,7 +111,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"LerpSpeed\")", + "LerpSpeed", ">", "0" ] @@ -125,7 +125,7 @@ "parameters": [ "__FollowObjects.LerpSpeed", "=", - "GetArgumentAsNumber(\"LerpSpeed\")" + "LerpSpeed" ] } ] @@ -138,7 +138,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"LerpSpeed\")", + "LerpSpeed", "<=", "0" ] @@ -370,7 +370,7 @@ "parameters": [ "__FollowObjects.CameraWidth", "=", - "abs(Variable(__FollowObjects.MaxX) - Variable(__FollowObjects.MinX)) + GetArgumentAsNumber(\"HorizontalBuffer\") * 2" + "abs(Variable(__FollowObjects.MaxX) - Variable(__FollowObjects.MinX)) + HorizontalBuffer * 2" ] }, { @@ -380,7 +380,7 @@ "parameters": [ "__FollowObjects.CameraHeight", "=", - "abs(Variable(__FollowObjects.MaxY) - Variable(__FollowObjects.MinY)) + GetArgumentAsNumber(\"VerticalBuffer\") * 2" + "abs(Variable(__FollowObjects.MaxY) - Variable(__FollowObjects.MinY)) + VerticalBuffer * 2" ] }, { @@ -517,10 +517,10 @@ "parameters": [ "", "Object", - "GetArgumentAsNumber(\"HorizontalBuffer\")", - "GetArgumentAsNumber(\"VerticalBuffer\")", - "GetArgumentAsNumber(\"MaxZoom\")", - "GetArgumentAsNumber(\"LerpSpeed\")", + "HorizontalBuffer", + "VerticalBuffer", + "MaxZoom", + "LerpSpeed", "" ] } diff --git a/extensions/reviewed/Gamepads.json b/extensions/reviewed/Gamepads.json index fe62fb19..16de5a72 100644 --- a/extensions/reviewed/Gamepads.json +++ b/extensions/reviewed/Gamepads.json @@ -8,7 +8,7 @@ "name": "Gamepads", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/gamepad-variant-outline.svg", "shortDescription": "Add support for gamepads (or other controllers) to your game, giving access to information such as button presses, axis positions, trigger pressure, etc...", - "version": "0.6.1", + "version": "0.6.2", "description": [ "Add support for gamepads (or other controllers).", "", @@ -202,7 +202,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Gamepads::StickAngle(GetArgumentAsNumber(\"player_ID\"), GetArgumentAsString(\"stick\"))" + "Gamepads::StickAngle(player_ID, stick)" ] } ] @@ -2089,7 +2089,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "" ] } @@ -2120,7 +2120,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Left\"" ] @@ -2147,7 +2147,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Left\"" ] @@ -2174,7 +2174,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Up\"", "\"Left\"" ] @@ -2210,7 +2210,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Down\"", "\"Left\"" ] @@ -2254,7 +2254,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Left\"", "" @@ -2282,7 +2282,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Right\"", "" @@ -2310,7 +2310,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Up\"", "" @@ -2347,7 +2347,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Down\"", "" @@ -2392,7 +2392,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Left\"", "" @@ -2420,7 +2420,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Right\"", "" @@ -2448,7 +2448,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Up\"", "" @@ -2485,7 +2485,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Down\"", "" @@ -2526,7 +2526,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"A\"", "\"Left\"" ] @@ -2564,7 +2564,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"B\"", "\"Left\"" ] @@ -2602,7 +2602,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"X\"", "\"Left\"" ] @@ -2640,7 +2640,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Y\"", "\"Left\"" ] @@ -2678,7 +2678,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"LB\"", "\"Left\"" ] @@ -2716,7 +2716,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"RB\"", "\"Left\"" ] @@ -2754,7 +2754,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"LT\"", "\"Left\"" ] @@ -2792,7 +2792,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"RT\"", "\"Left\"" ] @@ -2925,7 +2925,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "" ] } @@ -2956,7 +2956,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Left\"" ] @@ -2983,7 +2983,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Left\"" ] @@ -3010,7 +3010,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Up\"", "\"Left\"" ] @@ -3037,7 +3037,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Down\"", "\"Left\"" ] @@ -3095,8 +3095,8 @@ "parameters": [ "Object", "TopDownMovement", - "Gamepads::StickRotationValue(Object.Behavior::PropertyGamepadIdentifier(), \"Left\")", - "Gamepads::StickForce(Object.Behavior::PropertyGamepadIdentifier(), \"Left\")" + "Gamepads::StickRotationValue(GamepadIdentifier, \"Left\")", + "Gamepads::StickForce(GamepadIdentifier, \"Left\")" ] } ] @@ -3124,8 +3124,8 @@ "parameters": [ "Object", "TopDownMovement", - "Gamepads::StickRotationValue(Object.Behavior::PropertyGamepadIdentifier(), \"Left\")", - "sign(Gamepads::StickForce(Object.Behavior::PropertyGamepadIdentifier(), \"Left\"))" + "Gamepads::StickRotationValue(GamepadIdentifier, \"Left\")", + "sign(Gamepads::StickForce(GamepadIdentifier, \"Left\"))" ] } ] @@ -3156,7 +3156,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Left\"", "" @@ -3184,7 +3184,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Right\"", "" @@ -3212,7 +3212,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Up\"", "" @@ -3240,7 +3240,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Left\"", "\"Down\"", "" @@ -3301,8 +3301,8 @@ "parameters": [ "Object", "TopDownMovement", - "Gamepads::StickRotationValue(Object.Behavior::PropertyGamepadIdentifier(), \"Right\")", - "Gamepads::StickForce(Object.Behavior::PropertyGamepadIdentifier(), \"Right\")" + "Gamepads::StickRotationValue(GamepadIdentifier, \"Right\")", + "Gamepads::StickForce(GamepadIdentifier, \"Right\")" ] } ] @@ -3330,7 +3330,7 @@ "parameters": [ "Object", "TopDownMovement", - "sign(Gamepads::StickForce(Object.Behavior::PropertyGamepadIdentifier(), \"Right\"))", + "sign(Gamepads::StickForce(GamepadIdentifier, \"Right\"))", "1" ] } @@ -3362,7 +3362,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Left\"", "" @@ -3390,7 +3390,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Right\"", "" @@ -3418,7 +3418,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Up\"", "" @@ -3446,7 +3446,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyGamepadIdentifier()", + "GamepadIdentifier", "\"Right\"", "\"Down\"", "" diff --git a/extensions/reviewed/Health.json b/extensions/reviewed/Health.json index 2dcf0b1d..692819ad 100644 --- a/extensions/reviewed/Health.json +++ b/extensions/reviewed/Health.json @@ -8,7 +8,7 @@ "name": "Health", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/heart-half-full.svg", "shortDescription": "Manage health (life) points, shield and armor.", - "version": "0.3.1", + "version": "0.3.2", "description": [ "Manage health (life) points, shield and armor. ", "", @@ -79,7 +79,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyHealth()", + "Health", "" ] } @@ -170,7 +170,7 @@ "Object", "\"__Health.TimeSinceLastHit\"", ">", - "Object.Behavior::PropertyHealthRegenDelay()" + "HealthRegenDelay" ] } ], @@ -183,7 +183,7 @@ "Object", "Behavior", "+", - "Object.Behavior::PropertyHealthRegenRate() * TimeDelta()" + "HealthRegenRate * TimeDelta()" ] } ], @@ -224,7 +224,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyMaxHealth()" + "MaxHealth" ] } ] @@ -337,7 +337,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyMaxShieldPoints()" + "MaxShieldPoints" ] }, { @@ -348,7 +348,7 @@ "Object", "\"__Health.TimeSinceLastHit\"", ">", - "Object.Behavior::PropertyShieldRegenDelay()" + "ShieldRegenDelay" ] } ], @@ -394,7 +394,7 @@ "Object", "Behavior", "+", - "Object.Behavior::PropertyShieldRegenRate() * TimeDelta()" + "ShieldRegenRate * TimeDelta()" ] } ] @@ -422,7 +422,7 @@ "Object", "Behavior", ">", - "Object.Behavior::PropertyMaxShieldPoints()" + "MaxShieldPoints" ] } ], @@ -435,7 +435,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyMaxShieldPoints()" + "MaxShieldPoints" ] } ] @@ -592,7 +592,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"DamageValue\")" + "DamageValue" ] } ], @@ -628,7 +628,7 @@ "parameters": [ "RandomFloatInRange(0,1)", "<", - "Object.Behavior::PropertyChanceToDodge()" + "ChanceToDodge" ] } ], @@ -714,7 +714,7 @@ "Object", "Behavior", "=", - "max(0,Object.Behavior::PropertyDamageToBeApplied() - Object.Behavior::PropertyFlatDamageReduction())" + "max(0,DamageToBeApplied - FlatDamageReduction)" ] } ] @@ -766,7 +766,7 @@ "Object", "Behavior", "*", - "1 - min(1, Object.Behavior::PropertyPercentDamageReduction())" + "1 - min(1, PercentDamageReduction)" ] } ] @@ -879,7 +879,7 @@ "Object", "Behavior", "<=", - "Object.Behavior::PropertyCurrentShieldPoints()" + "CurrentShieldPoints" ] } ], @@ -892,7 +892,7 @@ "Object", "Behavior", "-", - "Object.Behavior::PropertyDamageToBeApplied()" + "DamageToBeApplied" ] }, { @@ -903,7 +903,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyDamageToBeApplied()" + "DamageToBeApplied" ] }, { @@ -942,7 +942,7 @@ "Object", "Behavior", ">", - "Object.Behavior::PropertyCurrentShieldPoints()" + "CurrentShieldPoints" ] } ], @@ -955,7 +955,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyCurrentShieldPoints()" + "CurrentShieldPoints" ] } ], @@ -1033,7 +1033,7 @@ "Object", "Behavior", "-", - "Object.Behavior::PropertyCurrentShieldPoints()" + "CurrentShieldPoints" ] }, { @@ -1115,7 +1115,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyCurrentHealth() - Object.Behavior::PropertyDamageToBeApplied()", + "CurrentHealth - DamageToBeApplied", "" ] } @@ -1183,7 +1183,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCurrentHealth()" + "CurrentHealth" ] } ] @@ -1227,7 +1227,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1268,7 +1268,7 @@ "Object", "Behavior", "=", - "min(Object.Behavior::PropertyCurrentHealth(), Object.Behavior::PropertyMaxHealth())" + "min(CurrentHealth, MaxHealth)" ] } ] @@ -1314,7 +1314,7 @@ "parameters": [ "Object", "Behavior", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -1394,7 +1394,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"HealValue\")" + "HealValue" ] } ] @@ -1445,7 +1445,7 @@ "Object", "Behavior", "=", - "min(GetArgumentAsNumber(\"HealValue\"),Object.Behavior::PropertyMaxHealth() - Object.Behavior::PropertyCurrentHealth())" + "min(HealValue,MaxHealth - CurrentHealth)" ] } ] @@ -1474,7 +1474,7 @@ "Object", "Behavior", "+", - "Object.Behavior::PropertyHealToBeApplied()" + "HealToBeApplied" ] } ] @@ -1548,7 +1548,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMaxHealth()" + "MaxHealth" ] } ] @@ -1591,7 +1591,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1679,7 +1679,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -1723,7 +1723,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHealthRegenRate()" + "HealthRegenRate" ] } ] @@ -1766,7 +1766,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1813,7 +1813,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -1857,7 +1857,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyDamageCooldown()" + "DamageCooldown" ] } ] @@ -1900,7 +1900,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1947,7 +1947,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -1991,7 +1991,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHealthRegenDelay()" + "HealthRegenDelay" ] } ] @@ -2034,7 +2034,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2081,7 +2081,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -2125,7 +2125,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyChanceToDodge()" + "ChanceToDodge" ] } ] @@ -2168,7 +2168,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2215,7 +2215,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -2259,7 +2259,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyFlatDamageReduction()" + "FlatDamageReduction" ] } ] @@ -2302,7 +2302,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2349,7 +2349,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -2393,7 +2393,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyPercentDamageReduction()" + "PercentDamageReduction" ] } ] @@ -2436,7 +2436,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2483,7 +2483,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -3054,7 +3054,7 @@ "Object", "\"__Health.TimeSinceLastHit\"", "<", - "Object.Behavior::PropertyDamageCooldown()" + "DamageCooldown" ] } ], @@ -3127,7 +3127,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "max(0,Object.Behavior::PropertyDamageCooldown() - Object.ObjectTimerElapsedTime(\"__Health.TimeSinceLastHit\"))" + "max(0,DamageCooldown - Object.ObjectTimerElapsedTime(\"__Health.TimeSinceLastHit\"))" ] } ] @@ -3273,7 +3273,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyDamageToBeApplied()" + "DamageToBeApplied" ] } ] @@ -3314,7 +3314,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMaxShieldPoints()" + "MaxShieldPoints" ] } ] @@ -3357,7 +3357,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -3404,7 +3404,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -3452,7 +3452,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -3496,7 +3496,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCurrentShieldPoints()" + "CurrentShieldPoints" ] } ] @@ -3539,7 +3539,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -3586,7 +3586,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -3630,7 +3630,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyShieldRegenRate()" + "ShieldRegenRate" ] } ] @@ -3673,7 +3673,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -3720,7 +3720,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -3764,7 +3764,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyShieldRegenDelay()" + "ShieldRegenDelay" ] } ] @@ -3807,7 +3807,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -3854,7 +3854,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -3898,7 +3898,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyShieldDuration()" + "ShieldDuration" ] } ] @@ -3941,7 +3941,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -3988,7 +3988,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -4074,7 +4074,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"ShieldPoints\")" + "ShieldPoints" ] } ] @@ -4103,7 +4103,7 @@ "Object", "Behavior", "=", - "min(GetArgumentAsNumber(\"ShieldPoints\"),Object.Behavior::MaxShield())" + "min(ShieldPoints,Object.Behavior::MaxShield())" ] } ] @@ -4466,7 +4466,7 @@ "Object", "\"__Health.ShieldDuration\"", "<", - "Object.Behavior::PropertyShieldDuration()" + "ShieldDuration" ] } ], @@ -4542,7 +4542,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "max(0,Object.Behavior::PropertyShieldDuration() - Object.ObjectTimerElapsedTime(\"__Health.ShieldDuration\"))" + "max(0,ShieldDuration - Object.ObjectTimerElapsedTime(\"__Health.ShieldDuration\"))" ] } ] @@ -4583,7 +4583,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyShieldDamageTaken()" + "ShieldDamageTaken" ] } ] @@ -4624,7 +4624,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHealToBeApplied()" + "HealToBeApplied" ] } ] diff --git a/extensions/reviewed/HexagonalGrid.json b/extensions/reviewed/HexagonalGrid.json index 7b2df7a2..9a94ac21 100644 --- a/extensions/reviewed/HexagonalGrid.json +++ b/extensions/reviewed/HexagonalGrid.json @@ -8,7 +8,7 @@ "name": "HexagonalGrid", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/hexagon-multiple-outline.svg", "shortDescription": "Snap objects to an hexagonal grid.", - "version": "0.0.2", + "version": "0.0.3", "description": [ "It allows to snap objects on an hexagonal grid.", "", @@ -294,10 +294,10 @@ "parameters": [ "", "Object", - "GetArgumentAsNumber(\"CellWidth\")", - "GetArgumentAsNumber(\"CellHeight\") * 7/6", - "GetArgumentAsNumber(\"OffsetX\")", - "GetArgumentAsNumber(\"OffsetY\")", + "CellWidth", + "CellHeight * 7/6", + "OffsetX", + "OffsetY", "" ] } diff --git a/extensions/reviewed/HomingProjectile.json b/extensions/reviewed/HomingProjectile.json index b5ab756b..393d661e 100644 --- a/extensions/reviewed/HomingProjectile.json +++ b/extensions/reviewed/HomingProjectile.json @@ -9,7 +9,7 @@ "name": "HomingProjectile", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/rocket-launch.svg", "shortDescription": "Make a projectile object move towards a target object.", - "version": "0.1.1", + "version": "0.1.2", "tags": [ "projectile", "homing", @@ -254,7 +254,7 @@ "ProjectileObject", "TargetObject.CenterX()", "TargetObject.CenterY()", - "GetArgumentAsNumber(\"RotationSpeed\")", + "RotationSpeed", "" ], "subInstructions": [] @@ -355,7 +355,7 @@ "ProjectileObject", "PhysicsBehavior", "ProjectileObject.Angle()", - "10 * GetArgumentAsNumber(\"InitialSpeed\") / ProjectileObject.Variable(__HomingProjectile.Mass)", + "10 * InitialSpeed / ProjectileObject.Variable(__HomingProjectile.Mass)", "ProjectileObject.CenterX()", "ProjectileObject.CenterY()" ], @@ -420,7 +420,7 @@ "ProjectileObject", "PhysicsBehavior", "ProjectileObject.Angle()", - "10 * GetArgumentAsNumber(\"Acceleration\") / ProjectileObject.Variable(__HomingProjectile.Mass)", + "10 * Acceleration / ProjectileObject.Variable(__HomingProjectile.Mass)", "ProjectileObject.CenterX()", "ProjectileObject.CenterY()" ], @@ -455,7 +455,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"MaxLifetime\")", + "MaxLifetime", "!=", "0" ], @@ -469,7 +469,7 @@ "parameters": [ "ProjectileObject", "\"__HomingProjectile_Lifetime\"", - "GetArgumentAsNumber(\"MaxLifetime\")" + "MaxLifetime" ], "subInstructions": [] } @@ -695,7 +695,7 @@ "ProjectileObject", "TargetObject.CenterX()", "TargetObject.CenterY()", - "GetArgumentAsNumber(\"RotationSpeed\")", + "RotationSpeed", "" ], "subInstructions": [] @@ -732,7 +732,7 @@ "parameters": [ "ProjectileObject", "ProjectileObject.Angle()", - "min(GetArgumentAsNumber(\"InitialSpeed\") + (GetArgumentAsNumber(\"Acceleration\") * ProjectileObject.ObjectTimerElapsedTime(\"__HomingProjectile_Lifetime\")/TimeDelta()),GetArgumentAsNumber(\"MaxSpeed\"))", + "min(InitialSpeed + (Acceleration * ProjectileObject.ObjectTimerElapsedTime(\"__HomingProjectile_Lifetime\")/TimeDelta()),MaxSpeed)", "" ], "subInstructions": [] @@ -766,7 +766,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"MaxLifetime\")", + "MaxLifetime", "!=", "0" ], @@ -780,7 +780,7 @@ "parameters": [ "ProjectileObject", "\"__HomingProjectile_Lifetime\"", - "GetArgumentAsNumber(\"MaxLifetime\")" + "MaxLifetime" ], "subInstructions": [] } diff --git a/extensions/reviewed/IdleTracker.json b/extensions/reviewed/IdleTracker.json index 62178193..91a98348 100644 --- a/extensions/reviewed/IdleTracker.json +++ b/extensions/reviewed/IdleTracker.json @@ -9,7 +9,7 @@ "name": "IdleTracker", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Movies and Entertainment/Movies and Entertainment_cinema_oscar_movies_award.svg", "shortDescription": "Check if an object has not moved (with some, customizable, tolerance) for a certain duration (1 second by default).", - "version": "1.0.1", + "version": "1.0.2", "tags": [ "idle", "tracking", @@ -67,9 +67,9 @@ "value": "Egal" }, "parameters": [ - "DistanceBetweenPositions(Object.X(), Object.Y(), Object.Behavior::PropertyLastX(), Object.Behavior::PropertyLastY())", + "DistanceBetweenPositions(Object.X(), Object.Y(), LastX, LastY)", ">", - "Object.Behavior::PropertyIdleDistanceTolerance()" + "IdleDistanceTolerance" ], "subInstructions": [] } @@ -351,7 +351,7 @@ "Object", "Behavior", ">", - "Object.Behavior::PropertyDurationBeforeIdle()" + "DurationBeforeIdle" ], "subInstructions": [] } diff --git a/extensions/reviewed/InputValidation.json b/extensions/reviewed/InputValidation.json index e94063e9..54e3b67e 100644 --- a/extensions/reviewed/InputValidation.json +++ b/extensions/reviewed/InputValidation.json @@ -9,7 +9,7 @@ "name": "InputValidation", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Education and Learning/Education and Learning_education_book_library_search.svg", "shortDescription": "Conditions and expressions to check, sanitize and manipulate strings.", - "version": "1.0.0", + "version": "1.0.1", "tags": [ "sanitization", "string", @@ -268,7 +268,7 @@ "parameters": [ "__Sanitizer_tmpStr", "=", - "GetArgumentAsString(\"text\")" + "text" ], "subInstructions": [] } diff --git a/extensions/reviewed/LinkTools.json b/extensions/reviewed/LinkTools.json index b2524e79..d9393c73 100644 --- a/extensions/reviewed/LinkTools.json +++ b/extensions/reviewed/LinkTools.json @@ -8,7 +8,7 @@ "name": "LinkTools", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/graph-outline.svg", "shortDescription": "Conditions to use Linked Objects as a graph and a path finding movement behavior.", - "version": "1.2.3", + "version": "1.2.4", "description": [ "This provides:", "* \"Can reach through links\" conditions, useful to check if an object is linked to another through one or more other linked objects.", @@ -61,7 +61,7 @@ }, "parameters": [ "Neighbor", - "Object.X() + GetArgumentAsNumber(\"CellWidth\")", + "Object.X() + CellWidth", "Object.Y()" ] } @@ -89,7 +89,7 @@ "parameters": [ "Neighbor", "Object.X()", - "Object.Y() + GetArgumentAsNumber(\"CellHeight\")" + "Object.Y() + CellHeight" ] } ], @@ -115,7 +115,7 @@ }, "parameters": [ "Neighbor", - "Object.X() - GetArgumentAsNumber(\"CellWidth\")", + "Object.X() - CellWidth", "Object.Y()" ] } @@ -143,7 +143,7 @@ "parameters": [ "Neighbor", "Object.X()", - "Object.Y() - GetArgumentAsNumber(\"CellHeight\")" + "Object.Y() - CellHeight" ] } ], @@ -183,8 +183,8 @@ }, "parameters": [ "Neighbor", - "Object.X() + GetArgumentAsNumber(\"CellWidth\")", - "Object.Y() + GetArgumentAsNumber(\"CellHeight\")" + "Object.X() + CellWidth", + "Object.Y() + CellHeight" ] } ], @@ -210,8 +210,8 @@ }, "parameters": [ "Neighbor", - "Object.X() - GetArgumentAsNumber(\"CellWidth\")", - "Object.Y() + GetArgumentAsNumber(\"CellHeight\")" + "Object.X() - CellWidth", + "Object.Y() + CellHeight" ] } ], @@ -237,8 +237,8 @@ }, "parameters": [ "Neighbor", - "Object.X() - GetArgumentAsNumber(\"CellWidth\")", - "Object.Y() - GetArgumentAsNumber(\"CellHeight\")" + "Object.X() - CellWidth", + "Object.Y() - CellHeight" ] } ], @@ -264,8 +264,8 @@ }, "parameters": [ "Neighbor", - "Object.X() + GetArgumentAsNumber(\"CellWidth\")", - "Object.Y() - GetArgumentAsNumber(\"CellHeight\")" + "Object.X() + CellWidth", + "Object.Y() - CellHeight" ] } ], @@ -340,7 +340,7 @@ }, "parameters": [ "Neighbor", - "Object.X() + GetArgumentAsNumber(\"CellWidth\")", + "Object.X() + CellWidth", "Object.Y()" ] } @@ -367,8 +367,8 @@ }, "parameters": [ "Neighbor", - "Object.X() + GetArgumentAsNumber(\"CellWidth\") / 2", - "Object.Y() + GetArgumentAsNumber(\"CellHeight\") * 3/4" + "Object.X() + CellWidth / 2", + "Object.Y() + CellHeight * 3/4" ] } ], @@ -394,8 +394,8 @@ }, "parameters": [ "Neighbor", - "Object.X() - GetArgumentAsNumber(\"CellWidth\") / 2", - "Object.Y() + GetArgumentAsNumber(\"CellHeight\") * 3/4" + "Object.X() - CellWidth / 2", + "Object.Y() + CellHeight * 3/4" ] } ], @@ -421,7 +421,7 @@ }, "parameters": [ "Neighbor", - "Object.X() - GetArgumentAsNumber(\"CellWidth\")", + "Object.X() - CellWidth", "Object.Y()" ] } @@ -448,8 +448,8 @@ }, "parameters": [ "Neighbor", - "Object.X() - GetArgumentAsNumber(\"CellWidth\") / 2", - "Object.Y() - GetArgumentAsNumber(\"CellHeight\") * 3/4" + "Object.X() - CellWidth / 2", + "Object.Y() - CellHeight * 3/4" ] } ], @@ -475,8 +475,8 @@ }, "parameters": [ "Neighbor", - "Object.X() + GetArgumentAsNumber(\"CellWidth\") / 2", - "Object.Y() - GetArgumentAsNumber(\"CellHeight\") * 3/4" + "Object.X() + CellWidth / 2", + "Object.Y() - CellHeight * 3/4" ] } ], @@ -544,8 +544,8 @@ }, "parameters": [ "Neighbor", - "Object.X() + GetArgumentAsNumber(\"CellWidth\") / 2", - "Object.Y() + GetArgumentAsNumber(\"CellHeight\") / 2" + "Object.X() + CellWidth / 2", + "Object.Y() + CellHeight / 2" ] } ], @@ -571,8 +571,8 @@ }, "parameters": [ "Neighbor", - "Object.X() - GetArgumentAsNumber(\"CellWidth\") / 2", - "Object.Y() + GetArgumentAsNumber(\"CellHeight\") / 2" + "Object.X() - CellWidth / 2", + "Object.Y() + CellHeight / 2" ] } ], @@ -598,8 +598,8 @@ }, "parameters": [ "Neighbor", - "Object.X() - GetArgumentAsNumber(\"CellWidth\") / 2", - "Object.Y() - GetArgumentAsNumber(\"CellHeight\") / 2" + "Object.X() - CellWidth / 2", + "Object.Y() - CellHeight / 2" ] } ], @@ -625,8 +625,8 @@ }, "parameters": [ "Neighbor", - "Object.X() + GetArgumentAsNumber(\"CellWidth\") / 2", - "Object.Y() - GetArgumentAsNumber(\"CellHeight\") / 2" + "Object.X() + CellWidth / 2", + "Object.Y() - CellHeight / 2" ] } ], @@ -666,7 +666,7 @@ }, "parameters": [ "Neighbor", - "Object.X() + GetArgumentAsNumber(\"CellWidth\")", + "Object.X() + CellWidth", "Object.Y()" ] } @@ -694,7 +694,7 @@ "parameters": [ "Neighbor", "Object.X()", - "Object.Y() + GetArgumentAsNumber(\"CellHeight\")" + "Object.Y() + CellHeight" ] } ], @@ -720,7 +720,7 @@ }, "parameters": [ "Neighbor", - "Object.X() - GetArgumentAsNumber(\"CellWidth\")", + "Object.X() - CellWidth", "Object.Y()" ] } @@ -748,7 +748,7 @@ "parameters": [ "Neighbor", "Object.X()", - "Object.Y() - GetArgumentAsNumber(\"CellHeight\")" + "Object.Y() - CellHeight" ] } ], @@ -1294,7 +1294,7 @@ "Object", "Behavior", "+", - "Object.Behavior::PropertyAcceleration() * TimeDelta()" + "Acceleration * TimeDelta()" ] } ], @@ -1310,7 +1310,7 @@ "Object", "Behavior", ">", - "Object.Behavior::PropertySpeedMax()" + "SpeedMax" ] } ], @@ -1323,7 +1323,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertySpeedMax()" + "SpeedMax" ] } ] @@ -1352,9 +1352,9 @@ "value": "Egal" }, "parameters": [ - "Object.SqDistanceToPosition(Object.Behavior::PropertyNextNodeX(), Object.Behavior::PropertyNextNodeY())", + "Object.SqDistanceToPosition(NextNodeX, NextNodeY)", "<=", - "Object.Behavior::PropertySpeed() * TimeDelta() * Object.Behavior::PropertySpeed() * TimeDelta()" + "Speed * TimeDelta() * Speed * TimeDelta()" ] } ], @@ -1366,9 +1366,9 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyNextNodeX()", + "NextNodeX", "=", - "Object.Behavior::PropertyNextNodeY()" + "NextNodeY" ] }, { @@ -1388,7 +1388,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyNextNodeIndex() + 1", + "NextNodeIndex + 1", "" ] } @@ -1415,9 +1415,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyNextNodeX()", - "Object.Behavior::PropertyNextNodeY()", - "Object.Behavior::PropertySpeed()", + "NextNodeX", + "NextNodeY", + "Speed", "" ] } @@ -1442,7 +1442,7 @@ "parameters": [ "Object", "!=", - "Object.Behavior::PropertyNextNodeAngle()" + "NextNodeAngle" ] } ], @@ -1453,8 +1453,8 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyNextNodeAngle()", - "Object.Behavior::PropertyRotationSpeed()", + "NextNodeAngle", + "RotationSpeed", "" ] } @@ -1840,7 +1840,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Index\")" + "Index" ] } ] @@ -1932,7 +1932,7 @@ "Object", "Behavior", "=", - "Object.Variable(__linktools_Path[Object.Behavior::PropertyNextNodeIndex()][\"x\"])" + "Object.Variable(__linktools_Path[NextNodeIndex][\"x\"])" ] }, { @@ -1943,7 +1943,7 @@ "Object", "Behavior", "=", - "Object.Variable(__linktools_Path[Object.Behavior::PropertyNextNodeIndex()][\"y\"])" + "Object.Variable(__linktools_Path[NextNodeIndex][\"y\"])" ] }, { @@ -1954,7 +1954,7 @@ "Object", "Behavior", "=", - "mod(AngleBetweenPositions(Object.X(), Object.Y(), Object.Behavior::PropertyNextNodeX(), Object.Behavior::PropertyNextNodeY()) + Object.Behavior::PropertyAngleOffset(), 360)" + "mod(AngleBetweenPositions(Object.X(), Object.Y(), NextNodeX, NextNodeY) + AngleOffset, 360)" ] } ] @@ -2150,7 +2150,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertySpeed()" + "Speed" ] } ] @@ -2230,7 +2230,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Variable(__linktools_Path[GetArgumentAsNumber(\"NodeIndex\")][\"x\"])" + "Object.Variable(__linktools_Path[NodeIndex][\"x\"])" ] } ] @@ -2275,7 +2275,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Variable(__linktools_Path[GetArgumentAsNumber(\"NodeIndex\")][\"y\"])" + "Object.Variable(__linktools_Path[NodeIndex][\"y\"])" ] } ] @@ -2320,7 +2320,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyNextNodeIndex()" + "NextNodeIndex" ] } ] @@ -2360,7 +2360,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyNextNodeX()" + "NextNodeX" ] } ] @@ -2400,7 +2400,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyNextNodeY()" + "NextNodeY" ] } ] diff --git a/extensions/reviewed/MarchingSquares.json b/extensions/reviewed/MarchingSquares.json index fe89c342..9ea534e7 100644 --- a/extensions/reviewed/MarchingSquares.json +++ b/extensions/reviewed/MarchingSquares.json @@ -8,7 +8,7 @@ "name": "MarchingSquares", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/peanut-outline.svg", "shortDescription": "Allow to build a \"scalar field\" and draw contour lines of it: useful for fog of wars, liquid effects, paint the ground, etc...", - "version": "0.5.8", + "version": "0.5.9", "description": [ "It can be helpful for:", " * Liquid effects like water, blobs or lava ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-liquids))", @@ -1647,7 +1647,7 @@ "Object", "Behavior", "<=", - "Object.Behavior::PropertyAreaLeftBound()" + "AreaLeftBound" ] } ], @@ -1676,7 +1676,7 @@ "Object", "Behavior", "<=", - "Object.Behavior::PropertyAreaTopBound()" + "AreaTopBound" ] } ], @@ -1689,7 +1689,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyAreaBottomBound() + SceneWindowHeight()" + "AreaBottomBound + SceneWindowHeight()" ] } ] @@ -2645,7 +2645,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"CellWidth\")" + "CellWidth" ] }, { @@ -2702,7 +2702,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"CellHeight\")" + "CellHeight" ] }, { @@ -2881,7 +2881,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Threshold\")" + "Threshold" ] } ] @@ -2928,7 +2928,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"LeftBound\")" + "LeftBound" ] }, { @@ -2939,7 +2939,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"TopBound\")" + "TopBound" ] }, { @@ -2950,7 +2950,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"RightBound\")" + "RightBound" ] }, { @@ -2961,7 +2961,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"BottomBound\")" + "BottomBound" ] }, { @@ -3030,7 +3030,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyAreaLeftBound()" + "AreaLeftBound" ] } ] @@ -3072,7 +3072,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyAreaTopBound()" + "AreaTopBound" ] } ] @@ -3114,7 +3114,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyAreaRightBound()" + "AreaRightBound" ] } ] @@ -3127,9 +3127,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyAreaLeftBound()", + "AreaLeftBound", "=", - "Object.Behavior::PropertyAreaRightBound()" + "AreaRightBound" ] } ], @@ -3139,7 +3139,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyAreaLeftBound() + SceneWindowWidth()" + "AreaLeftBound + SceneWindowWidth()" ] } ] @@ -3181,7 +3181,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyAreaBottomBound()" + "AreaBottomBound" ] } ] @@ -3194,9 +3194,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyAreaTopBound()", + "AreaTopBound", "=", - "Object.Behavior::PropertyAreaBottomBound()" + "AreaBottomBound" ] } ], @@ -3206,7 +3206,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyAreaTopBound() + SceneWindowHeight()" + "AreaTopBound + SceneWindowHeight()" ] } ] @@ -3248,7 +3248,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCellWidth()" + "CellWidth" ] } ] @@ -3290,7 +3290,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCellHeight()" + "CellHeight" ] } ] @@ -3414,7 +3414,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyThreshold()" + "Threshold" ] } ] diff --git a/extensions/reviewed/Noise.json b/extensions/reviewed/Noise.json index 0ebf9663..91dda16f 100644 --- a/extensions/reviewed/Noise.json +++ b/extensions/reviewed/Noise.json @@ -8,7 +8,7 @@ "name": "Noise", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/sprinkler.svg", "shortDescription": "Generate noise values for procedural generation.", - "version": "2.1.3", + "version": "2.1.4", "description": [ "Noise can be useful for many procedural generation cases such as:", "- Terrain, top down or side view ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-island-generator))", @@ -1334,7 +1334,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Noise::Noise2d(\"\", GetArgumentAsNumber(\"X\"), GetArgumentAsNumber(\"Y\"))" + "Noise::Noise2d(\"\", X, Y)" ] } ] @@ -1374,7 +1374,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Noise::Noise3d(\"\", GetArgumentAsNumber(\"X\"), GetArgumentAsNumber(\"Y\"), GetArgumentAsNumber(\"Z\"))" + "Noise::Noise3d(\"\", X, Y, Z)" ] } ] @@ -1419,7 +1419,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Noise::Noise2d(\"\", GetArgumentAsNumber(\"X\"), GetArgumentAsNumber(\"Y\"))" + "Noise::Noise2d(\"\", X, Y)" ] } ] @@ -1459,7 +1459,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Noise::Noise3d(\"\", GetArgumentAsNumber(\"X\"), GetArgumentAsNumber(\"Y\"), GetArgumentAsNumber(\"Z\"))" + "Noise::Noise3d(\"\", X, Y, Z)" ] } ] diff --git a/extensions/reviewed/ObjectSlicer.json b/extensions/reviewed/ObjectSlicer.json index 2cdb00ef..17dbee69 100644 --- a/extensions/reviewed/ObjectSlicer.json +++ b/extensions/reviewed/ObjectSlicer.json @@ -8,7 +8,7 @@ "name": "ObjectSlicer", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/2ea979b9db9294f26b40687e214f26d7926682457113ccc6dca4174bce6033aa_knife.svg", "shortDescription": "Slice an object into smaller pieces that match the color of original object.", - "version": "1.0.0", + "version": "1.0.1", "description": [ "Useful for creating death animations such as explosions, crumbling, dissolve, or teleportation effects.", "Pieces should be a solid white color or the color of the piece will not match the original color.", @@ -67,7 +67,7 @@ "parameters": [ "__ObjectSlicer.FragmentHeight", "=", - "max(1, round(Object.Height() / GetArgumentAsNumber(\"HorizontalSlices\")))" + "max(1, round(Object.Height() / HorizontalSlices))" ] }, { @@ -77,7 +77,7 @@ "parameters": [ "__ObjectSlicer.FragmentWidth", "=", - "max(1, round(Object.Width() / GetArgumentAsNumber(\"VerticalSlices\")))" + "max(1, round(Object.Width() / VerticalSlices))" ] } ] diff --git a/extensions/reviewed/ObjectSpawner.json b/extensions/reviewed/ObjectSpawner.json index 707ddcb2..4d2f9782 100644 --- a/extensions/reviewed/ObjectSpawner.json +++ b/extensions/reviewed/ObjectSpawner.json @@ -8,7 +8,7 @@ "name": "ObjectSpawner", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/plus-one.svg", "shortDescription": "Spawn (create) objects periodically.", - "version": "1.0.0", + "version": "1.0.1", "description": [ "Spawn objects periodically based on the location of the spawner. ", "", @@ -250,7 +250,7 @@ "parameters": [ "PickedInstancesCount(ObjectToSpawn)", "<", - "Object.Behavior::PropertyMaxQuantity()" + "MaxQuantity" ] }, { @@ -294,7 +294,7 @@ "parameters": [ "PickedInstancesCount(ObjectToSpawn)", ">=", - "Object.Behavior::PropertyMaxQuantity()" + "MaxQuantity" ] } ], @@ -386,7 +386,7 @@ "Object", "\"__ObjectSpawner.SpawnTimer\"", ">", - "Object.Behavior::PropertySpawnPeriod()" + "SpawnPeriod" ] }, { @@ -547,9 +547,9 @@ "parameters": [ "ObjectToSpawn", "=", - "Object.BoundingBoxCenterX() + Object.Behavior::PropertyOffsetX()", + "Object.BoundingBoxCenterX() + OffsetX", "=", - "Object.BoundingBoxCenterY() + Object.Behavior::PropertyOffsetY()" + "Object.BoundingBoxCenterY() + OffsetY" ] } ] @@ -643,7 +643,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -689,7 +689,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -734,7 +734,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -777,7 +777,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyOffsetX()" + "OffsetX" ] } ] @@ -823,7 +823,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyOffsetY()" + "OffsetY" ] } ] @@ -868,7 +868,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertySpawnPeriod()" + "SpawnPeriod" ] } ] @@ -986,7 +986,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertySpawnPeriod()" + "SpawnPeriod" ] } ] @@ -1011,7 +1011,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertySpawnPeriod() - Object.ObjectTimerElapsedTime(\"__ObjectSpawner.SpawnTimer\")" + "SpawnPeriod - Object.ObjectTimerElapsedTime(\"__ObjectSpawner.SpawnTimer\")" ] } ] @@ -1099,7 +1099,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMaxQuantity()" + "MaxQuantity" ] } ] @@ -1142,7 +1142,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1310,7 +1310,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertySpawnerCapacity()" + "SpawnerCapacity" ] } ] @@ -1353,7 +1353,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] diff --git a/extensions/reviewed/ObjectStack.json b/extensions/reviewed/ObjectStack.json index 54e4fc4b..9e495fbe 100644 --- a/extensions/reviewed/ObjectStack.json +++ b/extensions/reviewed/ObjectStack.json @@ -8,7 +8,7 @@ "name": "ObjectStack", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Videogames/Videogames_cards_game_solitaire_poker_blackjack_casino.svg", "shortDescription": "An ordered list of objects and a shuffle action.", - "version": "0.2.0", + "version": "0.2.1", "description": [ "It provides:", "* Actions to modify a stack of objects", @@ -842,7 +842,7 @@ "parameters": [ "Object", "Behavior", - "GetArgumentAsNumber(\"Height\")", + "Height", "Stack", "StackBehavior", "0", diff --git a/extensions/reviewed/OrbitingObjects.json b/extensions/reviewed/OrbitingObjects.json index 1d30baf5..fa8b2def 100644 --- a/extensions/reviewed/OrbitingObjects.json +++ b/extensions/reviewed/OrbitingObjects.json @@ -8,7 +8,7 @@ "name": "OrbitingObjects", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Space/Space_earth_moon_orbit.svg", "shortDescription": "Make objects orbit around a center object in a circular or elliptical shape.", - "version": "0.6.0", + "version": "0.6.1", "description": [ "Run the actions on every frame to make the orbiting objects move.", "The extension will automatically create/delete orbiting objects to match the quantity specified. ", @@ -137,7 +137,7 @@ "CenterObject", "LinkedObjectQuantity", "<", - "GetArgumentAsNumber(\"OrbitQuantity\")" + "OrbitQuantity" ] } ], @@ -155,7 +155,7 @@ "CenterObject", "LinkedObjectQuantity", "<", - "GetArgumentAsNumber(\"OrbitQuantity\")" + "OrbitQuantity" ] } ], @@ -188,7 +188,7 @@ "OrbitingObject", "CenterObject.X()", "CenterObject.Y()", - "GetArgumentAsString(\"OrbitLayer\")" + "OrbitLayer" ] }, { @@ -208,7 +208,7 @@ "parameters": [ "OrbitingObject", "=", - "GetArgumentAsNumber(\"OrbitZvalue\")" + "OrbitZvalue" ] } ] @@ -392,7 +392,7 @@ "OrbitingObject", "OrbitAngle", "=", - "OrbitingObject.Variable(OrbitOrder) * (360/GetArgumentAsNumber(\"OrbitQuantity\")) + GetArgumentAsNumber(\"StartingOffset\")" + "OrbitingObject.Variable(OrbitOrder) * (360/OrbitQuantity) + StartingOffset" ] } ] @@ -422,7 +422,7 @@ "CenterObject", "LinkedObjectQuantity", ">", - "GetArgumentAsNumber(\"OrbitQuantity\")" + "OrbitQuantity" ] } ], @@ -455,7 +455,7 @@ "OrbitingObject", "OrbitOrder", ">", - "GetArgumentAsNumber(\"OrbitQuantity\")" + "OrbitQuantity" ] } ], @@ -507,7 +507,7 @@ "OrbitingObject", "OrbitAngle", "=", - "OrbitingObject.Variable(OrbitOrder) * (360/GetArgumentAsNumber(\"OrbitQuantity\")) + GetArgumentAsNumber(\"StartingOffset\")" + "OrbitingObject.Variable(OrbitOrder) * (360/OrbitQuantity) + StartingOffset" ] } ] @@ -568,7 +568,7 @@ "OrbitingObject", "OrbitAngle", "+", - "GetArgumentAsNumber(\"OrbitSpeed\")*TimeDelta()" + "OrbitSpeed*TimeDelta()" ] } ] @@ -639,7 +639,7 @@ "parameters": [ "OrbitingObject", "CenterObject", - "GetArgumentAsNumber(\"OrbitDistance\")", + "OrbitDistance", "OrbitingObject.Variable(OrbitAngle)" ] } @@ -668,7 +668,7 @@ }, "parameters": [ "OrbitingObject", - "GetArgumentAsNumber(\"ObjectRotationSpeed\")", + "ObjectRotationSpeed", "" ] } @@ -854,7 +854,7 @@ "CenterObject", "LinkedObjectQuantity", "<", - "GetArgumentAsNumber(\"OrbitQuantity\")" + "OrbitQuantity" ] } ], @@ -872,7 +872,7 @@ "CenterObject", "LinkedObjectQuantity", "<", - "GetArgumentAsNumber(\"OrbitQuantity\")" + "OrbitQuantity" ] } ], @@ -1099,7 +1099,7 @@ "OrbitingObject", "OrbitAngle", "=", - "OrbitingObject.Variable(OrbitOrder) * (360/GetArgumentAsNumber(\"OrbitQuantity\")) + GetArgumentAsNumber(\"StartingOffset\")" + "OrbitingObject.Variable(OrbitOrder) * (360/OrbitQuantity) + StartingOffset" ] } ] @@ -1129,7 +1129,7 @@ "CenterObject", "LinkedObjectQuantity", ">", - "GetArgumentAsNumber(\"OrbitQuantity\")" + "OrbitQuantity" ] } ], @@ -1162,7 +1162,7 @@ "OrbitingObject", "OrbitOrder", ">", - "GetArgumentAsNumber(\"OrbitQuantity\")" + "OrbitQuantity" ] } ], @@ -1214,7 +1214,7 @@ "OrbitingObject", "OrbitAngle", "=", - "OrbitingObject.Variable(OrbitOrder) * (360/GetArgumentAsNumber(\"OrbitQuantity\")) + GetArgumentAsNumber(\"StartingOffset\")" + "OrbitingObject.Variable(OrbitOrder) * (360/OrbitQuantity) + StartingOffset" ] } ] @@ -1275,7 +1275,7 @@ "OrbitingObject", "OrbitAngle", "+", - "GetArgumentAsNumber(\"OrbitSpeed\") * TimeDelta()" + "OrbitSpeed * TimeDelta()" ] } ] @@ -1346,9 +1346,9 @@ "parameters": [ "OrbitingObject", "=", - "CenterObject.BoundingBoxCenterX() + XFromAngleAndDistance(OrbitingObject.Variable(OrbitAngle), GetArgumentAsNumber(\"HorizontalDistance\"))", + "CenterObject.BoundingBoxCenterX() + XFromAngleAndDistance(OrbitingObject.Variable(OrbitAngle), HorizontalDistance)", "=", - "CenterObject.BoundingBoxCenterY() + YFromAngleAndDistance(OrbitingObject.Variable(OrbitAngle), GetArgumentAsNumber(\"VerticalDistance\"))" + "CenterObject.BoundingBoxCenterY() + YFromAngleAndDistance(OrbitingObject.Variable(OrbitAngle), VerticalDistance)" ] } ] @@ -1376,7 +1376,7 @@ }, "parameters": [ "OrbitingObject", - "GetArgumentAsNumber(\"ObjectRotationSpeed\")", + "ObjectRotationSpeed", "" ] } diff --git a/extensions/reviewed/PanelSpriteButton.json b/extensions/reviewed/PanelSpriteButton.json index 1788c2dc..64203993 100644 --- a/extensions/reviewed/PanelSpriteButton.json +++ b/extensions/reviewed/PanelSpriteButton.json @@ -8,7 +8,7 @@ "name": "PanelSpriteButton", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Interface Elements/Interface Elements_interface_ui_button_ok_cta_clock_tap.svg", "shortDescription": "A button that can be customized.", - "version": "1.4.4", + "version": "1.4.5", "description": [ "The button can be customized with a background for each state and a label. It handles user interactions and a simple condition can be used to check if it is clicked.", "", @@ -212,8 +212,8 @@ }, "parameters": [ "Object", - "TouchX(Object.Behavior::PropertyTouchId(), Object.Layer(), 0)", - "TouchY(Object.Behavior::PropertyTouchId(), Object.Layer(), 0)" + "TouchX(TouchId, Object.Layer(), 0)", + "TouchY(TouchId, Object.Layer(), 0)" ] } ], @@ -283,8 +283,8 @@ }, "parameters": [ "Object", - "TouchX(StartedTouchOrMouseId(Object.Behavior::PropertyIndex()), Object.Layer(), 0)", - "TouchY(StartedTouchOrMouseId(Object.Behavior::PropertyIndex()), Object.Layer(), 0)" + "TouchX(StartedTouchOrMouseId(Index), Object.Layer(), 0)", + "TouchY(StartedTouchOrMouseId(Index), Object.Layer(), 0)" ] } ], @@ -297,7 +297,7 @@ "Object", "Behavior", "=", - "StartedTouchOrMouseId(Object.Behavior::PropertyIndex())" + "StartedTouchOrMouseId(Index)" ] }, { @@ -570,7 +570,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyTouchId()" + "TouchId" ] } ], @@ -1109,7 +1109,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTouchId()" + "TouchId" ] } ] @@ -2164,7 +2164,7 @@ "parameters": [ "Label", "=", - "GetArgumentAsString(\"LabelText\")" + "LabelText" ] }, { diff --git a/extensions/reviewed/PanelSpriteContinuousBar.json b/extensions/reviewed/PanelSpriteContinuousBar.json index 51da7650..9ea0eccb 100644 --- a/extensions/reviewed/PanelSpriteContinuousBar.json +++ b/extensions/reviewed/PanelSpriteContinuousBar.json @@ -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.1.1", + "version": "1.1.2", "description": [ "A bar that represents a resource in the game (health, mana, ammo, etc).", "", @@ -74,7 +74,7 @@ "Object", "\"__ResourceBar.LastValueChange\"", "<=", - "Object.Behavior::PropertyPreviousHighValueDuration()" + "PreviousHighValueDuration" ] } ], @@ -123,7 +123,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyValue()" + "Value" ] } ] @@ -166,7 +166,7 @@ "Object", "Behavior", "=", - "clamp(GetArgumentAsNumber(\"Value\"), 0, Object.Behavior::MaxValue())" + "clamp(Value, 0, Object.Behavior::MaxValue())" ] } ] @@ -209,7 +209,7 @@ "Object", "Behavior", ">=", - "Object.Behavior::PropertyPreviousHighValue()" + "PreviousHighValue" ] } ], @@ -259,7 +259,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMaxValue()" + "MaxValue" ] } ] @@ -302,7 +302,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -390,7 +390,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyMaxValue()" + "MaxValue" ] } ], @@ -437,7 +437,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyPreviousHighValue()" + "PreviousHighValue" ] } ] @@ -480,7 +480,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyValue()" + "Value" ] } ] @@ -518,7 +518,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyPreviousHighValueDuration()" + "PreviousHighValueDuration" ] } ] @@ -561,7 +561,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -600,7 +600,7 @@ "Object", "Behavior", "!=", - "Object.Behavior::PropertyValue()", + "Value", "" ] }, @@ -612,7 +612,7 @@ "Object", "\"__ResourceBar.LastValueChange\"", "<=", - "Object.Behavior::PropertyPreviousHighValueDuration()" + "PreviousHighValueDuration" ] } ], @@ -1541,7 +1541,7 @@ "FillBar", "ResourceBar", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -1719,7 +1719,7 @@ "FillBar", "ResourceBar", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] }, @@ -1903,7 +1903,7 @@ "FillBar", "ResourceBar", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } diff --git a/extensions/reviewed/PanelSpriteSlider.json b/extensions/reviewed/PanelSpriteSlider.json index d29cc672..150ef9c6 100644 --- a/extensions/reviewed/PanelSpriteSlider.json +++ b/extensions/reviewed/PanelSpriteSlider.json @@ -8,7 +8,7 @@ "name": "PanelSpriteSlider", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/UI Essentials/1678c39a3b2bd3df4f82a8a293770db4986a6bcfd3f78e738ddfc86e39176423_UI Essentials_sliders_options.svg", "shortDescription": "A draggable slider that users can move to select a numerical value.", - "version": "1.4.2", + "version": "1.4.3", "description": [ "A draggable slider that users can move to select a numerical value. The slider can be customized with sprites.", "", @@ -54,7 +54,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyValue()" + "Value" ] } ] @@ -109,7 +109,7 @@ "Object", "Behavior", "=", - "clamp(GetArgumentAsNumber(\"Value\"), Object.Behavior::PropertyMinValue(), Object.Behavior::PropertyMaxValue())" + "clamp(Value, MinValue, MaxValue)" ] } ] @@ -138,7 +138,7 @@ "Object", "Behavior", "=", - "clamp(round(GetArgumentAsNumber(\"Value\") / Object.Behavior::PropertyStepSize()) * Object.Behavior::PropertyStepSize(), Object.Behavior::PropertyMinValue(), Object.Behavior::PropertyMaxValue())" + "clamp(round(Value / StepSize) * StepSize, MinValue, MaxValue)" ] } ] @@ -176,7 +176,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMinValue()" + "MinValue" ] } ] @@ -219,7 +219,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -269,7 +269,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMaxValue()" + "MaxValue" ] } ] @@ -312,7 +312,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -402,7 +402,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyStepSize()" + "StepSize" ] } ] @@ -445,7 +445,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -710,8 +710,8 @@ }, "parameters": [ "Object", - "TouchX(Object.Behavior::PropertyTouchId(), Object.Layer(), 0)", - "TouchY(Object.Behavior::PropertyTouchId(), Object.Layer(), 0)" + "TouchX(TouchId, Object.Layer(), 0)", + "TouchY(TouchId, Object.Layer(), 0)" ] } ], @@ -781,8 +781,8 @@ }, "parameters": [ "Object", - "TouchX(StartedTouchOrMouseId(Object.Behavior::PropertyIndex()), Object.Layer(), 0)", - "TouchY(StartedTouchOrMouseId(Object.Behavior::PropertyIndex()), Object.Layer(), 0)" + "TouchX(StartedTouchOrMouseId(Index), Object.Layer(), 0)", + "TouchY(StartedTouchOrMouseId(Index), Object.Layer(), 0)" ] } ], @@ -795,7 +795,7 @@ "Object", "Behavior", "=", - "StartedTouchOrMouseId(Object.Behavior::PropertyIndex())" + "StartedTouchOrMouseId(Index)" ] }, { @@ -1068,7 +1068,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyTouchId()" + "TouchId" ] } ], @@ -1567,7 +1567,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTouchId()" + "TouchId" ] } ] @@ -2603,7 +2603,7 @@ "FillBar", "Slider", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] }, @@ -2690,7 +2690,7 @@ "FillBar", "Slider", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] }, @@ -2786,7 +2786,7 @@ "FillBar", "Slider", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] }, @@ -2882,7 +2882,7 @@ "FillBar", "Slider", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } diff --git a/extensions/reviewed/ParticleEmitter3D.json b/extensions/reviewed/ParticleEmitter3D.json index da0e5da5..0ca0fbc9 100644 --- a/extensions/reviewed/ParticleEmitter3D.json +++ b/extensions/reviewed/ParticleEmitter3D.json @@ -8,7 +8,7 @@ "name": "ParticleEmitter3D", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/f2e5a34bf465f781866677762d385d6c8e9e8d203383f2df9a3b7e0fad6a2cb5_fire.svg", "shortDescription": "Display a large number of particles to create visual effects.", - "version": "2.0.2", + "version": "2.0.3", "description": [ "Particle emitters can be used to display:", "- Fire", @@ -7639,7 +7639,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -7711,7 +7711,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -7794,7 +7794,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -7875,7 +7875,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -7957,7 +7957,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -8039,7 +8039,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8121,7 +8121,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8203,7 +8203,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8286,7 +8286,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8368,7 +8368,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8451,7 +8451,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8534,7 +8534,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8616,7 +8616,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8698,7 +8698,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8781,7 +8781,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -8864,7 +8864,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -9077,7 +9077,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -9162,7 +9162,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -9246,7 +9246,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -9329,7 +9329,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] diff --git a/extensions/reviewed/PlatformerCharacterAnimator.json b/extensions/reviewed/PlatformerCharacterAnimator.json index 7f9cde26..b62d019a 100644 --- a/extensions/reviewed/PlatformerCharacterAnimator.json +++ b/extensions/reviewed/PlatformerCharacterAnimator.json @@ -8,7 +8,7 @@ "name": "PlatformerCharacterAnimator", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Sports and Fitness/Sports and Fitness_training_running_run.svg", "shortDescription": "Change animations and horizontal flipping of a platformer character automatically.", - "version": "1.1.0", + "version": "1.1.1", "description": [ "Automatically change the animations and horizontal flipping of a platformer character based on movement and interaction with platform objects.", "", @@ -211,7 +211,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyJumpAnimationName()" + "JumpAnimationName" ] } ] @@ -244,7 +244,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyFallAnimationName()" + "FallAnimationName" ] } ] @@ -292,7 +292,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyRunAnimationName()" + "RunAnimationName" ] } ] @@ -326,7 +326,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyIdleAnimationName()" + "IdleAnimationName" ] } ] @@ -367,7 +367,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyClimbAnimationName()" + "ClimbAnimationName" ] } ] @@ -647,7 +647,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyJumpAnimationName()" + "JumpAnimationName" ] } ] @@ -674,7 +674,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyFallAnimationName()" + "FallAnimationName" ] } ] @@ -716,7 +716,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyRunAnimationName()" + "RunAnimationName" ] } ] @@ -744,7 +744,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyIdleAnimationName()" + "IdleAnimationName" ] } ] @@ -778,7 +778,7 @@ "Object", "Animation", "=", - "Object.Behavior::PropertyClimbAnimationName()" + "ClimbAnimationName" ] } ] @@ -1045,7 +1045,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"AnimationName\")" + "AnimationName" ] } ] @@ -1091,7 +1091,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"AnimationName\")" + "AnimationName" ] } ] @@ -1137,7 +1137,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"AnimationName\")" + "AnimationName" ] } ] @@ -1183,7 +1183,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"AnimationName\")" + "AnimationName" ] } ] @@ -1229,7 +1229,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"AnimationName\")" + "AnimationName" ] } ] diff --git a/extensions/reviewed/PlatformerTrajectory.json b/extensions/reviewed/PlatformerTrajectory.json index e4e47b38..e493aa5e 100644 --- a/extensions/reviewed/PlatformerTrajectory.json +++ b/extensions/reviewed/PlatformerTrajectory.json @@ -8,7 +8,7 @@ "name": "PlatformerTrajectory", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/chart-bell-curve.svg", "shortDescription": "Platformer character jump easy configuration and platformer AI tools.", - "version": "0.0.5", + "version": "0.0.6", "description": [ "This extension allows to:", "* Configure the height of a jump by automatically choosing the right jump speed ([open the project online](https://editor.gdevelop.io/?project=example://platformer-jump-evaluator)).", @@ -67,7 +67,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyJumpHeight()", + "JumpHeight", "" ] } @@ -108,7 +108,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"JumpHeight\")" + "JumpHeight" ] } ] @@ -280,7 +280,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyDuration()" + "Duration" ] } ], @@ -292,8 +292,8 @@ }, "parameters": [ "ShapePainter", - "Object.PlatformerCharacter::MaxSpeed() * Object.Behavior::PropertyTime()", - "Object.Behavior::JumpY(Object.Behavior::PropertyTime(), Object.PlatformerCharacter::JumpSustainTime())" + "Object.PlatformerCharacter::MaxSpeed() * Time", + "Object.Behavior::JumpY(Time, Object.PlatformerCharacter::JumpSustainTime())" ] }, { @@ -357,8 +357,8 @@ }, "parameters": [ "ShapePainter", - "Object.PlatformerCharacter::MaxSpeed() * Object.Behavior::PropertyTime()", - "Object.Behavior::JumpY(Object.Behavior::PropertyTime(), 0)" + "Object.PlatformerCharacter::MaxSpeed() * Time", + "Object.Behavior::JumpY(Time, 0)" ] } ] @@ -508,7 +508,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::JumpY(Object.Behavior::JumpPeakTime(GetArgumentAsNumber(\"JumpSustainTime\")), GetArgumentAsNumber(\"JumpSustainTime\"))" + "Object.Behavior::JumpY(Object.Behavior::JumpPeakTime(JumpSustainTime), JumpSustainTime)" ] } ] @@ -646,7 +646,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::JumpPeakTime(GetArgumentAsNumber(\"JumpSustainTime\"))" + "Object.Behavior::JumpPeakTime(JumpSustainTime)" ] } ] @@ -659,9 +659,9 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"PositionY\")", + "PositionY", ">=", - "Object.Behavior::JumpPeakY(GetArgumentAsNumber(\"JumpSustainTime\"))" + "Object.Behavior::JumpPeakY(JumpSustainTime)" ] } ], @@ -789,7 +789,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::JumpPeakTime(GetArgumentAsNumber(\"JumpSustainTime\"))" + "Object.Behavior::JumpPeakTime(JumpSustainTime)" ] } ] @@ -802,9 +802,9 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"PositionY\")", + "PositionY", ">=", - "Object.Behavior::JumpPeakY(GetArgumentAsNumber(\"JumpSustainTime\"))" + "Object.Behavior::JumpPeakY(JumpSustainTime)" ] } ], diff --git a/extensions/reviewed/RTSUnitSelection.json b/extensions/reviewed/RTSUnitSelection.json index 67feb4a1..579d39ef 100644 --- a/extensions/reviewed/RTSUnitSelection.json +++ b/extensions/reviewed/RTSUnitSelection.json @@ -9,7 +9,7 @@ "name": "RTSUnitSelection", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/pencil-box-outline.svg", "shortDescription": "Allow player to select units by clicking on them or dragging a selection box.", - "version": "2.3.2", + "version": "2.3.3", "tags": [ "mouse", "cursor", @@ -102,7 +102,7 @@ "SelectionBox", "0", "0", - "GetArgumentAsString(\"Layer\")" + "Layer" ], "subInstructions": [] } @@ -197,7 +197,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"Zorder\")", + "Zorder", "!=", "0" ], @@ -213,7 +213,7 @@ "parameters": [ "SelectionBox", "=", - "GetArgumentAsNumber(\"Zorder\")" + "Zorder" ], "subInstructions": [] } @@ -285,7 +285,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"MouseButtonSelect\")", + "MouseButtonSelect", "=", "\"Left\"" ], @@ -317,7 +317,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"MouseButtonSelect\")", + "MouseButtonSelect", "=", "\"Right\"" ], @@ -349,7 +349,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"MouseButtonSelect\")", + "MouseButtonSelect", "=", "\"Middle\"" ], @@ -427,7 +427,7 @@ "SelectionBox", "__RTSUnitSelection.StartX", "=", - "MouseX(GetArgumentAsString(\"Layer\"),0)" + "MouseX(Layer,0)" ], "subInstructions": [] }, @@ -440,7 +440,7 @@ "SelectionBox", "__RTSUnitSelection.StartY", "=", - "MouseY(GetArgumentAsString(\"Layer\"),0)" + "MouseY(Layer,0)" ], "subInstructions": [] } @@ -474,7 +474,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"AdditiveSelectKey\")" + "AdditiveSelectKey" ], "subInstructions": [] }, @@ -485,7 +485,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"SubtractiveSelectKey\")" + "SubtractiveSelectKey" ], "subInstructions": [] } @@ -633,7 +633,7 @@ "", "!=", "SelectionBox.Variable(__RTSUnitSelection.StartX)", - "GetArgumentAsString(\"Layer\")", + "Layer", "0" ], "subInstructions": [] @@ -647,7 +647,7 @@ "", "!=", "SelectionBox.Variable(__RTSUnitSelection.StartY)", - "GetArgumentAsString(\"Layer\")", + "Layer", "0" ], "subInstructions": [] @@ -734,7 +734,7 @@ "SelectionBox", "__RTSUnitSelection.EndX", "=", - "MouseX(GetArgumentAsString(\"Layer\"),0)" + "MouseX(Layer,0)" ], "subInstructions": [] }, @@ -747,7 +747,7 @@ "SelectionBox", "__RTSUnitSelection.EndY", "=", - "MouseY(GetArgumentAsString(\"Layer\"),0)" + "MouseY(Layer,0)" ], "subInstructions": [] } @@ -1117,7 +1117,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"MouseButtonSelect\")", + "MouseButtonSelect", "=", "\"Left\"" ], @@ -1149,7 +1149,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"MouseButtonSelect\")", + "MouseButtonSelect", "=", "\"Right\"" ], @@ -1181,7 +1181,7 @@ "value": "StrEqual" }, "parameters": [ - "GetArgumentAsString(\"MouseButtonSelect\")", + "MouseButtonSelect", "=", "\"Middle\"" ], @@ -1268,7 +1268,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"AdditiveSelectKey\")" + "AdditiveSelectKey" ], "subInstructions": [] } @@ -1327,7 +1327,7 @@ }, "parameters": [ "", - "GetArgumentAsString(\"SubtractiveSelectKey\")" + "SubtractiveSelectKey" ], "subInstructions": [] } @@ -5255,7 +5255,7 @@ "parameters": [ "RTSUnitSelection::ControlGroupID(Object)", "=", - "GetArgumentAsNumber(\"ControlGroupID\")" + "ControlGroupID" ], "subInstructions": [] } @@ -5287,7 +5287,7 @@ "parameters": [ "RTSUnitSelection::ControlGroupID(Object)", "!=", - "GetArgumentAsNumber(\"ControlGroupID\")" + "ControlGroupID" ], "subInstructions": [] } @@ -5354,7 +5354,7 @@ "Object", "__RTSUnitSelection.ControlGroupID", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] } diff --git a/extensions/reviewed/RectangleMovement.json b/extensions/reviewed/RectangleMovement.json index b2c7de73..b90ea9e9 100644 --- a/extensions/reviewed/RectangleMovement.json +++ b/extensions/reviewed/RectangleMovement.json @@ -8,7 +8,7 @@ "name": "RectangleMovement", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/shape-rectangle-plus.svg", "shortDescription": "Move objects in a rectangular pattern.", - "version": "1.2.0", + "version": "1.2.1", "description": [ "Move objects in a rectangular pattern with easing functions from the Tween extension.", "", @@ -1221,7 +1221,7 @@ "Object", "Behavior", "+", - "Object.X() - Object.Behavior::PropertyOldX()" + "Object.X() - OldX" ] }, { @@ -1232,7 +1232,7 @@ "Object", "Behavior", "+", - "Object.Y() - Object.Behavior::PropertyOldY()" + "Object.Y() - OldY" ] } ] @@ -1260,9 +1260,9 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyLeft() + Object.Behavior::DeltaX()", + "Left + Object.Behavior::DeltaX()", "=", - "Object.Behavior::PropertyTop() + Object.Behavior::DeltaY()" + "Top + Object.Behavior::DeltaY()" ] } ] @@ -1363,7 +1363,7 @@ "Object", "Behavior", "=", - "mod(Object.Behavior::PropertyProgress() + TimeDelta() / Object.Behavior::LoopDuration(), 1)" + "mod(Progress + TimeDelta() / Object.Behavior::LoopDuration(), 1)" ] } ] @@ -1391,7 +1391,7 @@ "Object", "Behavior", "=", - "mod(Object.Behavior::PropertyProgress() - TimeDelta() / Object.Behavior::LoopDuration(), 1)" + "mod(Progress - TimeDelta() / Object.Behavior::LoopDuration(), 1)" ] } ] @@ -1427,7 +1427,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Corner\")", + "Corner", "=", "\"Top-left corner\"" ] @@ -1455,7 +1455,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Corner\")", + "Corner", "=", "\"Top-right corner\"" ] @@ -1483,7 +1483,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Corner\")", + "Corner", "=", "\"Bottom-right corner\"" ] @@ -1511,7 +1511,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Corner\")", + "Corner", "=", "\"Bottom-left corner\"" ] @@ -1570,7 +1570,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "2 * (abs(Object.Behavior::PropertyWidth()) + abs(Object.Behavior::PropertyHeight()))" + "2 * (abs(Width) + abs(Height))" ] } ] @@ -1610,7 +1610,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "2 * (Object.Behavior::PropertyHorizontalEdgeDuration() + Object.Behavior::PropertyVerticalEdgeDuration())" + "2 * (HorizontalEdgeDuration + VerticalEdgeDuration)" ] } ] @@ -1650,7 +1650,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHorizontalEdgeDuration()" + "HorizontalEdgeDuration" ] } ] @@ -1690,7 +1690,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyVerticalEdgeDuration()" + "VerticalEdgeDuration" ] } ] @@ -1731,7 +1731,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyWidth()" + "Width" ] } ] @@ -1772,7 +1772,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHeight()" + "Height" ] } ] @@ -1813,7 +1813,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyLeft()" + "Left" ] } ] @@ -1854,7 +1854,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTop()" + "Top" ] } ] @@ -1895,7 +1895,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyLeft() + Object.Behavior::PropertyWidth()" + "Left + Width" ] } ] @@ -1936,7 +1936,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTop() + Object.Behavior::PropertyHeight()" + "Top + Height" ] } ] @@ -1980,7 +1980,7 @@ "Object", "Behavior", "+", - "Object.Behavior::PropertyLeft() - GetArgumentAsNumber(\"Value\")" + "Left - Value" ] }, { @@ -1991,7 +1991,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2037,7 +2037,7 @@ "Object", "Behavior", "+", - "Object.Behavior::PropertyTop() - GetArgumentAsNumber(\"Value\")" + "Top - Value" ] }, { @@ -2048,7 +2048,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2094,7 +2094,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\") - Object.Behavior::PropertyLeft()" + "Value - Left" ] } ] @@ -2140,7 +2140,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\") - Object.Behavior::PropertyTop()" + "Value - Top" ] } ] @@ -2186,7 +2186,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2232,7 +2232,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2358,7 +2358,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -3158,7 +3158,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHorizontalEdgeDuration()" + "HorizontalEdgeDuration" ] } ] @@ -3199,7 +3199,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHorizontalEdgeDuration() + Object.Behavior::PropertyVerticalEdgeDuration()" + "HorizontalEdgeDuration + VerticalEdgeDuration" ] } ] @@ -3240,7 +3240,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "2 * Object.Behavior::PropertyHorizontalEdgeDuration() + Object.Behavior::PropertyVerticalEdgeDuration()" + "2 * HorizontalEdgeDuration + VerticalEdgeDuration" ] } ] @@ -3281,7 +3281,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::HalfCurrentTime() / Object.Behavior::PropertyHorizontalEdgeDuration()" + "Object.Behavior::HalfCurrentTime() / HorizontalEdgeDuration" ] } ] @@ -3296,7 +3296,7 @@ "parameters": [ "Object.Behavior::HalfCurrentTime()", ">=", - "abs(Object.Behavior::PropertyHorizontalEdgeDuration())" + "abs(HorizontalEdgeDuration)" ] } ], @@ -3306,7 +3306,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "(Object.Behavior::HalfCurrentTime() - Object.Behavior::PropertyHorizontalEdgeDuration()) / Object.Behavior::PropertyVerticalEdgeDuration()" + "(Object.Behavior::HalfCurrentTime() - HorizontalEdgeDuration) / VerticalEdgeDuration" ] } ] @@ -3368,7 +3368,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyWidth()" + "Width" ] } ] @@ -3430,7 +3430,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHeight()" + "Height" ] } ] @@ -3492,7 +3492,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHeight()" + "Height" ] } ] @@ -3544,7 +3544,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyWidth()" + "Width" ] } ] @@ -3585,7 +3585,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyProgress() * Object.Behavior::LoopDuration()" + "Progress * Object.Behavior::LoopDuration()" ] } ] @@ -3626,7 +3626,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object. Behavior::LoopDuration() * mod(Object.Behavior::PropertyProgress(), 0.5)" + "Object. Behavior::LoopDuration() * mod(Progress, 0.5)" ] } ] @@ -3667,7 +3667,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Tween::Ease(Object.Behavior::PropertyEasing(), Object.Behavior::EdgeOriginX(), Object.Behavior::EdgeTargetX(), Object.Behavior::EdgeProgress())" + "Tween::Ease(Easing, Object.Behavior::EdgeOriginX(), Object.Behavior::EdgeTargetX(), Object.Behavior::EdgeProgress())" ] } ] @@ -3708,7 +3708,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Tween::Ease(Object.Behavior::PropertyEasing(), Object.Behavior::EdgeOriginY(), Object.Behavior::EdgeTargetY(), Object.Behavior::EdgeProgress())" + "Tween::Ease(Easing, Object.Behavior::EdgeOriginY(), Object.Behavior::EdgeTargetY(), Object.Behavior::EdgeProgress())" ] } ] diff --git a/extensions/reviewed/RectangularFloodFill.json b/extensions/reviewed/RectangularFloodFill.json index 9b56636e..09b2a515 100644 --- a/extensions/reviewed/RectangularFloodFill.json +++ b/extensions/reviewed/RectangularFloodFill.json @@ -9,7 +9,7 @@ "name": "RectangularFloodFill", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Graphic Design/Graphic Design_grid.svg", "shortDescription": "Create fill objects that cover the rectangular area of target objects.", - "version": "1.1.1", + "version": "1.1.2", "tags": [ "rectangular", "flood", @@ -68,7 +68,7 @@ "parameters": [ "__RectangularFloodFill.BatchID", "=", - "GetArgumentAsString(\"BatchID\")" + "BatchID" ], "subInstructions": [] } @@ -211,15 +211,15 @@ "parameters": [ "", "FillObject", - "floor(TargetObject.Height()/(Variable(__RectangularFloodFill.FillObjectHeight)+GetArgumentAsNumber(\"SpaceBetweenRows\")))", - "floor(TargetObject.Width()/(Variable(__RectangularFloodFill.FillObjectWidth)+GetArgumentAsNumber(\"SpaceBetweenColumns\")))", + "floor(TargetObject.Height()/(Variable(__RectangularFloodFill.FillObjectHeight)+SpaceBetweenRows))", + "floor(TargetObject.Width()/(Variable(__RectangularFloodFill.FillObjectWidth)+SpaceBetweenColumns))", "TargetObject.CenterX()-TargetObject.Width()/2", "TargetObject.CenterY()-TargetObject.Height()/2", - "GetArgumentAsNumber(\"SpaceBetweenRows\")", - "GetArgumentAsNumber(\"SpaceBetweenColumns\")", + "SpaceBetweenRows", + "SpaceBetweenColumns", "VariableString(\"__RectangularFloodFill.BatchID\")", "\"\"", - "GetArgumentAsNumber(\"Zorder\")", + "Zorder", "" ], "subInstructions": [] @@ -501,9 +501,9 @@ "parameters": [ "", "Object", - "GetArgumentAsNumber(\"StartingPositionX\") + (Variable(__CreateMultipleCopiesOfObject_x)-1)*(Variable(__CreateMultipleCopiesOfObject_ObjectWidth) + GetArgumentAsNumber(\"ColumnSpacing\"))", - "GetArgumentAsNumber(\"StartingPositionY\") + (Variable(__CreateMultipleCopiesOfObject_y)-1)*(Variable(__CreateMultipleCopiesOfObject_ObjectHeight) + GetArgumentAsNumber(\"RowSpacing\"))", - "GetArgumentAsString(\"Layer\")" + "StartingPositionX + (Variable(__CreateMultipleCopiesOfObject_x)-1)*(Variable(__CreateMultipleCopiesOfObject_ObjectWidth) + ColumnSpacing)", + "StartingPositionY + (Variable(__CreateMultipleCopiesOfObject_y)-1)*(Variable(__CreateMultipleCopiesOfObject_ObjectHeight) + RowSpacing)", + "Layer" ], "subInstructions": [] }, @@ -555,7 +555,7 @@ "Object", "BatchID", "=", - "GetArgumentAsString(\"BatchID\")" + "BatchID" ], "subInstructions": [] }, @@ -596,7 +596,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"Zorder\")", + "Zorder", "!=", "0" ], @@ -612,7 +612,7 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"Zorder\")" + "Zorder" ], "subInstructions": [] } @@ -647,7 +647,7 @@ "parameters": [ "__CreateMultipleCopiesOfObject_x", ">", - "GetArgumentAsNumber(\"NumberOfColumns\")" + "NumberOfColumns" ], "subInstructions": [] } @@ -707,7 +707,7 @@ "parameters": [ "__CreateMultipleCopiesOfObject_y", ">", - "GetArgumentAsNumber(\"NumberOfRows\")" + "NumberOfRows" ], "subInstructions": [] } diff --git a/extensions/reviewed/RoomBasedCameraMovement.json b/extensions/reviewed/RoomBasedCameraMovement.json index 85345b33..869e22f6 100644 --- a/extensions/reviewed/RoomBasedCameraMovement.json +++ b/extensions/reviewed/RoomBasedCameraMovement.json @@ -8,7 +8,7 @@ "name": "RoomBasedCameraMovement", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Applications and Programming/Applications and Programming_app_apps_applications_tiles.svg", "shortDescription": "Move and zoom camera to the room object that contains the trigger object (usually the player).", - "version": "1.0.3", + "version": "1.0.4", "description": [ "Move camera to the room that contains the trigger object (usually the player). If desired, change zoom to show the entire room or keep zoom static.", "", @@ -82,7 +82,7 @@ "parameters": [ "__RoomBasedCameraMovement.MaxZoom", "=", - "GetArgumentAsNumber(\"MaxZoom\")" + "MaxZoom" ] } ] @@ -98,7 +98,7 @@ "parameters": [ "__RoomBasedCameraMovement.LerpSpeed", "=", - "GetArgumentAsNumber(\"LerpSpeed\")" + "LerpSpeed" ] } ] @@ -459,7 +459,7 @@ "parameters": [ "__RoomBasedCameraMovement.CameraWidth", "=", - "RoomObject.Width()+2*GetArgumentAsNumber(\"OutsideBuffer\")" + "RoomObject.Width()+2*OutsideBuffer" ] }, { @@ -469,7 +469,7 @@ "parameters": [ "__RoomBasedCameraMovement.CameraHeight", "=", - "RoomObject.Height()+2*GetArgumentAsNumber(\"OutsideBuffer\")" + "RoomObject.Height()+2*OutsideBuffer" ] }, { @@ -507,7 +507,7 @@ "parameters": [ "__RoomBasedCameraMovement.CameraZoom", "=", - "clamp(Variable(__RoomBasedCameraMovement.CameraZoom),GetArgumentAsNumber(\"MinZoom\"),Variable(__RoomBasedCameraMovement.MaxZoom))" + "clamp(Variable(__RoomBasedCameraMovement.CameraZoom),MinZoom,Variable(__RoomBasedCameraMovement.MaxZoom))" ] } ] @@ -534,9 +534,9 @@ }, "parameters": [ "", - "ceil(lerp(CameraZoom(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\")),Variable(__RoomBasedCameraMovement.CameraZoom),Variable(__RoomBasedCameraMovement.LerpSpeed))*1000)/1000", - "GetArgumentAsString(\"Layer\")", - "GetArgumentAsNumber(\"Camera\")" + "ceil(lerp(CameraZoom(Layer,Camera),Variable(__RoomBasedCameraMovement.CameraZoom),Variable(__RoomBasedCameraMovement.LerpSpeed))*1000)/1000", + "Layer", + "Camera" ] } ] @@ -587,9 +587,9 @@ "parameters": [ "", "=", - "ceil(lerp(CameraX(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\")), RoomObject.CenterX(), Variable(__RoomBasedCameraMovement.LerpSpeed))*100)/100", - "GetArgumentAsString(\"Layer\")", - "GetArgumentAsNumber(\"Camera\")" + "ceil(lerp(CameraX(Layer,Camera), RoomObject.CenterX(), Variable(__RoomBasedCameraMovement.LerpSpeed))*100)/100", + "Layer", + "Camera" ] } ] @@ -616,9 +616,9 @@ "parameters": [ "", "=", - "ceil(lerp(CameraY(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\")), RoomObject.CenterY(), Variable(__RoomBasedCameraMovement.LerpSpeed))*100)/100", - "GetArgumentAsString(\"Layer\")", - "GetArgumentAsNumber(\"Camera\")" + "ceil(lerp(CameraY(Layer,Camera), RoomObject.CenterY(), Variable(__RoomBasedCameraMovement.LerpSpeed))*100)/100", + "Layer", + "Camera" ] } ] @@ -657,9 +657,9 @@ "parameters": [ "", "=", - "ceil(lerp(CameraX(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\")), clamp(TriggerObject.CenterX(), \nRoomObject.CenterX() - RoomObject.Width()/2 + SceneWindowWidth()/2 - GetArgumentAsNumber(\"OutsideBuffer\"), RoomObject.CenterX() + RoomObject.Width()/2 - SceneWindowWidth()/2 + GetArgumentAsNumber(\"OutsideBuffer\")), Variable(__RoomBasedCameraMovement.LerpSpeed))*100)/100", - "GetArgumentAsString(\"Layer\")", - "GetArgumentAsNumber(\"Camera\")" + "ceil(lerp(CameraX(Layer,Camera), clamp(TriggerObject.CenterX(), \nRoomObject.CenterX() - RoomObject.Width()/2 + SceneWindowWidth()/2 - OutsideBuffer, RoomObject.CenterX() + RoomObject.Width()/2 - SceneWindowWidth()/2 + OutsideBuffer), Variable(__RoomBasedCameraMovement.LerpSpeed))*100)/100", + "Layer", + "Camera" ] } ] @@ -686,9 +686,9 @@ "parameters": [ "", "=", - "ceil(lerp(CameraY(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\")), clamp(TriggerObject.CenterY(), \nRoomObject.CenterY() - RoomObject.Height()/2 + SceneWindowHeight()/2 - GetArgumentAsNumber(\"OutsideBuffer\"), RoomObject.CenterY() + RoomObject.Height()/2 - SceneWindowHeight()/2 + GetArgumentAsNumber(\"OutsideBuffer\")), Variable(__RoomBasedCameraMovement.LerpSpeed))*100)/100", - "GetArgumentAsString(\"Layer\")", - "GetArgumentAsNumber(\"Camera\")" + "ceil(lerp(CameraY(Layer,Camera), clamp(TriggerObject.CenterY(), \nRoomObject.CenterY() - RoomObject.Height()/2 + SceneWindowHeight()/2 - OutsideBuffer, RoomObject.CenterY() + RoomObject.Height()/2 - SceneWindowHeight()/2 + OutsideBuffer), Variable(__RoomBasedCameraMovement.LerpSpeed))*100)/100", + "Layer", + "Camera" ] } ] @@ -756,7 +756,7 @@ "parameters": [ "__RoomBasedCameraMovement.PrevCameraX", "=", - "CameraX(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))" + "CameraX(Layer, Camera)" ] }, { @@ -766,7 +766,7 @@ "parameters": [ "__RoomBasedCameraMovement.PrevCameraY", "=", - "CameraY(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))" + "CameraY(Layer, Camera)" ] } ] @@ -805,7 +805,7 @@ "parameters": [ "__RoomBasedCameraMovement.PrevCameraX", "=", - "CameraX(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\"))" + "CameraX(Layer,Camera)" ] }, { @@ -815,7 +815,7 @@ "parameters": [ "__RoomBasedCameraMovement.PrevCameraY", "=", - "CameraY(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\"))" + "CameraY(Layer,Camera)" ] } ], @@ -859,7 +859,7 @@ "parameters": [ "__RoomBasedCameraMovement.PrevCameraX", "!=", - "CameraX(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\"))" + "CameraX(Layer,Camera)" ] }, { @@ -869,7 +869,7 @@ "parameters": [ "__RoomBasedCameraMovement.PrevCameraY", "!=", - "CameraY(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\"))" + "CameraY(Layer,Camera)" ] } ] @@ -910,7 +910,7 @@ "parameters": [ "__RoomBasedCameraMovement.PrevCameraX", "=", - "CameraX(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))" + "CameraX(Layer, Camera)" ] }, { @@ -920,7 +920,7 @@ "parameters": [ "__RoomBasedCameraMovement.PrevCameraY", "=", - "CameraY(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))" + "CameraY(Layer, Camera)" ] } ] @@ -973,7 +973,7 @@ "parameters": [ "__RoomBasedCameraMovement.PreviousZoom", "=", - "CameraZoom(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))" + "CameraZoom(Layer, Camera)" ] } ] @@ -1012,7 +1012,7 @@ "parameters": [ "__RoomBasedCameraMovement.PreviousZoom", "=", - "CameraZoom(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\"))" + "CameraZoom(Layer,Camera)" ] } ], @@ -1050,7 +1050,7 @@ "parameters": [ "__RoomBasedCameraMovement.PreviousZoom", "!=", - "CameraZoom(GetArgumentAsString(\"Layer\"),GetArgumentAsNumber(\"Camera\"))" + "CameraZoom(Layer,Camera)" ] } ], @@ -1089,7 +1089,7 @@ "parameters": [ "__RoomBasedCameraMovement.PreviousZoom", "=", - "CameraZoom(GetArgumentAsString(\"Layer\"), GetArgumentAsNumber(\"Camera\"))" + "CameraZoom(Layer, Camera)" ] } ] diff --git a/extensions/reviewed/ScreenWrap.json b/extensions/reviewed/ScreenWrap.json index 30762127..abcc2473 100644 --- a/extensions/reviewed/ScreenWrap.json +++ b/extensions/reviewed/ScreenWrap.json @@ -8,7 +8,7 @@ "name": "ScreenWrap", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/monitor-screenshot.svg", "shortDescription": "Teleport object when it moves off the screen and immediately appear on the opposite side while maintaining speed and trajectory.", - "version": "0.2.4", + "version": "0.2.5", "description": [ "The teleport happens when the center point of the object crosses a border (this can be adjusted with an offset).", "By default, the borders of the wrapping area match the screen size, but they can alo be changed.", @@ -164,7 +164,7 @@ "parameters": [ "Object", "<", - "Object.Behavior::PropertyBorderLeft() - (Object.Width()/2) - Object.Behavior::PropertyTriggerOffset()" + "BorderLeft - (Object.Width()/2) - TriggerOffset" ] } ], @@ -176,7 +176,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyBorderRight() - (Object.Width()/2) + Object.Behavior::PropertyTriggerOffset()" + "BorderRight - (Object.Width()/2) + TriggerOffset" ] } ] @@ -191,7 +191,7 @@ "parameters": [ "Object", ">", - "Object.Behavior::PropertyBorderRight() - (Object.Width()/2) + Object.Behavior::PropertyTriggerOffset()" + "BorderRight - (Object.Width()/2) + TriggerOffset" ] } ], @@ -203,7 +203,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyBorderLeft() - (Object.Width()/2) - Object.Behavior::PropertyTriggerOffset()" + "BorderLeft - (Object.Width()/2) - TriggerOffset" ] } ] @@ -232,7 +232,7 @@ "parameters": [ "Object", "<", - "Object.Behavior::PropertyBorderTop() - (Object.Height()/2) - Object.Behavior::PropertyTriggerOffset()" + "BorderTop - (Object.Height()/2) - TriggerOffset" ] } ], @@ -244,7 +244,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyBorderBottom() - (Object.Height()/2) + Object.Behavior::PropertyTriggerOffset()" + "BorderBottom - (Object.Height()/2) + TriggerOffset" ] } ] @@ -259,7 +259,7 @@ "parameters": [ "Object", ">", - "Object.Behavior::PropertyBorderBottom() - (Object.Height()/2) + Object.Behavior::PropertyTriggerOffset()" + "BorderBottom - (Object.Height()/2) + TriggerOffset" ] } ], @@ -271,7 +271,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyBorderTop() - (Object.Height()/2) - Object.Behavior::PropertyTriggerOffset()" + "BorderTop - (Object.Height()/2) - TriggerOffset" ] } ] @@ -570,7 +570,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyBorderTop()"] + "parameters": ["BorderTop"] } ] } @@ -608,7 +608,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyBorderLeft()"] + "parameters": ["BorderLeft"] } ] } @@ -646,7 +646,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyBorderRight()"] + "parameters": ["BorderRight"] } ] } @@ -684,7 +684,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyBorderBottom()"] + "parameters": ["BorderBottom"] } ] } @@ -722,7 +722,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyTriggerOffset()"] + "parameters": ["TriggerOffset"] } ] } @@ -764,7 +764,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -809,7 +809,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -854,7 +854,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -899,7 +899,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -944,7 +944,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1198,7 +1198,7 @@ "parameters": [ "Object", "<", - "Object.Behavior::PropertyBorderLeft() - (Object.Width()/2) - Object.Behavior::PropertyTriggerOffset()" + "BorderLeft - (Object.Width()/2) - TriggerOffset" ] } ], @@ -1216,7 +1216,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyBorderRight() - (Object.Width()/2) + Object.Behavior::PropertyTriggerOffset()" + "BorderRight - (Object.Width()/2) + TriggerOffset" ] }, { @@ -1237,7 +1237,7 @@ "parameters": [ "Object", ">", - "Object.Behavior::PropertyBorderRight() - (Object.Width()/2) + Object.Behavior::PropertyTriggerOffset()" + "BorderRight - (Object.Width()/2) + TriggerOffset" ] } ], @@ -1255,7 +1255,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyBorderLeft() - (Object.Width()/2) - Object.Behavior::PropertyTriggerOffset()" + "BorderLeft - (Object.Width()/2) - TriggerOffset" ] }, { @@ -1290,7 +1290,7 @@ "parameters": [ "Object", "<", - "Object.Behavior::PropertyBorderTop() - (Object.Height()/2) - Object.Behavior::PropertyTriggerOffset()" + "BorderTop - (Object.Height()/2) - TriggerOffset" ] } ], @@ -1308,7 +1308,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyBorderBottom() - (Object.Height()/2) + Object.Behavior::PropertyTriggerOffset()" + "BorderBottom - (Object.Height()/2) + TriggerOffset" ] }, { @@ -1329,7 +1329,7 @@ "parameters": [ "Object", ">", - "Object.Behavior::PropertyBorderBottom() - (Object.Height()/2) + Object.Behavior::PropertyTriggerOffset()" + "BorderBottom - (Object.Height()/2) + TriggerOffset" ] } ], @@ -1347,7 +1347,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyBorderTop() - (Object.Height()/2) - Object.Behavior::PropertyTriggerOffset()" + "BorderTop - (Object.Height()/2) - TriggerOffset" ] }, { @@ -1652,7 +1652,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyBorderTop()"] + "parameters": ["BorderTop"] } ] } @@ -1690,7 +1690,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyBorderLeft()"] + "parameters": ["BorderLeft"] } ] } @@ -1728,7 +1728,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyBorderRight()"] + "parameters": ["BorderRight"] } ] } @@ -1766,7 +1766,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyBorderBottom()"] + "parameters": ["BorderBottom"] } ] } @@ -1804,7 +1804,7 @@ "type": { "value": "SetReturnNumber" }, - "parameters": ["Object.Behavior::PropertyTriggerOffset()"] + "parameters": ["TriggerOffset"] } ] } @@ -1846,7 +1846,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1891,7 +1891,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1936,7 +1936,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1981,7 +1981,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2026,7 +2026,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2133,7 +2133,7 @@ "Object", "RequiredPhysicsBehavior", "=", - "Object.Behavior::PropertyAngularVelocity()" + "AngularVelocity" ] }, { @@ -2144,7 +2144,7 @@ "Object", "RequiredPhysicsBehavior", "=", - "Object.Behavior::PropertyLinearVelocityX()" + "LinearVelocityX" ] }, { @@ -2155,7 +2155,7 @@ "Object", "RequiredPhysicsBehavior", "=", - "Object.Behavior::PropertyLinearVelocityY()" + "LinearVelocityY" ] } ] diff --git a/extensions/reviewed/ShadowClones.json b/extensions/reviewed/ShadowClones.json index b8129434..ba7dffa2 100644 --- a/extensions/reviewed/ShadowClones.json +++ b/extensions/reviewed/ShadowClones.json @@ -8,7 +8,7 @@ "name": "ShadowClones", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/vector-arrange-above.svg", "shortDescription": "Create and animate shadow clones that follow the path of a primary object.", - "version": "0.6.0", + "version": "0.6.1", "description": [ "Select the primary object, the shadow clone object, the number of shadow clones, the number of frames between shadow clones, the rate that shadow clones will reduce opacity and size (if desired), the Z-value and the layer the shadow clones will be created on.", "", @@ -108,7 +108,7 @@ "PrimaryObject", "TotalShadowClones", "=", - "GetArgumentAsNumber(\"NumberOfShadowClones\")" + "NumberOfShadowClones" ] }, { @@ -119,7 +119,7 @@ "PrimaryObject", "FramesBetweenShadowClones", "=", - "GetArgumentAsNumber(\"FramesBetweenShadowClones\")" + "FramesBetweenShadowClones" ] } ], @@ -310,7 +310,7 @@ "ShadowCloneObject", "PrimaryObject.X()", "PrimaryObject.Y()", - "GetArgumentAsString(\"ShadowCloneLayer\")" + "ShadowCloneLayer" ] }, { @@ -331,7 +331,7 @@ "parameters": [ "ShadowCloneObject", "=", - "GetArgumentAsNumber(\"ShadowCloneZValue\")" + "ShadowCloneZValue" ] }, { @@ -462,7 +462,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"ShrinkSpeed\")", + "ShrinkSpeed", "=", "0" ] @@ -510,7 +510,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"ShrinkSpeed\")", + "ShrinkSpeed", "=", "0" ] @@ -760,7 +760,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"FadeSpeed\")", + "FadeSpeed", "!=", "0" ] @@ -774,7 +774,7 @@ "parameters": [ "ShadowCloneObject", "=", - "PrimaryObject.Opacity()-GetArgumentAsNumber(\"FadeSpeed\")*ShadowCloneObject.Variable(ShadowCloneOrder)" + "PrimaryObject.Opacity()-FadeSpeed*ShadowCloneObject.Variable(ShadowCloneOrder)" ] } ] @@ -787,7 +787,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"FadeSpeed\")", + "FadeSpeed", "=", "0" ] @@ -827,7 +827,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"ShrinkSpeed\")", + "ShrinkSpeed", "!=", "0" ] @@ -846,7 +846,7 @@ "parameters": [ "ShadowCloneObject", "=", - "PrimaryObject.ScaleX()-(GetArgumentAsNumber(\"ShrinkSpeed\")*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" + "PrimaryObject.ScaleX()-(ShrinkSpeed*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" ] } ] @@ -862,7 +862,7 @@ "parameters": [ "ShadowCloneObject", "=", - "PrimaryObject.ScaleY()-(GetArgumentAsNumber(\"ShrinkSpeed\")*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" + "PrimaryObject.ScaleY()-(ShrinkSpeed*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" ] } ] @@ -1498,7 +1498,7 @@ "PrimaryObject", "TotalShadowClones", "=", - "GetArgumentAsNumber(\"NumberOfShadowClones\")" + "NumberOfShadowClones" ] }, { @@ -1509,7 +1509,7 @@ "PrimaryObject", "FramesBetweenShadowClones", "=", - "GetArgumentAsNumber(\"FramesBetweenShadowClones\")" + "FramesBetweenShadowClones" ] } ], @@ -1699,7 +1699,7 @@ "ShadowCloneObject", "PrimaryObject.X()", "PrimaryObject.Y()", - "GetArgumentAsString(\"ShadowCloneLayer\")" + "ShadowCloneLayer" ] }, { @@ -1732,7 +1732,7 @@ "ShadowCloneObject", "ShadowCloneGroupID", "=", - "GetArgumentAsString(\"ShadowCloneGroupID\")" + "ShadowCloneGroupID" ] }, { @@ -1742,7 +1742,7 @@ "parameters": [ "ShadowCloneObject", "=", - "GetArgumentAsNumber(\"ShadowCloneZValue\")" + "ShadowCloneZValue" ] }, { @@ -1811,7 +1811,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"ShrinkSpeed\")", + "ShrinkSpeed", "=", "0" ] @@ -1846,7 +1846,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"ShrinkSpeed\")", + "ShrinkSpeed", "=", "0" ] @@ -1952,7 +1952,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"FadeSpeed\")", + "FadeSpeed", "!=", "0" ] @@ -1966,7 +1966,7 @@ "parameters": [ "ShadowCloneObject", "=", - "255-GetArgumentAsNumber(\"FadeSpeed\")*ShadowCloneObject.Variable(ShadowCloneOrder)" + "255-FadeSpeed*ShadowCloneObject.Variable(ShadowCloneOrder)" ] } ] @@ -1992,7 +1992,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"ShrinkSpeed\")", + "ShrinkSpeed", "!=", "0" ] @@ -2011,7 +2011,7 @@ "parameters": [ "ShadowCloneObject", "=", - "PrimaryObject.ScaleX()-(GetArgumentAsNumber(\"ShrinkSpeed\")*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" + "PrimaryObject.ScaleX()-(ShrinkSpeed*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" ] } ] @@ -2027,7 +2027,7 @@ "parameters": [ "ShadowCloneObject", "=", - "PrimaryObject.ScaleY()-(GetArgumentAsNumber(\"ShrinkSpeed\")*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" + "PrimaryObject.ScaleY()-(ShrinkSpeed*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" ] } ] @@ -2063,7 +2063,7 @@ "ShadowCloneObject", "ShadowCloneGroupID", "=", - "GetArgumentAsString(\"ShadowCloneGroupID\")" + "ShadowCloneGroupID" ] }, { @@ -2164,7 +2164,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"ShrinkSpeed\")", + "ShrinkSpeed", "=", "0" ] @@ -2212,7 +2212,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"ShrinkSpeed\")", + "ShrinkSpeed", "=", "0" ] @@ -2558,7 +2558,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"FadeSpeed\")", + "FadeSpeed", "!=", "0" ] @@ -2572,7 +2572,7 @@ "parameters": [ "ShadowCloneObject", "=", - "255-GetArgumentAsNumber(\"FadeSpeed\")*ShadowCloneObject.Variable(ShadowCloneOrder)" + "255-FadeSpeed*ShadowCloneObject.Variable(ShadowCloneOrder)" ] } ] @@ -2598,7 +2598,7 @@ "value": "Egal" }, "parameters": [ - "GetArgumentAsNumber(\"ShrinkSpeed\")", + "ShrinkSpeed", "!=", "0" ] @@ -2617,7 +2617,7 @@ "parameters": [ "ShadowCloneObject", "=", - "PrimaryObject.ScaleX()-(GetArgumentAsNumber(\"ShrinkSpeed\")*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" + "PrimaryObject.ScaleX()-(ShrinkSpeed*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" ] } ] @@ -2633,7 +2633,7 @@ "parameters": [ "ShadowCloneObject", "=", - "PrimaryObject.ScaleY()-(GetArgumentAsNumber(\"ShrinkSpeed\")*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" + "PrimaryObject.ScaleY()-(ShrinkSpeed*ShadowCloneObject.Variable(ShadowCloneOrder)/100)" ] } ] diff --git a/extensions/reviewed/SmoothCamera.json b/extensions/reviewed/SmoothCamera.json index f7caec12..636d6f5a 100644 --- a/extensions/reviewed/SmoothCamera.json +++ b/extensions/reviewed/SmoothCamera.json @@ -8,7 +8,7 @@ "name": "SmoothCamera", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Computers and Hardware/Computers and Hardware_camcoder_gopro_go_pro_camera.svg", "shortDescription": "Smoothly scroll to follow an object.", - "version": "0.3.1", + "version": "0.3.2", "description": [ "The camera follows an object according to:", "- a frame rate independent catch-up speed to make the scrolling from smooth to strong", @@ -73,7 +73,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyLeftwardSpeed()", + "LeftwardSpeed", "log(1 - )" ] }, @@ -84,7 +84,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyRightwardSpeed()", + "RightwardSpeed", "log(1 - )" ] }, @@ -95,7 +95,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyUpwardSpeed()", + "UpwardSpeed", "log(1 - )" ] }, @@ -106,7 +106,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyDownwardSpeed()", + "DownwardSpeed", "log(1 - )" ] }, @@ -117,7 +117,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyLeftwardSpeedMax()", + "LeftwardSpeedMax", "log(1 - )" ] }, @@ -128,7 +128,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyRightwardSpeedMax()", + "RightwardSpeedMax", "log(1 - )" ] }, @@ -139,7 +139,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyUpwardSpeedMax()", + "UpwardSpeedMax", "log(1 - )" ] }, @@ -150,7 +150,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyDownwardSpeedMax()", + "DownwardSpeedMax", "log(1 - )" ] }, @@ -161,7 +161,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyFollowFreeAreaLeft()", + "FollowFreeAreaLeft", "log(1 - )" ] }, @@ -172,7 +172,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyFollowFreeAreaRight()", + "FollowFreeAreaRight", "log(1 - )" ] }, @@ -183,7 +183,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyFollowFreeAreaTop()", + "FollowFreeAreaTop", "log(1 - )" ] }, @@ -194,7 +194,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyFollowFreeAreaBottom()", + "FollowFreeAreaBottom", "log(1 - )" ] }, @@ -206,7 +206,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyCameraDelay()" + "CameraDelay" ] } ] @@ -446,7 +446,7 @@ "parameters": [ "", "=", - "Object.Behavior::FreeAreaRight()\n+ (CameraX(Object.Layer(), 0) - Object.Behavior::FreeAreaRight())\n* exp(TimeDelta() * Object.Behavior::PropertyLogLeftwardSpeed())", + "Object.Behavior::FreeAreaRight()\n+ (CameraX(Object.Layer(), 0) - Object.Behavior::FreeAreaRight())\n* exp(TimeDelta() * LogLeftwardSpeed)", "Object.Layer()", "0" ] @@ -463,7 +463,7 @@ "parameters": [ "", "<", - "Object.Behavior::PropertyOldX() - Object.Behavior::PropertyLeftwardSpeedMax() * TimeDelta()", + "OldX - LeftwardSpeedMax * TimeDelta()", "Object.Layer()", "0" ] @@ -477,7 +477,7 @@ "parameters": [ "", "=", - "Object.Behavior::PropertyOldX() - Object.Behavior::PropertyLeftwardSpeedMax() * TimeDelta()", + "OldX - LeftwardSpeedMax * TimeDelta()", "Object.Layer()", "0" ] @@ -510,7 +510,7 @@ "parameters": [ "", "=", - "Object.Behavior::FreeAreaLeft()\n+ (CameraX(Object.Layer(), 0) - Object.Behavior::FreeAreaLeft())\n* exp(TimeDelta() * Object.Behavior::PropertyLogRightwardSpeed())", + "Object.Behavior::FreeAreaLeft()\n+ (CameraX(Object.Layer(), 0) - Object.Behavior::FreeAreaLeft())\n* exp(TimeDelta() * LogRightwardSpeed)", "Object.Layer()", "0" ] @@ -527,7 +527,7 @@ "parameters": [ "", ">", - "Object.Behavior::PropertyOldX() + Object.Behavior::PropertyRightwardSpeedMax() * TimeDelta()", + "OldX + RightwardSpeedMax * TimeDelta()", "Object.Layer()", "0" ] @@ -541,7 +541,7 @@ "parameters": [ "", "=", - "Object.Behavior::PropertyOldX() + Object.Behavior::PropertyRightwardSpeedMax() * TimeDelta()", + "OldX + RightwardSpeedMax * TimeDelta()", "Object.Layer()", "0" ] @@ -603,7 +603,7 @@ "parameters": [ "", "=", - "Object.Behavior::FreeAreaBottom()\n+ (CameraY(Object.Layer(), 0) - Object.Behavior::FreeAreaBottom())\n* exp(TimeDelta() * Object.Behavior::PropertyLogUpwardSpeed())", + "Object.Behavior::FreeAreaBottom()\n+ (CameraY(Object.Layer(), 0) - Object.Behavior::FreeAreaBottom())\n* exp(TimeDelta() * LogUpwardSpeed)", "Object.Layer()", "0" ] @@ -620,7 +620,7 @@ "parameters": [ "", "<", - "Object.Behavior::PropertyOldY() - Object.Behavior::PropertyUpwardSpeedMax() * TimeDelta()", + "OldY - UpwardSpeedMax * TimeDelta()", "Object.Layer()", "0" ] @@ -634,7 +634,7 @@ "parameters": [ "", "=", - "Object.Behavior::PropertyOldY() - Object.Behavior::PropertyUpwardSpeedMax() * TimeDelta()", + "OldY - UpwardSpeedMax * TimeDelta()", "Object.Layer()", "0" ] @@ -667,7 +667,7 @@ "parameters": [ "", "=", - "Object.Behavior::FreeAreaTop()\n+ (CameraY(Object.Layer(), 0) - Object.Behavior::FreeAreaTop())\n* exp(TimeDelta() * Object.Behavior::PropertyLogDownwardSpeed())", + "Object.Behavior::FreeAreaTop()\n+ (CameraY(Object.Layer(), 0) - Object.Behavior::FreeAreaTop())\n* exp(TimeDelta() * LogDownwardSpeed)", "Object.Layer()", "0" ] @@ -684,7 +684,7 @@ "parameters": [ "", ">", - "Object.Behavior::PropertyOldY() + Object.Behavior::PropertyDownwardSpeedMax() * TimeDelta()", + "OldY + DownwardSpeedMax * TimeDelta()", "Object.Layer()", "0" ] @@ -698,7 +698,7 @@ "parameters": [ "", "=", - "Object.Behavior::PropertyOldY() + Object.Behavior::PropertyDownwardSpeedMax() * TimeDelta()", + "OldY + DownwardSpeedMax * TimeDelta()", "Object.Layer()", "0" ] @@ -756,7 +756,7 @@ "Object", "Behavior", "=", - "TimeFromStart() + GetArgumentAsNumber(\"WaitingDuration\")" + "TimeFromStart() + WaitingDuration" ] }, { @@ -767,7 +767,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"WaitingSpeedXMax\")" + "WaitingSpeedXMax" ] }, { @@ -778,7 +778,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"WaitingSpeedYMax\")" + "WaitingSpeedYMax" ] }, { @@ -789,7 +789,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"CatchUpDuration\")" + "CatchUpDuration" ] } ] @@ -937,8 +937,8 @@ }, "parameters": [ "ShapePainter", - "Object.Variable(__SmoothCamera.ForecastHistoryX[Object.Behavior::PropertyIndex()])", - "Object.Variable(__SmoothCamera.ForecastHistoryY[Object.Behavior::PropertyIndex()])" + "Object.Variable(__SmoothCamera.ForecastHistoryX[Index])", + "Object.Variable(__SmoothCamera.ForecastHistoryY[Index])" ] }, { @@ -1093,10 +1093,10 @@ }, "parameters": [ "ShapePainter", - "Object.Behavior::PropertyProjectedOldestX()", - "Object.Behavior::PropertyProjectedOldestY()", - "Object.Behavior::PropertyProjectedNewestX()", - "Object.Behavior::PropertyProjectedNewestY()", + "ProjectedOldestX", + "ProjectedOldestY", + "ProjectedNewestX", + "ProjectedNewestY", "1" ] } @@ -1124,8 +1124,8 @@ }, "parameters": [ "ShapePainter", - "Object.Behavior::PropertyForecastedX()", - "Object.Behavior::PropertyForecastedY()", + "ForecastedX", + "ForecastedY", "3" ] }, @@ -1342,7 +1342,7 @@ "Object", "Behavior", "=", - "max(0, GetArgumentAsNumber(\"SetFollowFreeAreaRight\"))" + "max(0, SetFollowFreeAreaRight)" ] } ] @@ -1388,7 +1388,7 @@ "Object", "Behavior", "=", - "max(0, GetArgumentAsNumber(\"SetFollowFreeAreaLeft\"))" + "max(0, SetFollowFreeAreaLeft)" ] } ] @@ -1434,7 +1434,7 @@ "Object", "Behavior", "=", - "max(0, GetArgumentAsNumber(\"FollowFreeAreaTop\"))" + "max(0, FollowFreeAreaTop)" ] } ] @@ -1480,7 +1480,7 @@ "Object", "Behavior", "=", - "max(0, GetArgumentAsNumber(\"SetFollowFreeAreaBottom\"))" + "max(0, SetFollowFreeAreaBottom)" ] } ] @@ -1526,7 +1526,7 @@ "Object", "Behavior", "=", - "max(0, GetArgumentAsNumber(\"Speed\"))" + "max(0, Speed)" ] } ] @@ -1572,7 +1572,7 @@ "Object", "Behavior", "=", - "max(0, GetArgumentAsNumber(\"Speed\"))" + "max(0, Speed)" ] } ] @@ -1618,7 +1618,7 @@ "Object", "Behavior", "=", - "max(0, GetArgumentAsNumber(\"Speed\"))" + "max(0, Speed)" ] } ] @@ -1664,7 +1664,7 @@ "Object", "Behavior", "=", - "max(0, GetArgumentAsNumber(\"Speed\"))" + "max(0, Speed)" ] } ] @@ -1710,7 +1710,7 @@ "Object", "Behavior", "=", - "clamp(0, 1, GetArgumentAsNumber(\"LeftwardSpeed\"))" + "clamp(0, 1, LeftwardSpeed)" ] }, { @@ -1721,7 +1721,7 @@ "Object", "Behavior", "=", - "log(1 - Object.Behavior::PropertyLeftwardSpeed())" + "log(1 - LeftwardSpeed)" ] } ] @@ -1767,7 +1767,7 @@ "Object", "Behavior", "=", - "clamp(0, 1, GetArgumentAsNumber(\"RightwardSpeed\"))" + "clamp(0, 1, RightwardSpeed)" ] }, { @@ -1778,7 +1778,7 @@ "Object", "Behavior", "=", - "log(1 - Object.Behavior::PropertyRightwardSpeed())" + "log(1 - RightwardSpeed)" ] } ] @@ -1824,7 +1824,7 @@ "Object", "Behavior", "=", - "clamp(0, 1, GetArgumentAsNumber(\"DownwardSpeed\"))" + "clamp(0, 1, DownwardSpeed)" ] }, { @@ -1835,7 +1835,7 @@ "Object", "Behavior", "=", - "log(1 - Object.Behavior::PropertyDownwardSpeed())" + "log(1 - DownwardSpeed)" ] } ] @@ -1881,7 +1881,7 @@ "Object", "Behavior", "=", - "clamp(0, 1, GetArgumentAsNumber(\"UpwardSpeed\"))" + "clamp(0, 1, UpwardSpeed)" ] }, { @@ -1892,7 +1892,7 @@ "Object", "Behavior", "=", - "log(1 - Object.Behavior::PropertyUpwardSpeed())" + "log(1 - UpwardSpeed)" ] } ] @@ -1935,7 +1935,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCameraOffsetX()" + "CameraOffsetX" ] } ] @@ -1978,7 +1978,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2032,7 +2032,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"CameraOffsetX\")", + "CameraOffsetX", "" ] } @@ -2076,7 +2076,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCameraOffsetY()" + "CameraOffsetY" ] } ] @@ -2131,7 +2131,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2173,7 +2173,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"CameraOffsetY\")", + "CameraOffsetY", "" ] } @@ -2220,7 +2220,7 @@ "Object", "Behavior", "=", - "min(0, GetArgumentAsNumber(\"ForecastTime\"))" + "min(0, ForecastTime)" ] } ] @@ -2266,7 +2266,7 @@ "Object", "Behavior", "=", - "min(0, GetArgumentAsNumber(\"CameraDelay\"))" + "min(0, CameraDelay)" ] } ] @@ -2310,7 +2310,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyForecastedX() + Object.Behavior::PropertyCameraOffsetX() - Object.Behavior::PropertyFollowFreeAreaLeft()" + "ForecastedX + CameraOffsetX - FollowFreeAreaLeft" ] } ] @@ -2352,7 +2352,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyForecastedX() + Object.Behavior::PropertyCameraOffsetX() + Object.Behavior::PropertyFollowFreeAreaRight()" + "ForecastedX + CameraOffsetX + FollowFreeAreaRight" ] } ] @@ -2394,7 +2394,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyForecastedY() + Object.Behavior::PropertyCameraOffsetY() + Object.Behavior::PropertyFollowFreeAreaBottom()" + "ForecastedY + CameraOffsetY + FollowFreeAreaBottom" ] } ] @@ -2436,7 +2436,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyForecastedY() + Object.Behavior::PropertyCameraOffsetY() - Object.Behavior::PropertyFollowFreeAreaTop()" + "ForecastedY + CameraOffsetY - FollowFreeAreaTop" ] } ] @@ -2523,7 +2523,7 @@ "parameters": [ "Object", "__SmoothCamera.ObjectX", - "Object.Behavior::PropertyDelayedCenterX()" + "DelayedCenterX" ] }, { @@ -2533,7 +2533,7 @@ "parameters": [ "Object", "__SmoothCamera.ObjectY", - "Object.Behavior::PropertyDelayedCenterY()" + "DelayedCenterY" ] } ] @@ -2861,7 +2861,7 @@ "Object", "Behavior", "+", - "max(0, TimeDelta() * (1 - min(Object.Behavior::PropertyWaitingSpeedXMax() * abs(Object.Variable(__SmoothCamera.ObjectX[1]) - Object.Variable(__SmoothCamera.ObjectX[0])), Object.Behavior::PropertyWaitingSpeedYMax() * abs(Object.Variable(__SmoothCamera.ObjectY[1]) - Object.Variable(__SmoothCamera.ObjectY[0]))) / (Object.Variable(__SmoothCamera.ObjectTime[1]) - Object.Variable(__SmoothCamera.ObjectTime[0]))))" + "max(0, TimeDelta() * (1 - min(WaitingSpeedXMax * abs(Object.Variable(__SmoothCamera.ObjectX[1]) - Object.Variable(__SmoothCamera.ObjectX[0])), WaitingSpeedYMax * abs(Object.Variable(__SmoothCamera.ObjectY[1]) - Object.Variable(__SmoothCamera.ObjectY[0]))) / (Object.Variable(__SmoothCamera.ObjectTime[1]) - Object.Variable(__SmoothCamera.ObjectTime[0]))))" ] } ], @@ -2876,7 +2876,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Extra delay: \" + ToString(Object.Behavior::PropertyCameraExtraDelay())", + "\"Extra delay: \" + ToString(CameraExtraDelay)", "\"info\"", "\"SmoothCamera\"" ] @@ -3015,7 +3015,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyCameraExtraDelay() / Object.Behavior::PropertyCameraDelayCatchUpDuration()" + "CameraExtraDelay / CameraDelayCatchUpDuration" ] } ], @@ -3074,7 +3074,7 @@ "Object", "Behavior", "=", - "max(0, Object.Behavior::PropertyCameraExtraDelay() -Object.Behavior::PropertyCameraDelayCatchUpSpeed() * TimeDelta())" + "max(0, CameraExtraDelay -CameraDelayCatchUpSpeed * TimeDelta())" ] } ], @@ -3089,7 +3089,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Catching up delay: \" + ToString(Object.Behavior::PropertyCameraExtraDelay())", + "\"Catching up delay: \" + ToString(CameraExtraDelay)", "\"info\"", "\"SmoothCamera\"" ] @@ -3180,7 +3180,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCameraDelay() + Object.Behavior::PropertyCameraExtraDelay()" + "CameraDelay + CameraExtraDelay" ] } ] @@ -3305,7 +3305,7 @@ "parameters": [ "Object", "__SmoothCamera.ForecastHistoryTime", - "GetArgumentAsNumber(\"Time\")" + "Time" ] }, { @@ -3315,7 +3315,7 @@ "parameters": [ "Object", "__SmoothCamera.ForecastHistoryX", - "GetArgumentAsNumber(\"ObjectX\")" + "ObjectX" ] }, { @@ -3325,7 +3325,7 @@ "parameters": [ "Object", "__SmoothCamera.ForecastHistoryY", - "GetArgumentAsNumber(\"ObjectY\")" + "ObjectY" ] } ], @@ -3364,7 +3364,7 @@ "Object", "__SmoothCamera.ForecastHistoryTime[0]", "<", - "TimeFromStart() - Object.Behavior::PropertyCameraDelay() - Object.Behavior::PropertyCameraExtraDelay() - Object.Behavior::PropertyForecastHistoryDuration()" + "TimeFromStart() - CameraDelay - CameraExtraDelay - ForecastHistoryDuration" ] } ], @@ -3456,7 +3456,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyDelayedCenterX()" + "DelayedCenterX" ] }, { @@ -3467,7 +3467,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyDelayedCenterY()" + "DelayedCenterY" ] } ] @@ -3580,7 +3580,7 @@ "Object", "Behavior", "+", - "Object.Variable(__SmoothCamera.ForecastHistoryX[Object.Behavior::PropertyIndex()])" + "Object.Variable(__SmoothCamera.ForecastHistoryX[Index])" ] }, { @@ -3666,7 +3666,7 @@ "Object", "Behavior", "+", - "Object.Variable(__SmoothCamera.ForecastHistoryY[Object.Behavior::PropertyIndex()])" + "Object.Variable(__SmoothCamera.ForecastHistoryY[Index])" ] }, { @@ -3709,7 +3709,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Mean: \" + ToString(Object.Behavior::PropertyForecastHistoryMeanX()) + \" \" + ToString(Object.Behavior::PropertyForecastHistoryMeanY())", + "\"Mean: \" + ToString(ForecastHistoryMeanX) + \" \" + ToString(ForecastHistoryMeanY)", "", "" ] @@ -3803,7 +3803,7 @@ "Object", "Behavior", "+", - "pow(Object.Variable(__SmoothCamera.ForecastHistoryX[Object.Behavior::PropertyIndex()]) - Object.Behavior::PropertyForecastHistoryMeanX(), 2)" + "pow(Object.Variable(__SmoothCamera.ForecastHistoryX[Index]) - ForecastHistoryMeanX, 2)" ] }, { @@ -3814,7 +3814,7 @@ "Object", "Behavior", "+", - "pow(Object.Variable(__SmoothCamera.ForecastHistoryY[Object.Behavior::PropertyIndex()]) - Object.Behavior::PropertyForecastHistoryMeanY(), 2)" + "pow(Object.Variable(__SmoothCamera.ForecastHistoryY[Index]) - ForecastHistoryMeanY, 2)" ] }, { @@ -3825,7 +3825,7 @@ "Object", "Behavior", "+", - "(Object.Variable(__SmoothCamera.ForecastHistoryX[Object.Behavior::PropertyIndex()]) - Object.Behavior::PropertyForecastHistoryMeanX())\n*\n(Object.Variable(__SmoothCamera.ForecastHistoryY[Object.Behavior::PropertyIndex()]) - Object.Behavior::PropertyForecastHistoryMeanY())" + "(Object.Variable(__SmoothCamera.ForecastHistoryX[Index]) - ForecastHistoryMeanX)\n*\n(Object.Variable(__SmoothCamera.ForecastHistoryY[Index]) - ForecastHistoryMeanY)" ] }, { @@ -3851,7 +3851,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Variances: \" + ToString(Object.Behavior::PropertyForecastHistoryVarianceX()) + \" \" + ToString(Object.Behavior::PropertyForecastHistoryVarianceY()) + \" \" + ToString(Object.Behavior::PropertyForecastHistoryCovariance())", + "\"Variances: \" + ToString(ForecastHistoryVarianceX) + \" \" + ToString(ForecastHistoryVarianceY) + \" \" + ToString(ForecastHistoryCovariance)", "\"info\"", "\"SmoothCamera\"" ] @@ -3866,7 +3866,7 @@ "value": "Egal" }, "parameters": [ - "abs(Object.Behavior::PropertyForecastHistoryVarianceX())", + "abs(ForecastHistoryVarianceX)", "<", "1" ] @@ -3876,7 +3876,7 @@ "value": "Egal" }, "parameters": [ - "abs(Object.Behavior::PropertyForecastHistoryVarianceY())", + "abs(ForecastHistoryVarianceY)", "<", "1" ] @@ -3891,7 +3891,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyDelayedCenterX()" + "DelayedCenterX" ] }, { @@ -3902,7 +3902,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyDelayedCenterY()" + "DelayedCenterY" ] } ] @@ -3921,7 +3921,7 @@ "value": "Egal" }, "parameters": [ - "abs(Object.Behavior::PropertyForecastHistoryVarianceX())", + "abs(ForecastHistoryVarianceX)", ">=", "1" ] @@ -3931,7 +3931,7 @@ "value": "Egal" }, "parameters": [ - "abs(Object.Behavior::PropertyForecastHistoryVarianceY())", + "abs(ForecastHistoryVarianceY)", ">=", "1" ] @@ -3970,9 +3970,9 @@ "value": "Egal" }, "parameters": [ - "abs(Object.Behavior::PropertyForecastHistoryVarianceX())", + "abs(ForecastHistoryVarianceX)", ">=", - "abs(Object.Behavior::PropertyForecastHistoryVarianceY())" + "abs(ForecastHistoryVarianceY)" ] } ], @@ -3985,7 +3985,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyForecastHistoryCovariance() / Object.Behavior::PropertyForecastHistoryVarianceX()" + "ForecastHistoryCovariance / ForecastHistoryVarianceX" ] }, { @@ -3996,7 +3996,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyForecastHistoryMeanY() - Object.Behavior::PropertyForecastHistoryLinearA() * Object.Behavior::PropertyForecastHistoryMeanX()" + "ForecastHistoryMeanY - ForecastHistoryLinearA * ForecastHistoryMeanX" ] } ], @@ -4011,7 +4011,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Linear: \" + ToString(Object.Behavior::PropertyForecastHistoryLinearA()) + \" \" + ToString(Object.Behavior::PropertyForecastHistoryLinearB())", + "\"Linear: \" + ToString(ForecastHistoryLinearA) + \" \" + ToString(ForecastHistoryLinearB)", "\"info\"", "\"SmoothCamera\"" ] @@ -4072,9 +4072,9 @@ "value": "Egal" }, "parameters": [ - "abs(Object.Behavior::PropertyForecastHistoryVarianceX())", + "abs(ForecastHistoryVarianceX)", "<", - "abs(Object.Behavior::PropertyForecastHistoryVarianceY())" + "abs(ForecastHistoryVarianceY)" ] } ], @@ -4087,7 +4087,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyForecastHistoryCovariance() / Object.Behavior::PropertyForecastHistoryVarianceY()" + "ForecastHistoryCovariance / ForecastHistoryVarianceY" ] }, { @@ -4098,7 +4098,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyForecastHistoryMeanX() - Object.Behavior::PropertyForecastHistoryLinearA() * Object.Behavior::PropertyForecastHistoryMeanY()" + "ForecastHistoryMeanX - ForecastHistoryLinearA * ForecastHistoryMeanY" ] } ], @@ -4113,7 +4113,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Linear: \" + ToString(Object.Behavior::PropertyForecastHistoryLinearA()) + \" \" + ToString(Object.Behavior::PropertyForecastHistoryLinearB())", + "\"Linear: \" + ToString(ForecastHistoryLinearA) + \" \" + ToString(ForecastHistoryLinearB)", "\"info\"", "\"SmoothCamera\"" ] @@ -4173,7 +4173,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyProjectedOldestX()" + "ProjectedOldestX" ] }, { @@ -4184,7 +4184,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyProjectedOldestY()" + "ProjectedOldestY" ] }, { @@ -4195,7 +4195,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyIndex()" + "Index" ] } ] @@ -4212,7 +4212,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyProjectedNewestX()" + "ProjectedNewestX" ] }, { @@ -4223,7 +4223,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyProjectedNewestY()" + "ProjectedNewestY" ] }, { @@ -4234,7 +4234,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyIndex()" + "Index" ] } ] @@ -4252,7 +4252,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Oldest: \" + ToString(Object.Behavior::PropertyProjectedOldestX()) + \" \" + ToString(Object.Behavior::PropertyProjectedOldestY())", + "\"Oldest: \" + ToString(ProjectedOldestX) + \" \" + ToString(ProjectedOldestY)", "\"info\"", "\"SmoothCamera\"" ] @@ -4269,7 +4269,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Newest: \" + ToString(Object.Behavior::PropertyProjectedNewestX()) + \" \" + ToString(Object.Behavior::PropertyProjectedNewestY())", + "\"Newest: \" + ToString(ProjectedNewestX) + \" \" + ToString(ProjectedNewestY)", "\"info\"", "\"SmoothCamera\"" ] @@ -4299,7 +4299,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyProjectedNewestX() + ( Object.Behavior::PropertyProjectedNewestX() - Object.Behavior::PropertyProjectedOldestX()) * Object.Behavior::ForecastTimeRatio()" + "ProjectedNewestX + ( ProjectedNewestX - ProjectedOldestX) * Object.Behavior::ForecastTimeRatio()" ] }, { @@ -4310,7 +4310,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyProjectedNewestY() + ( Object.Behavior::PropertyProjectedNewestY() - Object.Behavior::PropertyProjectedOldestY()) * Object.Behavior::ForecastTimeRatio()" + "ProjectedNewestY + ( ProjectedNewestY - ProjectedOldestY) * Object.Behavior::ForecastTimeRatio()" ] } ] @@ -4325,7 +4325,7 @@ "value": "DebuggerTools::ConsoleLog" }, "parameters": [ - "\"Forecasted: \" + ToString(Object.Behavior::PropertyForecastedX()) + \" \" + ToString(Object.Behavior::PropertyForecastedY())", + "\"Forecasted: \" + ToString(ForecastedX) + \" \" + ToString(ForecastedY)", "\"info\"", "\"SmoothCamera\"" ] @@ -4394,7 +4394,7 @@ "Object", "Behavior", "=", - "(GetArgumentAsNumber(\"NewestX\") + (GetArgumentAsNumber(\"NewestY\") - Object.Behavior::PropertyForecastHistoryLinearB()) * Object.Behavior::PropertyForecastHistoryLinearA()) / (1 + pow(Object.Behavior::PropertyForecastHistoryLinearA(), 2))" + "(NewestX + (NewestY - ForecastHistoryLinearB) * ForecastHistoryLinearA) / (1 + pow(ForecastHistoryLinearA, 2))" ] }, { @@ -4405,7 +4405,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"NewestY\") + (GetArgumentAsNumber(\"NewestX\") * Object.Behavior::PropertyForecastHistoryLinearA() - GetArgumentAsNumber(\"NewestY\") \n+ Object.Behavior::PropertyForecastHistoryLinearB()) / (1 + pow(Object.Behavior::PropertyForecastHistoryLinearA(), 2))" + "NewestY + (NewestX * ForecastHistoryLinearA - NewestY \n+ ForecastHistoryLinearB) / (1 + pow(ForecastHistoryLinearA, 2))" ] } ] @@ -4422,7 +4422,7 @@ "Object", "Behavior", "=", - "(GetArgumentAsNumber(\"OldestX\") + (GetArgumentAsNumber(\"OldestY\") - Object.Behavior::PropertyForecastHistoryLinearB()) * Object.Behavior::PropertyForecastHistoryLinearA()) / (1 + pow(Object.Behavior::PropertyForecastHistoryLinearA(), 2))" + "(OldestX + (OldestY - ForecastHistoryLinearB) * ForecastHistoryLinearA) / (1 + pow(ForecastHistoryLinearA, 2))" ] }, { @@ -4433,7 +4433,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"OldestY\") + (GetArgumentAsNumber(\"OldestX\") * Object.Behavior::PropertyForecastHistoryLinearA() - GetArgumentAsNumber(\"OldestY\") \n+ Object.Behavior::PropertyForecastHistoryLinearB()) / (1 + pow(Object.Behavior::PropertyForecastHistoryLinearA(), 2))" + "OldestY + (OldestX * ForecastHistoryLinearA - OldestY \n+ ForecastHistoryLinearB) / (1 + pow(ForecastHistoryLinearA, 2))" ] } ] @@ -4492,7 +4492,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "- Object.Behavior::PropertyForecastTime() / (Object.Variable(__SmoothCamera.ForecastHistoryTime[0]) - Object.Variable(__SmoothCamera.ForecastHistoryTime[Object.VariableChildCount(__SmoothCamera.ForecastHistoryTime) - 1]))" + "- ForecastTime / (Object.Variable(__SmoothCamera.ForecastHistoryTime[0]) - Object.Variable(__SmoothCamera.ForecastHistoryTime[Object.VariableChildCount(__SmoothCamera.ForecastHistoryTime) - 1]))" ] } ] @@ -5052,7 +5052,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyFloorFollowFreeAreaTop()", + "FloorFollowFreeAreaTop", "" ] }, @@ -5063,7 +5063,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyFloorFollowFreeAreaBottom()", + "FloorFollowFreeAreaBottom", "" ] }, @@ -5074,7 +5074,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyFloorUpwardSpeed()", + "FloorUpwardSpeed", "" ] }, @@ -5085,7 +5085,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyFloorDownwardSpeed()", + "FloorDownwardSpeed", "" ] }, @@ -5096,7 +5096,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyFloorUpwardSpeedMax()", + "FloorUpwardSpeedMax", "" ] }, @@ -5107,7 +5107,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyFloorDownwardSpeedMax()", + "FloorDownwardSpeedMax", "" ] } @@ -5151,7 +5151,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyAirFollowFreeAreaTop()", + "AirFollowFreeAreaTop", "" ] }, @@ -5162,7 +5162,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyAirFollowFreeAreaBottom()", + "AirFollowFreeAreaBottom", "" ] }, @@ -5173,7 +5173,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyAirUpwardSpeed()", + "AirUpwardSpeed", "" ] }, @@ -5184,7 +5184,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyAirDownwardSpeed()", + "AirDownwardSpeed", "" ] }, @@ -5195,7 +5195,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyAirUpwardSpeedMax()", + "AirUpwardSpeedMax", "" ] }, @@ -5206,7 +5206,7 @@ "parameters": [ "Object", "SmoothCamera", - "Object.Behavior::PropertyAirDownwardSpeedMax()", + "AirDownwardSpeedMax", "" ] } diff --git a/extensions/reviewed/SnapToGrid.json b/extensions/reviewed/SnapToGrid.json index e944f7ca..8425a15a 100644 --- a/extensions/reviewed/SnapToGrid.json +++ b/extensions/reviewed/SnapToGrid.json @@ -8,7 +8,7 @@ "name": "SnapToGrid", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/view-grid-plus-outline.svg", "shortDescription": "Snap objects on a virtual grid.", - "version": "0.0.3", + "version": "0.0.4", "description": [ "It allows to snap objects on a *virtual grid*.", "", @@ -58,9 +58,9 @@ "parameters": [ "Object", "=", - "GetArgumentAsNumber(\"CellWidth\") * round((Object.X() - GetArgumentAsNumber(\"OffsetX\")) / GetArgumentAsNumber(\"CellWidth\")) + GetArgumentAsNumber(\"OffsetX\")", + "CellWidth * round((Object.X() - OffsetX) / CellWidth) + OffsetX", "=", - "GetArgumentAsNumber(\"CellHeight\") * round((Object.Y() - GetArgumentAsNumber(\"OffsetY\")) / GetArgumentAsNumber(\"CellHeight\")) + GetArgumentAsNumber(\"OffsetY\")" + "CellHeight * round((Object.Y() - OffsetY) / CellHeight) + OffsetY" ] } ] diff --git a/extensions/reviewed/SpeedRestrictions.json b/extensions/reviewed/SpeedRestrictions.json index 4a690d86..526db5c1 100644 --- a/extensions/reviewed/SpeedRestrictions.json +++ b/extensions/reviewed/SpeedRestrictions.json @@ -8,7 +8,7 @@ "name": "SpeedRestrictions", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/speedometer.svg", "shortDescription": "Limit the maximum movement and rotation speed of an object from forces or the physics behavior.", - "version": "0.0.1", + "version": "0.0.2", "description": "Limit the maximum movement and rotation speed of an object from forces or the physics behavior.\n\nHow to use:\n- Add the behavior that matches the method used to move the object (forces or physics)\n- Set the maximum speed value in the behavior properties\n\nTips:\n- This only affects movement caused by forces or physics behavior\n- This may not affect movement caused by other behaviors (platformer, top-down, draggable, etc)", "tags": [ "physics", @@ -47,7 +47,7 @@ "parameters": [ "Object", ">", - "Object.Behavior::PropertyMaximumSpeed()" + "MaximumSpeed" ] } ], @@ -99,8 +99,8 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyCurrentSpeedX() * Object.Behavior::PropertyMaximumSpeed() / Object.Behavior::PropertyCurrentSpeed()", - "Object.Behavior::PropertyCurrentSpeedY() * Object.Behavior::PropertyMaximumSpeed() / Object.Behavior::PropertyCurrentSpeed()", + "CurrentSpeedX * MaximumSpeed / CurrentSpeed", + "CurrentSpeedY * MaximumSpeed / CurrentSpeed", "1" ] } @@ -190,7 +190,7 @@ "Object", "PhysicsBehavior", ">", - "Object.Behavior::PropertyMaximumSpeed()" + "MaximumSpeed" ] } ], @@ -203,7 +203,7 @@ "Object", "PhysicsBehavior", "*", - "Object.Behavior::PropertyMaximumSpeed() / Object. PhysicsBehavior::LinearVelocity()" + "MaximumSpeed / Object. PhysicsBehavior::LinearVelocity()" ] }, { @@ -214,7 +214,7 @@ "Object", "PhysicsBehavior", "*", - "Object.Behavior::PropertyMaximumSpeed() / Object. PhysicsBehavior::LinearVelocity()" + "MaximumSpeed / Object. PhysicsBehavior::LinearVelocity()" ] } ] @@ -284,7 +284,7 @@ "parameters": [ "abs(Object.PhysicsBehavior::AngularVelocity())", ">", - "Object.Behavior::PropertyMaximumRotationSpeed()" + "MaximumRotationSpeed" ] } ], @@ -297,7 +297,7 @@ "Object", "PhysicsBehavior", "*", - "abs(Object.Behavior::PropertyMaximumRotationSpeed() / Object.PhysicsBehavior::AngularVelocity())" + "abs(MaximumRotationSpeed / Object.PhysicsBehavior::AngularVelocity())" ] } ] diff --git a/extensions/reviewed/SpriteMultitouchJoystick.json b/extensions/reviewed/SpriteMultitouchJoystick.json index 0c92e91d..c9560d17 100644 --- a/extensions/reviewed/SpriteMultitouchJoystick.json +++ b/extensions/reviewed/SpriteMultitouchJoystick.json @@ -8,7 +8,7 @@ "name": "SpriteMultitouchJoystick", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Videogames/Videogames_controller_joystick_arrows_direction.svg", "shortDescription": "Joysticks or buttons for touchscreens.", - "version": "1.3.0", + "version": "1.3.1", "description": [ "Multitouch joysticks can be used the same way as physical gamepads:", "- 4 or 8 directions", @@ -60,7 +60,7 @@ "value": "VarSceneTxt" }, "parameters": [ - "__MultitouchJoystick.Controllers[GetArgumentAsNumber(\"ControllerIdentifier\")].Buttons[GetArgumentAsString(\"Button\")].State", + "__MultitouchJoystick.Controllers[ControllerIdentifier].Buttons[Button].State", "=", "\"Pressed\"" ] @@ -108,7 +108,7 @@ "value": "VarSceneTxt" }, "parameters": [ - "__MultitouchJoystick.Controllers[GetArgumentAsNumber(\"ControllerIdentifier\")].Buttons[GetArgumentAsString(\"Button\")].State", + "__MultitouchJoystick.Controllers[ControllerIdentifier].Buttons[Button].State", "=", "\"Released\"" ] @@ -288,7 +288,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "mod(round(GetArgumentAsNumber(\"Angle\") * 4 / 360), 4)" + "mod(round(Angle * 4 / 360), 4)" ] } ] @@ -323,7 +323,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "mod(round(GetArgumentAsNumber(\"Angle\") * 8 / 360), 8)" + "mod(round(Angle * 8 / 360), 8)" ] } ] @@ -357,7 +357,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"Right\"" ] @@ -370,7 +370,7 @@ "", "=", "0", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -394,7 +394,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"Down\"" ] @@ -407,7 +407,7 @@ "", "=", "1", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -431,7 +431,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"Left\"" ] @@ -444,7 +444,7 @@ "", "=", "2", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -468,7 +468,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"Up\"" ] @@ -481,7 +481,7 @@ "", "=", "3", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -529,7 +529,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"Right\"" ] @@ -542,7 +542,7 @@ "", "=", "0", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -566,7 +566,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"DownRight\"" ] @@ -579,7 +579,7 @@ "", "=", "1", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -603,7 +603,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"Down\"" ] @@ -616,7 +616,7 @@ "", "=", "2", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -640,7 +640,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"DownLeft\"" ] @@ -653,7 +653,7 @@ "", "=", "3", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -677,7 +677,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"Left\"" ] @@ -690,7 +690,7 @@ "", "=", "4", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -714,7 +714,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"UpLeft\"" ] @@ -727,7 +727,7 @@ "", "=", "5", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -751,7 +751,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"Up\"" ] @@ -764,7 +764,7 @@ "", "=", "6", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -788,7 +788,7 @@ "value": "BuiltinCommonInstructions::CompareStrings" }, "parameters": [ - "GetArgumentAsString(\"Direction\")", + "Direction", "=", "\"UpRight\"" ] @@ -801,7 +801,7 @@ "", "=", "7", - "GetArgumentAsNumber(\"Angle\")", + "Angle", "" ] } @@ -1135,7 +1135,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "SpriteMultitouchJoystick::StickAngle(GetArgumentAsNumber(\"ControllerIdentifier\"), GetArgumentAsString(\"JoystickIdentifier\"))" + "SpriteMultitouchJoystick::StickAngle(ControllerIdentifier, JoystickIdentifier)" ] } ] @@ -1175,7 +1175,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Variable(__MultitouchJoystick.Controllers[GetArgumentAsNumber(\"ControllerIdentifier\")].Joystick[GetArgumentAsString(\"JoystickIdentifier\")].Angle)" + "Variable(__MultitouchJoystick.Controllers[ControllerIdentifier].Joystick[JoystickIdentifier].Angle)" ] } ] @@ -1216,9 +1216,9 @@ "value": "ModVarScene" }, "parameters": [ - "__MultitouchJoystick.Controllers[GetArgumentAsNumber(\"ControllerIdentifier\")].Joystick[GetArgumentAsString(\"JoystickIdentifier\")].Angle", + "__MultitouchJoystick.Controllers[ControllerIdentifier].Joystick[JoystickIdentifier].Angle", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -1348,9 +1348,9 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", - "Object.Behavior::PropertyDeadZoneRadius()", + "ControllerIdentifier", + "JoystickIdentifier", + "DeadZoneRadius", "" ] }, @@ -1512,8 +1512,8 @@ }, "parameters": [ "Object", - "TouchX(StartedTouchOrMouseId(Object.Behavior::PropertyTouchIndex()), Object.Layer(), 0)", - "TouchY(StartedTouchOrMouseId(Object.Behavior::PropertyTouchIndex()), Object.Layer(), 0)" + "TouchX(StartedTouchOrMouseId(TouchIndex), Object.Layer(), 0)", + "TouchY(StartedTouchOrMouseId(TouchIndex), Object.Layer(), 0)" ] } ], @@ -1526,7 +1526,7 @@ "Object", "Behavior", "=", - "StartedTouchOrMouseId(Object.Behavior::PropertyTouchIndex())" + "StartedTouchOrMouseId(TouchIndex)" ] } ] @@ -1573,7 +1573,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyTouchId()" + "TouchId" ] } ], @@ -1625,8 +1625,8 @@ "parameters": [ "Object", "Behavior", - "AngleBetweenPositions(Object.CenterX(), Object.CenterY(), TouchX(Object.Behavior::PropertyTouchId(), Object.Layer(), 0), TouchY(Object.Behavior::PropertyTouchId(), Object.Layer(), 0))", - "AngleBetweenPositions(Object.CenterX(), Object.CenterY(), TouchX(Object.Behavior::PropertyTouchId(), Object.Layer(), 0), TouchY(Object.Behavior::PropertyTouchId(), Object.Layer(), 0))" + "AngleBetweenPositions(Object.CenterX(), Object.CenterY(), TouchX(TouchId, Object.Layer(), 0), TouchY(TouchId, Object.Layer(), 0))", + "AngleBetweenPositions(Object.CenterX(), Object.CenterY(), TouchX(TouchId, Object.Layer(), 0), TouchY(TouchId, Object.Layer(), 0))" ] }, { @@ -1637,7 +1637,7 @@ "Object", "Behavior", "=", - "clamp(2 * DistanceBetweenPositions(Object.CenterX(), Object.CenterY(), TouchX(Object.Behavior::PropertyTouchId(), Object.Layer(), 0), TouchY(Object.Behavior::PropertyTouchId(), Object.Layer(), 0)) / Object.Width(), 0, 1)", + "clamp(2 * DistanceBetweenPositions(Object.CenterX(), Object.CenterY(), TouchX(TouchId, Object.Layer(), 0), TouchY(TouchId, Object.Layer(), 0)) / Object.Width(), 0, 1)", "" ] } @@ -1815,7 +1815,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] }, { @@ -1824,9 +1824,9 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", - "Object.Behavior::PropertyJoystickAngle()", + "ControllerIdentifier", + "JoystickIdentifier", + "JoystickAngle", "" ] } @@ -2186,7 +2186,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyControllerIdentifier()" + "ControllerIdentifier" ] } ] @@ -2229,7 +2229,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -2267,7 +2267,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertyJoystickIdentifier()" + "JoystickIdentifier" ] } ] @@ -2310,7 +2310,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Value\")" + "Value" ] } ] @@ -2586,8 +2586,8 @@ }, "parameters": [ "Object", - "TouchX(StartedTouchOrMouseId(Object.Behavior::PropertyTouchIndex()), Object.Layer(), 0)", - "TouchY(StartedTouchOrMouseId(Object.Behavior::PropertyTouchIndex()), Object.Layer(), 0)" + "TouchX(StartedTouchOrMouseId(TouchIndex), Object.Layer(), 0)", + "TouchY(StartedTouchOrMouseId(TouchIndex), Object.Layer(), 0)" ] } ], @@ -2600,7 +2600,7 @@ "Object", "Behavior", "=", - "StartedTouchOrMouseId(Object.Behavior::PropertyTouchIndex())" + "StartedTouchOrMouseId(TouchIndex)" ] }, { @@ -2656,7 +2656,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyTouchId()" + "TouchId" ] } ], @@ -2824,9 +2824,9 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyButtonIdentifier()", - "GetArgumentAsString(\"ButtonState\")", + "ControllerIdentifier", + "ButtonIdentifier", + "ButtonState", "" ] } @@ -2928,8 +2928,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Left\"", "" ] @@ -2956,8 +2956,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Right\"", "" ] @@ -2984,8 +2984,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Up\"", "" ] @@ -3021,8 +3021,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Down\"", "" ] @@ -3049,8 +3049,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJumpButton()", + "ControllerIdentifier", + "JumpButton", "\"Down\"" ] } @@ -3164,8 +3164,8 @@ "parameters": [ "Object", "TopDownMovement", - "SpriteMultitouchJoystick::StickAngle(Object.Behavior::PropertyControllerIdentifier(), Object.Behavior::PropertyJoystickIdentifier())", - "SpriteMultitouchJoystick::StickForce(Object.Behavior::PropertyControllerIdentifier(), Object.Behavior::PropertyJoystickIdentifier())" + "SpriteMultitouchJoystick::StickAngle(ControllerIdentifier, JoystickIdentifier)", + "SpriteMultitouchJoystick::StickForce(ControllerIdentifier, JoystickIdentifier)" ] } ] @@ -3193,8 +3193,8 @@ "parameters": [ "Object", "TopDownMovement", - "SpriteMultitouchJoystick::StickAngle(Object.Behavior::PropertyControllerIdentifier(), Object.Behavior::PropertyJoystickIdentifier())", - "sign(SpriteMultitouchJoystick::StickForce(Object.Behavior::PropertyControllerIdentifier(), Object.Behavior::PropertyJoystickIdentifier()))" + "SpriteMultitouchJoystick::StickAngle(ControllerIdentifier, JoystickIdentifier)", + "sign(SpriteMultitouchJoystick::StickForce(ControllerIdentifier, JoystickIdentifier))" ] } ] @@ -3241,8 +3241,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Left\"", "" ] @@ -3269,8 +3269,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Right\"", "" ] @@ -3297,8 +3297,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Up\"", "" ] @@ -3325,8 +3325,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Down\"", "" ] @@ -3370,8 +3370,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Left\"", "" ] @@ -3398,8 +3398,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Right\"", "" ] @@ -3426,8 +3426,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Up\"", "" ] @@ -3454,8 +3454,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"Down\"", "" ] @@ -3482,8 +3482,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"UpLeft\"", "" ] @@ -3519,8 +3519,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"UpRight\"", "" ] @@ -3556,8 +3556,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"DownLeft\"", "" ] @@ -3593,8 +3593,8 @@ }, "parameters": [ "", - "Object.Behavior::PropertyControllerIdentifier()", - "Object.Behavior::PropertyJoystickIdentifier()", + "ControllerIdentifier", + "JoystickIdentifier", "\"DownRight\"", "" ] @@ -4425,7 +4425,7 @@ "Border", "MultitouchJoystick", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } @@ -4497,7 +4497,7 @@ "Border", "MultitouchJoystick", "=", - "GetArgumentAsString(\"Value\")", + "Value", "" ] } @@ -4569,7 +4569,7 @@ "Border", "MultitouchJoystick", "=", - "GetArgumentAsNumber(\"Value\")", + "Value", "" ] } diff --git a/extensions/reviewed/SpriteSheet.json b/extensions/reviewed/SpriteSheet.json index cda847c9..f0b48395 100644 --- a/extensions/reviewed/SpriteSheet.json +++ b/extensions/reviewed/SpriteSheet.json @@ -9,7 +9,7 @@ "name": "SpriteSheet", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/google-spreadsheet.svg", "shortDescription": "Animate a tiled sprite from a sprite sheet.", - "version": "1.0.0", + "version": "1.0.1", "tags": [ "sprite", "sheet", @@ -126,7 +126,7 @@ "parameters": [ "Object", "\"__SpriteSheet_Animation\"", - "Object.Behavior::PropertyAnimationSpeed()" + "AnimationSpeed" ], "subInstructions": [] } @@ -140,7 +140,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyCurrentAnimationFrame() + 1", + "CurrentAnimationFrame + 1", "" ], "subInstructions": [] @@ -204,7 +204,7 @@ "value": "JSONToObjectVariableStructure" }, "parameters": [ - "Object.Behavior::PropertyJSON()", + "JSON", "Object", "__SpriteSheet_data" ], @@ -260,7 +260,7 @@ "parameters": [ "Object", "=", - "Object.Variable(__SpriteSheet_data.frames[Object.Behavior::PropertyCurrentFrame()].frame.x)" + "Object.Variable(__SpriteSheet_data.frames[CurrentFrame].frame.x)" ], "subInstructions": [] }, @@ -272,7 +272,7 @@ "parameters": [ "Object", "=", - "Object.Variable(__SpriteSheet_data.frames[Object.Behavior::PropertyCurrentFrame()].frame.y)" + "Object.Variable(__SpriteSheet_data.frames[CurrentFrame].frame.y)" ], "subInstructions": [] }, @@ -284,7 +284,7 @@ "parameters": [ "Object", "=", - "Object.Variable(__SpriteSheet_data.frames[Object.Behavior::PropertyCurrentFrame()].frame.h)" + "Object.Variable(__SpriteSheet_data.frames[CurrentFrame].frame.h)" ], "subInstructions": [] }, @@ -296,7 +296,7 @@ "parameters": [ "Object", "=", - "Object.Variable(__SpriteSheet_data.frames[Object.Behavior::PropertyCurrentFrame()].frame.w)" + "Object.Variable(__SpriteSheet_data.frames[CurrentFrame].frame.w)" ], "subInstructions": [] } @@ -351,7 +351,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"frame\")" + "frame" ], "subInstructions": [] } @@ -369,9 +369,9 @@ "value": "Egal" }, "parameters": [ - "Object.Behavior::PropertyCurrentAnimationFrame()", + "CurrentAnimationFrame", ">", - "Object.VariableChildCount(__SpriteSheet_data.animations[Object.Behavior::PropertyCurrentAnimation()]) - 1" + "Object.VariableChildCount(__SpriteSheet_data.animations[CurrentAnimation]) - 1" ], "subInstructions": [] } @@ -408,7 +408,7 @@ "Object", "Behavior", "=", - "Object.VariableString(__SpriteSheet_data.animations[Object.Behavior::PropertyCurrentAnimation()][Object.Behavior::PropertyCurrentAnimationFrame()])" + "Object.VariableString(__SpriteSheet_data.animations[CurrentAnimation][CurrentAnimationFrame])" ], "subInstructions": [] }, @@ -485,7 +485,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"JSON\")" + "JSON" ], "subInstructions": [] }, @@ -562,7 +562,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"frame\")" + "frame" ], "subInstructions": [] }, @@ -674,7 +674,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"AnimationName\")" + "AnimationName" ], "subInstructions": [] }, @@ -749,7 +749,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertyCurrentAnimation()" + "CurrentAnimation" ], "subInstructions": [] } @@ -801,7 +801,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertyCurrentFrame()" + "CurrentFrame" ], "subInstructions": [] } @@ -1017,7 +1017,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"frame\")" + "frame" ], "subInstructions": [] } @@ -1038,7 +1038,7 @@ "Object", "Behavior", ">=", - "(Object.Behavior::PropertyLastFrame()-Object.Behavior::PropertyFirstFrame())+1" + "(LastFrame-FirstFrame)+1" ], "subInstructions": [] } @@ -1074,7 +1074,7 @@ "parameters": [ "Object", "=", - "((Object.Behavior::PropertyAnimationColumn())*(Object.Behavior::PropertySpriteY()))+(((Object.Behavior::PropertyAnimationColumn())*Object.Behavior::PropertySpriteSpacing())+Object.Behavior::PropertySpriteSpacing())" + "((AnimationColumn)*(SpriteY))+(((AnimationColumn)*SpriteSpacing)+SpriteSpacing)" ], "subInstructions": [] }, @@ -1086,7 +1086,7 @@ "parameters": [ "Object", "=", - "\n((Object.Behavior::PropertyFirstFrame()+Object.Behavior::PropertyCurrentFrame())*Object.Behavior::PropertySpriteX())+\n\n\n(((Object.Behavior::PropertyFirstFrame()+Object.Behavior::PropertyCurrentFrame())*Object.Behavior::PropertySpriteSpacing())+Object.Behavior::PropertySpriteSpacing())\n" + "\n((FirstFrame+CurrentFrame)*SpriteX)+\n\n\n(((FirstFrame+CurrentFrame)*SpriteSpacing)+SpriteSpacing)\n" ], "subInstructions": [] } @@ -1178,7 +1178,7 @@ "parameters": [ "Object", "\"__SpriteSheet_Animation\"", - "Object.Behavior::PropertyAnimationSpeed()" + "AnimationSpeed" ], "subInstructions": [] } @@ -1192,7 +1192,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyCurrentFrame() + 1", + "CurrentFrame + 1", "" ], "subInstructions": [] @@ -1259,7 +1259,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"AnimationColumn\")" + "AnimationColumn" ], "subInstructions": [] }, @@ -1272,7 +1272,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"AnimationSpeed\")" + "AnimationSpeed" ], "subInstructions": [] }, @@ -1285,7 +1285,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"FirstFrame\")" + "FirstFrame" ], "subInstructions": [] }, @@ -1298,7 +1298,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"LastFrame\")" + "LastFrame" ], "subInstructions": [] }, @@ -1425,7 +1425,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCurrentFrame()" + "CurrentFrame" ], "subInstructions": [] } @@ -1668,7 +1668,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"frame\")" + "frame" ], "subInstructions": [] } @@ -1689,7 +1689,7 @@ "Object", "Behavior", ">=", - "(Object.Behavior::PropertyLastFrame()-Object.Behavior::PropertyFirstFrame())+1" + "(LastFrame-FirstFrame)+1" ], "subInstructions": [] } @@ -1725,7 +1725,7 @@ "parameters": [ "Object", "=", - "((Object.Behavior::PropertyAnimationRow())*(Object.Behavior::PropertySpriteY()))+(((Object.Behavior::PropertyAnimationRow())*Object.Behavior::PropertySpriteSpacing())+Object.Behavior::PropertySpriteSpacing())" + "((AnimationRow)*(SpriteY))+(((AnimationRow)*SpriteSpacing)+SpriteSpacing)" ], "subInstructions": [] }, @@ -1737,7 +1737,7 @@ "parameters": [ "Object", "=", - "\n((Object.Behavior::PropertyFirstFrame()+Object.Behavior::PropertyCurrentFrame())*Object.Behavior::PropertySpriteX())+\n\n\n(((Object.Behavior::PropertyFirstFrame()+Object.Behavior::PropertyCurrentFrame())*Object.Behavior::PropertySpriteSpacing())+Object.Behavior::PropertySpriteSpacing())\n" + "\n((FirstFrame+CurrentFrame)*SpriteX)+\n\n\n(((FirstFrame+CurrentFrame)*SpriteSpacing)+SpriteSpacing)\n" ], "subInstructions": [] } @@ -1829,7 +1829,7 @@ "parameters": [ "Object", "\"__SpriteSheet_Animation\"", - "Object.Behavior::PropertyAnimationSpeed()" + "AnimationSpeed" ], "subInstructions": [] } @@ -1843,7 +1843,7 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyCurrentFrame() + 1", + "CurrentFrame + 1", "" ], "subInstructions": [] @@ -1910,7 +1910,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"AnimationRow\")" + "AnimationRow" ], "subInstructions": [] }, @@ -1923,7 +1923,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"AnimationSpeed\")" + "AnimationSpeed" ], "subInstructions": [] }, @@ -1936,7 +1936,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"FirstFrame\")" + "FirstFrame" ], "subInstructions": [] }, @@ -1949,7 +1949,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"LastFrame\")" + "LastFrame" ], "subInstructions": [] }, @@ -2076,7 +2076,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyCurrentFrame()" + "CurrentFrame" ], "subInstructions": [] } diff --git a/extensions/reviewed/SpriteToggleSwitch.json b/extensions/reviewed/SpriteToggleSwitch.json index e7cda07b..6c56a270 100644 --- a/extensions/reviewed/SpriteToggleSwitch.json +++ b/extensions/reviewed/SpriteToggleSwitch.json @@ -8,7 +8,7 @@ "name": "SpriteToggleSwitch", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Interface Elements/8d0cd8cd0c9318f4f6efde6ee6b4c192bd19306467f80c9970387a259300f895_Interface Elements_interface_ui_toggle_switch_on_off.svg", "shortDescription": "Toggle switch that users can click or touch.", - "version": "1.3.1", + "version": "1.3.2", "description": [ "Toggle switch that users can click or touch. The switch can be customized with sprites.", "", @@ -885,8 +885,8 @@ }, "parameters": [ "Object", - "TouchX(Object.Behavior::PropertyTouchId(), Object.Layer(), 0)", - "TouchY(Object.Behavior::PropertyTouchId(), Object.Layer(), 0)" + "TouchX(TouchId, Object.Layer(), 0)", + "TouchY(TouchId, Object.Layer(), 0)" ] } ], @@ -956,8 +956,8 @@ }, "parameters": [ "Object", - "TouchX(StartedTouchOrMouseId(Object.Behavior::PropertyIndex()), Object.Layer(), 0)", - "TouchY(StartedTouchOrMouseId(Object.Behavior::PropertyIndex()), Object.Layer(), 0)" + "TouchX(StartedTouchOrMouseId(Index), Object.Layer(), 0)", + "TouchY(StartedTouchOrMouseId(Index), Object.Layer(), 0)" ] } ], @@ -970,7 +970,7 @@ "Object", "Behavior", "=", - "StartedTouchOrMouseId(Object.Behavior::PropertyIndex())" + "StartedTouchOrMouseId(Index)" ] }, { @@ -1243,7 +1243,7 @@ }, "parameters": [ "", - "Object.Behavior::PropertyTouchId()" + "TouchId" ] } ], @@ -1781,7 +1781,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTouchId()" + "TouchId" ] } ] diff --git a/extensions/reviewed/StayOnScreen.json b/extensions/reviewed/StayOnScreen.json index 388e5f23..45f152e1 100644 --- a/extensions/reviewed/StayOnScreen.json +++ b/extensions/reviewed/StayOnScreen.json @@ -8,7 +8,7 @@ "name": "StayOnScreen", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/monitor-screenshot.svg", "shortDescription": "Move the object to keep it visible on the screen.", - "version": "1.0.1", + "version": "1.0.2", "description": [ "Force the object to stay visible on the screen by setting back its position inside the viewport of the camera.", "", @@ -54,7 +54,7 @@ "parameters": [ "Object", "+", - "max(0, CameraBorderLeft(Object.Layer()) + Object.Behavior::PropertyMarginLeft() - Object.BoundingBoxLeft())\n" + "max(0, CameraBorderLeft(Object.Layer()) + MarginLeft - Object.BoundingBoxLeft())\n" ] }, { @@ -64,7 +64,7 @@ "parameters": [ "Object", "+", - "min(0, CameraBorderRight(Object.Layer()) - Object.Behavior::PropertyMarginRight() - Object.BoundingBoxRight())\n" + "min(0, CameraBorderRight(Object.Layer()) - MarginRight - Object.BoundingBoxRight())\n" ] }, { @@ -74,7 +74,7 @@ "parameters": [ "Object", "+", - "max(0, CameraBorderTop(Object.Layer()) + Object.Behavior::PropertyMarginTop() - Object.BoundingBoxTop())\n" + "max(0, CameraBorderTop(Object.Layer()) + MarginTop - Object.BoundingBoxTop())\n" ] }, { @@ -84,7 +84,7 @@ "parameters": [ "Object", "+", - "min(0, CameraBorderBottom(Object.Layer()) - Object.Behavior::PropertyMarginBottom() - Object.BoundingBoxBottom())\n" + "min(0, CameraBorderBottom(Object.Layer()) - MarginBottom - Object.BoundingBoxBottom())\n" ] } ] @@ -122,7 +122,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMarginTop()" + "MarginTop" ] } ] @@ -165,7 +165,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -203,7 +203,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMarginBottom()" + "MarginBottom" ] } ] @@ -246,7 +246,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -284,7 +284,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMarginLeft()" + "MarginLeft" ] } ] @@ -327,7 +327,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] @@ -365,7 +365,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyMarginRight()" + "MarginRight" ] } ] @@ -408,7 +408,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ] } ] diff --git a/extensions/reviewed/TextEntryConsole.json b/extensions/reviewed/TextEntryConsole.json index 15453434..a136a519 100644 --- a/extensions/reviewed/TextEntryConsole.json +++ b/extensions/reviewed/TextEntryConsole.json @@ -9,7 +9,7 @@ "name": "TextEntryConsole", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/console.svg", "shortDescription": "A console behavior that allows parsing simple commands inputed via a Text Entry object.", - "version": "1.0.0", + "version": "1.0.1", "tags": [ "command", "console" @@ -144,7 +144,7 @@ }, "parameters": [ "Object", - "__Commands_.Triggered[GetArgumentAsString(\"cmd\")]", + "__Commands_.Triggered[cmd]", "True" ], "subInstructions": [] @@ -158,7 +158,7 @@ }, "parameters": [ "Object", - "__Commands_.Triggered[GetArgumentAsString(\"cmd\")]", + "__Commands_.Triggered[cmd]", "" ], "subInstructions": [] @@ -172,7 +172,7 @@ "Object", "__Commands_.CurrentCommand", "=", - "GetArgumentAsString(\"cmd\")" + "cmd" ], "subInstructions": [] }, @@ -244,7 +244,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.VariableString(__Commands_.Args[Object.VariableString(__Commands_.CurrentCommand)][GetArgumentAsNumber(\"i\")])" + "Object.VariableString(__Commands_.Args[Object.VariableString(__Commands_.CurrentCommand)][i])" ], "subInstructions": [] } diff --git a/extensions/reviewed/ThirdPersonCamera.json b/extensions/reviewed/ThirdPersonCamera.json index 0fa29041..5f5360c1 100644 --- a/extensions/reviewed/ThirdPersonCamera.json +++ b/extensions/reviewed/ThirdPersonCamera.json @@ -8,7 +8,7 @@ "name": "ThirdPersonCamera", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Virtual Reality/94e95d2c318e1f3dc7151a351024e13c574e1e44669c6696aa107d60230073f6_Virtual Reality_3d_vision_eye_vr.svg", "shortDescription": "Move the camera to look at an object from a given distance.", - "version": "1.4.0", + "version": "1.4.1", "description": [ "Move the camera to look at an object from a given distance with a rotation and an elevation angles.", "", @@ -51,8 +51,8 @@ "parameters": [ "", "=", - "GetArgumentAsNumber(\"PositionX\") + GetArgumentAsNumber(\"Distance\") * cos(ToRad(GetArgumentAsNumber(\"RotationAngle\") + 90)) * cos(ToRad(GetArgumentAsNumber(\"ElevationAngle\")))", - "GetArgumentAsString(\"Layer\")", + "PositionX + Distance * cos(ToRad(RotationAngle + 90)) * cos(ToRad(ElevationAngle))", + "Layer", "" ] }, @@ -63,8 +63,8 @@ "parameters": [ "", "=", - "GetArgumentAsNumber(\"PositionY\") + GetArgumentAsNumber(\"Distance\") * sin(ToRad(GetArgumentAsNumber(\"RotationAngle\") + 90)) * cos(ToRad(GetArgumentAsNumber(\"ElevationAngle\")))", - "GetArgumentAsString(\"Layer\")", + "PositionY + Distance * sin(ToRad(RotationAngle + 90)) * cos(ToRad(ElevationAngle))", + "Layer", "" ] }, @@ -75,8 +75,8 @@ "parameters": [ "", "=", - "GetArgumentAsNumber(\"Distance\") * sin(ToRad(GetArgumentAsNumber(\"ElevationAngle\")))", - "GetArgumentAsString(\"Layer\")", + "Distance * sin(ToRad(ElevationAngle))", + "Layer", "" ] }, @@ -86,10 +86,10 @@ }, "parameters": [ "", - "GetArgumentAsNumber(\"PositionX\")", - "GetArgumentAsNumber(\"PositionY\")", + "PositionX", + "PositionY", "0", - "GetArgumentAsString(\"Layer\")", + "Layer", "", "" ] @@ -151,10 +151,10 @@ "", "Object.CenterX()", "Object.CenterY()", - "GetArgumentAsNumber(\"Distance\")", - "GetArgumentAsNumber(\"RotationAngle\")", - "GetArgumentAsNumber(\"ElevationAngle\")", - "GetArgumentAsString(\"Layer\")", + "Distance", + "RotationAngle", + "ElevationAngle", + "Layer", "" ] } @@ -577,7 +577,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyRotationHalfwayDuration()", + "RotationHalfwayDuration", "" ] }, @@ -589,7 +589,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyTranslationZHalfwayDuration()", + "TranslationZHalfwayDuration", "" ] } @@ -887,7 +887,7 @@ "parameters": [ "CameraAngle", "=", - "Object.Angle() + 90 + (AngleDifference(CameraAngle(Object.Layer(), 0), (Object.Angle() + 90))) * exp(TimeDelta() * Object.Behavior::PropertyRotationLogSpeed()) + RotationAngleOffset" + "Object.Angle() + 90 + (AngleDifference(CameraAngle(Object.Layer(), 0), (Object.Angle() + 90))) * exp(TimeDelta() * RotationLogSpeed) + RotationAngleOffset" ] }, { diff --git a/extensions/reviewed/ToggleSwitch.json b/extensions/reviewed/ToggleSwitch.json index 3d71634f..c0ed6c09 100644 --- a/extensions/reviewed/ToggleSwitch.json +++ b/extensions/reviewed/ToggleSwitch.json @@ -9,7 +9,7 @@ "name": "ToggleSwitch", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Interface Elements/Interface Elements_interface_ui_toggle_switch.svg", "shortDescription": "Toggle switch that users can click or touch.", - "version": "0.1.5", + "version": "0.1.6", "origin": { "identifier": "ToggleSwitch", "name": "gdevelop-extension-store" @@ -78,7 +78,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyTrackHeight() / 2" + "TrackHeight / 2" ], "subInstructions": [] } @@ -93,7 +93,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyThumbRadius() * 2" + "ThumbRadius * 2" ], "subInstructions": [] } @@ -112,7 +112,7 @@ "Object", "Behavior", ">", - "Object.Behavior::PropertyTrackWidth()/2" + "TrackWidth/2" ], "subInstructions": [] } @@ -127,7 +127,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyTrackWidth()/2" + "TrackWidth/2" ], "subInstructions": [] } @@ -146,7 +146,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyThumbRadius() * 1.5" + "ThumbRadius * 1.5" ], "subInstructions": [] } @@ -160,8 +160,8 @@ "parameters": [ "Object", "Behavior", - "Object.Behavior::PropertyThumbRadius() * 1.5", - "Object.Behavior::PropertyTrackWidth()/2" + "ThumbRadius * 1.5", + "TrackWidth/2" ], "subInstructions": [] } @@ -180,7 +180,7 @@ "Object", "Behavior", ">", - "Object.Behavior::PropertyThumbRadius() / 3" + "ThumbRadius / 3" ], "subInstructions": [] } @@ -195,7 +195,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyThumbRadius() / 3" + "ThumbRadius / 3" ], "subInstructions": [] } @@ -214,7 +214,7 @@ "Object", "Behavior", ">", - "Object.Behavior::PropertyThumbRadius() / 3" + "ThumbRadius / 3" ], "subInstructions": [] } @@ -229,7 +229,7 @@ "Object", "Behavior", "=", - "Object.Behavior::PropertyThumbRadius() / 3" + "ThumbRadius / 3" ], "subInstructions": [] } @@ -274,7 +274,7 @@ "Object", "Behavior", "=", - "lerp(Object.Behavior::PropertyThumbOffset(),0,0.25)" + "lerp(ThumbOffset,0,0.25)" ], "subInstructions": [] } @@ -340,7 +340,7 @@ "Object", "Behavior", "=", - "lerp(Object.Behavior::PropertyThumbOffset(),Object.Behavior::PropertyTrackWidth(),0.25)" + "lerp(ThumbOffset,TrackWidth,0.25)" ], "subInstructions": [] } @@ -358,7 +358,7 @@ "Object", "Behavior", "<", - "Object.Behavior::PropertyTrackWidth() - 0.01" + "TrackWidth - 0.01" ], "subInstructions": [] } @@ -536,7 +536,7 @@ "parameters": [ "", ">=", - "Object.X() - max(Object.Behavior::PropertyHaloRadius(),Object.Behavior::PropertyThumbRadius())", + "Object.X() - max(HaloRadius,ThumbRadius)", "Object.Layer()", "0" ], @@ -550,7 +550,7 @@ "parameters": [ "", "<=", - "Object.X() + Object.Behavior::PropertyTrackWidth() + max(Object.Behavior::PropertyHaloRadius(),Object.Behavior::PropertyThumbRadius())", + "Object.X() + TrackWidth + max(HaloRadius,ThumbRadius)", "Object.Layer()", "0" ], @@ -564,7 +564,7 @@ "parameters": [ "", ">=", - "Object.Y() - (max(Object.Behavior::PropertyHaloRadius(),Object.Behavior::PropertyThumbRadius())*2 - Object.Behavior::PropertyTrackHeight())/2", + "Object.Y() - (max(HaloRadius,ThumbRadius)*2 - TrackHeight)/2", "Object.Layer()", "0" ], @@ -578,7 +578,7 @@ "parameters": [ "", "<=", - "Object.Y() + (max(Object.Behavior::PropertyHaloRadius(),Object.Behavior::PropertyThumbRadius())*2 + Object.Behavior::PropertyTrackHeight())/2", + "Object.Y() + (max(HaloRadius,ThumbRadius)*2 + TrackHeight)/2", "Object.Layer()", "0" ], @@ -929,7 +929,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyActiveThumbColor()" + "ActiveThumbColor" ], "subInstructions": [] } @@ -961,7 +961,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyInactiveTrackColor()" + "InactiveTrackColor" ], "subInstructions": [] } @@ -980,7 +980,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyInactiveTrackOpacity()" + "InactiveTrackOpacity" ], "subInstructions": [] }, @@ -1023,9 +1023,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyTrackWidth()", - "Object.Behavior::PropertyTrackHeight()/2", - "Object.Behavior::PropertyTrackHeight()/2", + "TrackWidth", + "TrackHeight/2", + "TrackHeight/2", "270", "90", "", @@ -1060,10 +1060,10 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset()", + "ThumbOffset", "0", - "Object.Behavior::PropertyTrackWidth()", - "Object.Behavior::PropertyTrackHeight()" + "TrackWidth", + "TrackHeight" ], "subInstructions": [] } @@ -1108,7 +1108,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyActiveThumbColor()" + "ActiveThumbColor" ], "subInstructions": [] } @@ -1140,7 +1140,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyActiveTrackColor()" + "ActiveTrackColor" ], "subInstructions": [] } @@ -1159,7 +1159,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyActiveTrackOpacity()" + "ActiveTrackOpacity" ], "subInstructions": [] } @@ -1191,8 +1191,8 @@ "parameters": [ "Object", "0", - "Object.Behavior::PropertyTrackHeight()/2", - "Object.Behavior::PropertyTrackHeight()/2", + "TrackHeight/2", + "TrackHeight/2", "90", "270", "", @@ -1229,8 +1229,8 @@ "Object", "0", "0", - "Object.Behavior::PropertyThumbOffset()", - "Object.Behavior::PropertyTrackHeight()" + "ThumbOffset", + "TrackHeight" ], "subInstructions": [] } @@ -1274,7 +1274,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyHaloOpacityHover()" + "HaloOpacityHover" ], "subInstructions": [] }, @@ -1285,7 +1285,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyActiveThumbColor()" + "ActiveThumbColor" ], "subInstructions": [] }, @@ -1308,9 +1308,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset()", - "Object.Behavior::PropertyTrackHeight()/2", - "Object.Behavior::PropertyHaloRadius()" + "ThumbOffset", + "TrackHeight/2", + "HaloRadius" ], "subInstructions": [] } @@ -1353,7 +1353,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyActiveThumbColor()" + "ActiveThumbColor" ], "subInstructions": [] }, @@ -1365,7 +1365,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyHaloOpacityPressed()" + "HaloOpacityPressed" ], "subInstructions": [] }, @@ -1388,9 +1388,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset()", - "Object.Behavior::PropertyTrackHeight()/2", - "Object.Behavior::PropertyHaloRadius()" + "ThumbOffset", + "TrackHeight/2", + "HaloRadius" ], "subInstructions": [] } @@ -1433,7 +1433,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyThumbShadowOpacity()" + "ThumbShadowOpacity" ], "subInstructions": [] } @@ -1451,9 +1451,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset() + Object.Behavior::PropertyThumbShadowOffsetX()", - "Object.Behavior::PropertyTrackHeight() / 2 + Object.Behavior::ThumbShadowOffsetY()", - "Object.Behavior::PropertyThumbRadius()" + "ThumbOffset + ThumbShadowOffsetX", + "TrackHeight / 2 + Object.Behavior::ThumbShadowOffsetY()", + "ThumbRadius" ], "subInstructions": [] } @@ -1483,7 +1483,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyThumbShadowOpacity()/2" + "ThumbShadowOpacity/2" ], "subInstructions": [] } @@ -1501,9 +1501,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset() + Object.Behavior::PropertyThumbShadowOffsetX()/4", - "Object.Behavior::PropertyTrackHeight() / 2 + Object.Behavior::ThumbShadowOffsetY()/4", - "Object.Behavior::PropertyThumbRadius()" + "ThumbOffset + ThumbShadowOffsetX/4", + "TrackHeight / 2 + Object.Behavior::ThumbShadowOffsetY()/4", + "ThumbRadius" ], "subInstructions": [] } @@ -1559,7 +1559,7 @@ "parameters": [ "Object", "=", - "Object.Behavior::PropertyThumbOpacity()" + "ThumbOpacity" ], "subInstructions": [] } @@ -1589,7 +1589,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyActiveThumbColor()" + "ActiveThumbColor" ], "subInstructions": [] }, @@ -1600,7 +1600,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyActiveTrackColor()" + "ActiveTrackColor" ], "subInstructions": [] }, @@ -1642,7 +1642,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyInactiveThumbColor()" + "InactiveThumbColor" ], "subInstructions": [] }, @@ -1653,7 +1653,7 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyInactiveTrackColor()" + "InactiveTrackColor" ], "subInstructions": [] }, @@ -1696,9 +1696,9 @@ }, "parameters": [ "Object", - "Object.Behavior::PropertyThumbOffset()", - "Object.Behavior::PropertyTrackHeight() / 2", - "Object.Behavior::PropertyThumbRadius()" + "ThumbOffset", + "TrackHeight / 2", + "ThumbRadius" ], "subInstructions": [] } @@ -1822,7 +1822,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -1898,7 +1898,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -1974,7 +1974,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2050,7 +2050,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2126,7 +2126,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2202,7 +2202,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2278,7 +2278,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2354,7 +2354,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2430,7 +2430,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2506,7 +2506,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2582,7 +2582,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2658,7 +2658,7 @@ "Object", "Behavior", "=", - "GetArgumentAsNumber(\"Value\")" + "Value" ], "subInstructions": [] }, @@ -2734,7 +2734,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Color\")" + "Color" ], "subInstructions": [] }, @@ -2810,7 +2810,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Color\")" + "Color" ], "subInstructions": [] }, @@ -2886,7 +2886,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Color\")" + "Color" ], "subInstructions": [] }, @@ -2962,7 +2962,7 @@ "Object", "Behavior", "=", - "GetArgumentAsString(\"Color\")" + "Color" ], "subInstructions": [] }, @@ -3537,7 +3537,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTrackWidth()" + "TrackWidth" ], "subInstructions": [] } @@ -3588,7 +3588,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyTrackHeight()" + "TrackHeight" ], "subInstructions": [] } @@ -3639,7 +3639,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyThumbShadowOffsetY()" + "ThumbShadowOffsetY" ], "subInstructions": [] } @@ -3690,7 +3690,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyThumbShadowOffsetX()" + "ThumbShadowOffsetX" ], "subInstructions": [] } @@ -3741,7 +3741,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyThumbShadowOpacity()" + "ThumbShadowOpacity" ], "subInstructions": [] } @@ -3792,7 +3792,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyThumbOpacity()" + "ThumbOpacity" ], "subInstructions": [] } @@ -3843,7 +3843,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyActiveTrackOpacity()" + "ActiveTrackOpacity" ], "subInstructions": [] } @@ -3894,7 +3894,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyInactiveTrackOpacity()" + "InactiveTrackOpacity" ], "subInstructions": [] } @@ -3945,7 +3945,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHaloOpacityPressed()" + "HaloOpacityPressed" ], "subInstructions": [] } @@ -3996,7 +3996,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHaloOpacityHover()" + "HaloOpacityHover" ], "subInstructions": [] } @@ -4047,7 +4047,7 @@ "value": "SetReturnNumber" }, "parameters": [ - "Object.Behavior::PropertyHaloRadius()" + "HaloRadius" ], "subInstructions": [] } @@ -4098,7 +4098,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertyActiveTrackColor()" + "ActiveTrackColor" ], "subInstructions": [] } @@ -4149,7 +4149,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertyInactiveTrackColor()" + "InactiveTrackColor" ], "subInstructions": [] } @@ -4200,7 +4200,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertyActiveThumbColor()" + "ActiveThumbColor" ], "subInstructions": [] } @@ -4435,7 +4435,7 @@ "value": "SetReturnString" }, "parameters": [ - "Object.Behavior::PropertyInactiveThumbColor()" + "InactiveThumbColor" ], "subInstructions": [] } diff --git a/extensions/reviewed/TravelToRandomPositions.json b/extensions/reviewed/TravelToRandomPositions.json index a42c3a5c..69e44995 100644 --- a/extensions/reviewed/TravelToRandomPositions.json +++ b/extensions/reviewed/TravelToRandomPositions.json @@ -9,7 +9,7 @@ "name": "TravelToRandomPositions", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/axis-arrow.svg", "shortDescription": "Make object travel to random positions (with the pathfinding behavior).", - "version": "0.4.0", + "version": "0.4.1", "tags": [ "random", "move", @@ -109,7 +109,7 @@ "Object", "__TravelToRandomPositions.Min", "=", - "abs(GetArgumentAsNumber(\"MinDistanceBetweenPositions\"))" + "abs(MinDistanceBetweenPositions)" ], "subInstructions": [] } @@ -167,7 +167,7 @@ "Object", "__TravelToRandomPositions.Max", "=", - "abs(GetArgumentAsNumber(\"MaxDistanceBetweenPositions\"))" + "abs(MaxDistanceBetweenPositions)" ], "subInstructions": [] } @@ -225,7 +225,7 @@ "Object", "__TravelToRandomPositions.Direction", "=", - "GetArgumentAsNumber(\"Direction\")" + "Direction" ], "subInstructions": [] } @@ -247,7 +247,7 @@ "Object", "__TravelToRandomPositions.DirectionBias", "=", - "GetArgumentAsNumber(\"DirectionBias\")" + "DirectionBias" ], "subInstructions": [] } diff --git a/extensions/reviewed/Turret.json b/extensions/reviewed/Turret.json index fd5e0e90..d43efe9f 100644 --- a/extensions/reviewed/Turret.json +++ b/extensions/reviewed/Turret.json @@ -8,7 +8,7 @@ "name": "Turret", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Cleaning/Cleaning_cleaning_clean_plunger.svg", "shortDescription": "A turret movement with customizable speed, acceleration and stop angles.", - "version": "1.1.1", + "version": "1.1.2", "description": [ "With this behavior, you can make an object rotate like a turret toward a position.", "It may be used with the **Bullet** extension to fire objects." @@ -669,8 +669,7 @@ "parameters": [ "Object", "Behavior", - "(AngleMin + AngleMax) / 2", - "(mod(Object.Behavior::PropertyAngleMin(), 360) + mod(Object.Behavior::PropertyAngleMax(), 360)) / 2" + "(AngleMin + AngleMax) / 2" ] } ] @@ -750,8 +749,7 @@ "parameters": [ "Object", "Behavior", - "mod(ToDeg(atan2(TargetY - Object.Y(), TargetX - Object.X())) - OriginAngle, 360) + OriginAngle", - "mod(ToDeg(atan2(GetArgumentAsNumber(\"TargetY\") - Object.Y(), GetArgumentAsNumber(\"TargetX\") - Object.X())) - Object.Behavior::PropertyOriginAngle(), 360) + Object.Behavior::PropertyOriginAngle()" + "mod(ToDeg(atan2(TargetY - Object.Y(), TargetX - Object.X())) - OriginAngle, 360) + OriginAngle" ] } ]