diff --git a/examples/leaderboards/leaderboards.json b/examples/leaderboards/leaderboards.json index ef0680c86..4fc4522f2 100644 --- a/examples/leaderboards/leaderboards.json +++ b/examples/leaderboards/leaderboards.json @@ -15,6 +15,7 @@ "projectUuid": "3f0d3edd-568a-4c13-bb01-42e5f4191f73", "scaleMode": "linear", "sizeOnStartupMode": "", + "templateSlug": "", "useExternalSourceFiles": false, "version": "1.0.0", "name": "Leaderboard example", @@ -205,6 +206,7 @@ "name": "assets\\Audio\\Bell Guitar Gliss Up 01.aac", "preloadAsMusic": false, "preloadAsSound": true, + "preloadInCache": false, "userAdded": true }, { @@ -214,6 +216,7 @@ "name": "assets\\Audio\\G4F SFX11 - ExoInterface - Cursor Click 25.aac", "preloadAsMusic": false, "preloadAsSound": true, + "preloadInCache": false, "userAdded": true }, { @@ -223,6 +226,7 @@ "name": "assets\\Audio\\10 FX3352 Mouth Pop 2.aac", "preloadAsMusic": false, "preloadAsSound": true, + "preloadInCache": false, "userAdded": false }, { @@ -232,6 +236,7 @@ "name": "LeaderboardMusic.mp3", "preloadAsMusic": false, "preloadAsSound": true, + "preloadInCache": false, "userAdded": true }, { @@ -241,6 +246,7 @@ "name": "assets\\Audio\\ResetTimer.aac", "preloadAsMusic": false, "preloadAsSound": true, + "preloadInCache": false, "userAdded": true }, { @@ -250,6 +256,7 @@ "name": "assets\\Audio\\SceneStartSound.aac", "preloadAsMusic": false, "preloadAsSound": true, + "preloadInCache": false, "userAdded": true } ], @@ -275,9 +282,6 @@ "disableInputWhenNotFocused": true, "mangledName": "PickGameMode", "name": "PickGameMode", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 0, "standardSortMethod": true, "stopSoundsOnStartup": true, @@ -330,7 +334,6 @@ "customSize": true, "height": 77, "layer": "UI", - "locked": false, "name": "Instructions", "persistentUuid": "1ce95ba9-579a-4b51-9b9a-6c88038f21bd", "width": 266, @@ -346,7 +349,6 @@ "customSize": false, "height": 0, "layer": "UI", - "locked": false, "name": "Speedrun_Text", "persistentUuid": "f8051333-6e7b-46bd-86fd-3e5653145214", "width": 0, @@ -362,7 +364,6 @@ "customSize": false, "height": 0, "layer": "UI", - "locked": false, "name": "Highscores_Text", "persistentUuid": "3d1ea909-61b6-4489-b1a7-29840218d66e", "width": 0, @@ -378,7 +379,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "ViewHighscores_Text", "persistentUuid": "f3b79ff4-8d0b-4f0f-99d5-d8a95d84effe", "width": 0, @@ -394,7 +394,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "ViewFastestTimes_Text", "persistentUuid": "6ef0f1b7-428c-4cd7-a27a-da9f52f3fdd7", "width": 0, @@ -410,7 +409,6 @@ "customSize": false, "height": 149, "layer": "", - "locked": false, "name": "Countdown", "persistentUuid": "afb631d4-9607-42a5-ba22-b57a0473f360", "width": 161, @@ -424,6 +422,7 @@ ], "objects": [ { + "assetStoreId": "", "bold": false, "italic": false, "name": "Instructions", @@ -444,6 +443,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Speedrun_Text", @@ -490,6 +490,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Highscores_Text", @@ -536,6 +537,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "ViewHighscores_Text", @@ -569,6 +571,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "ViewFastestTimes_Text", @@ -602,6 +605,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Countdown", @@ -642,19 +646,16 @@ "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlaySoundCanal" }, "parameters": [ @@ -664,68 +665,56 @@ "yes", "30", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextObject::SetTextAlignment" }, "parameters": [ "Buttons", "\"center\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "CountdownTimer", "=", "3" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "Countdown" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarGlobal" }, "parameters": [ "Score", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarGlobal" }, "parameters": [ "SpeedrunTime", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -744,30 +733,25 @@ "conditions": [ { "type": { - "inverted": false, "value": "MouseButtonReleased" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Visible" }, "parameters": [ "Buttons" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -776,8 +760,7 @@ "", "50", "1" - ], - "subInstructions": [] + ] } ], "events": [ @@ -786,7 +769,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -794,32 +776,27 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarGlobalTxt" }, "parameters": [ "GameMode", "=", "\"Highscore\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -827,25 +804,21 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarGlobalTxt" }, "parameters": [ "GameMode", "=", "\"Speedrun\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -865,14 +838,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -880,12 +851,10 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -893,8 +862,7 @@ "", "", "" - ], - "subInstructions": [] + ] } ] } @@ -902,72 +870,59 @@ "actions": [ { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "Countdown", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AjoutObjConcern" }, "parameters": [ "Buttons", "Buttons" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "AjoutObjConcern" }, "parameters": [ "Buttons", "Instructions" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "Buttons" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "Instructions" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Countdown", "=", "\"3\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySoundCanal" }, "parameters": [ @@ -977,12 +932,10 @@ "no", "50", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ShakeObject::ShakeObject_PositionAngle::ShakeObject_PositionAngle" }, "parameters": [ @@ -995,34 +948,28 @@ "0.15", "yes", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Wait" }, "parameters": [ "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Countdown", "=", "\"2\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySoundCanal" }, "parameters": [ @@ -1032,12 +979,10 @@ "no", "50", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ShakeObject::ShakeObject_PositionAngle::ShakeObject_PositionAngle" }, "parameters": [ @@ -1050,34 +995,28 @@ "0.15", "yes", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Wait" }, "parameters": [ "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Countdown", "=", "\"1\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySoundCanal" }, "parameters": [ @@ -1087,12 +1026,10 @@ "no", "50", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ShakeObject::ShakeObject_PositionAngle::ShakeObject_PositionAngle" }, "parameters": [ @@ -1105,33 +1042,27 @@ "0.15", "yes", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Wait" }, "parameters": [ "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "GlobalVariableString(GameMode)+\"Game\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -1151,7 +1082,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -1159,43 +1089,36 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Leaderboards::DisplayLeaderboard" }, "parameters": [ "", "\"9bf06eed-adfe-4599-8276-ff70df7dc845\"", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PushScene" }, "parameters": [ "", "\"LeaderboardBackground\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -1203,36 +1126,30 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Leaderboards::DisplayLeaderboard" }, "parameters": [ "", "\"0d02909b-93c5-4c76-bdf4-d33f7addd4bd\"", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PushScene" }, "parameters": [ "", "\"LeaderboardBackground\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -1274,30 +1191,25 @@ "actions": [ { "type": { - "inverted": false, "value": "SetCenterX" }, "parameters": [ "CenteredObjects", "=", "CameraX(\"UI\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SetCenterY" }, "parameters": [ "CenteredObjects", "=", "CameraY(\"UI\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -1354,9 +1266,6 @@ "disableInputWhenNotFocused": true, "mangledName": "HighscoreGame", "name": "HighscoreGame", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 0, "standardSortMethod": true, "stopSoundsOnStartup": true, @@ -1415,7 +1324,6 @@ "customSize": true, "height": 32, "layer": "UI", - "locked": false, "name": "Instructions", "persistentUuid": "1ce95ba9-579a-4b51-9b9a-6c88038f21bd", "width": 320, @@ -1431,7 +1339,6 @@ "customSize": false, "height": 0, "layer": "UI", - "locked": false, "name": "Score_Text", "persistentUuid": "9d7ad27b-6e3b-487a-bf44-2e0340830a44", "width": 0, @@ -1447,7 +1354,6 @@ "customSize": false, "height": 102, "layer": "UI", - "locked": false, "name": "SubmitScore_Text", "persistentUuid": "b140927e-bf6b-41f0-b61e-5b61c148128c", "width": 255, @@ -1463,7 +1369,6 @@ "customSize": false, "height": 0, "layer": "UI", - "locked": false, "name": "TimeLeft_Text", "persistentUuid": "2dc1a2fb-3f8b-4a30-b7bc-2abaeb7e12bf", "width": 0, @@ -1477,6 +1382,7 @@ ], "objects": [ { + "assetStoreId": "", "bold": false, "italic": false, "name": "Instructions", @@ -1497,6 +1403,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "TimeLeft_Text", @@ -1517,6 +1424,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Score_Text", @@ -1537,6 +1445,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "SubmitScore_Text", @@ -1570,6 +1479,7 @@ } }, { + "assetStoreId": "", "name": "RedHero", "tags": "", "type": "Sprite", @@ -1757,40 +1667,33 @@ "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TextObject::SetTextAlignment" }, "parameters": [ "SubmitScore_Text", "\"center\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "Buttons" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySoundCanal" }, "parameters": [ @@ -1800,35 +1703,29 @@ "yes", "30", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "GameDuration", "=", "15" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ResetTimer" }, "parameters": [ "", "\"PlayTimer\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -1837,11 +1734,9 @@ "", "30", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -1873,7 +1768,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "CompareTimer" }, "parameters": [ @@ -1881,8 +1775,7 @@ "\"PlayTimer\"", "<", "Variable(GameDuration)" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -1906,30 +1799,25 @@ "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "TimeLeft_Text", "=", "\"Time left: \" + ExtendedMath::ToFixedString((Variable(GameDuration) - TimerElapsedTime(\"PlayTimer\")),1)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Score_Text", "=", "\"Score: \" + ToString(GlobalVariable(Score))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "colorB": 228, @@ -1997,18 +1885,15 @@ "actions": [ { "type": { - "inverted": false, "value": "SetCenterX" }, "parameters": [ "CenteredObjects", "=", "CameraX(\"UI\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -2045,7 +1930,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "CompareTimer" }, "parameters": [ @@ -2053,22 +1937,19 @@ "\"PlayTimer\"", ">=", "Variable(GameDuration)" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "TimeLeft_Text", "=", "\"Time left: 0.0\"" - ], - "subInstructions": [] + ] } ], "events": [ @@ -2132,9 +2013,6 @@ "disableInputWhenNotFocused": true, "mangledName": "SpeedrunGame", "name": "SpeedrunGame", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 0, "standardSortMethod": true, "stopSoundsOnStartup": true, @@ -2193,7 +2071,6 @@ "customSize": true, "height": 64, "layer": "UI", - "locked": false, "name": "Instructions", "persistentUuid": "1ce95ba9-579a-4b51-9b9a-6c88038f21bd", "width": 320, @@ -2209,7 +2086,6 @@ "customSize": false, "height": 0, "layer": "UI", - "locked": false, "name": "Time_Text", "persistentUuid": "9d7ad27b-6e3b-487a-bf44-2e0340830a44", "width": 0, @@ -2225,7 +2101,6 @@ "customSize": false, "height": 0, "layer": "UI", - "locked": false, "name": "SubmitScore_Text", "persistentUuid": "b140927e-bf6b-41f0-b61e-5b61c148128c", "width": 0, @@ -2241,7 +2116,6 @@ "customSize": false, "height": 0, "layer": "UI", - "locked": false, "name": "EnemiesLeft_Text", "persistentUuid": "2dc1a2fb-3f8b-4a30-b7bc-2abaeb7e12bf", "width": 0, @@ -2255,6 +2129,7 @@ ], "objects": [ { + "assetStoreId": "", "bold": false, "italic": false, "name": "Instructions", @@ -2275,6 +2150,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "EnemiesLeft_Text", @@ -2295,6 +2171,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Time_Text", @@ -2315,6 +2192,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "SubmitScore_Text", @@ -2348,6 +2226,7 @@ } }, { + "assetStoreId": "", "name": "RedHero", "tags": "", "type": "Sprite", @@ -2535,40 +2414,33 @@ "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TextObject::SetTextAlignment" }, "parameters": [ "SubmitScore_Text", "\"center\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "Buttons" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySoundCanal" }, "parameters": [ @@ -2578,24 +2450,20 @@ "yes", "30", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarScene" }, "parameters": [ "TargetScore", "=", "15" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -2604,22 +2472,18 @@ "", "30", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ResetTimer" }, "parameters": [ "", "\"SpeedrunTimer\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -2651,15 +2515,13 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarGlobal" }, "parameters": [ "Score", "<", "Variable(TargetScore)" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -2683,42 +2545,35 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarGlobal" }, "parameters": [ "SpeedrunTime", "=", "TimerElapsedTime(\"SpeedrunTimer\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "Time_Text", "=", "\"Time: \" + ExtendedMath::ToFixedString(GlobalVariable(SpeedrunTime),1)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "EnemiesLeft_Text", "=", "\"Enemies Left: \" + ToString(Variable(TargetScore) - GlobalVariable(Score))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "colorB": 228, @@ -2786,18 +2641,15 @@ "actions": [ { "type": { - "inverted": false, "value": "SetCenterX" }, "parameters": [ "CenteredObjects", "=", "CameraX(\"UI\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -2834,29 +2686,25 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarGlobal" }, "parameters": [ "Score", ">=", "Variable(TargetScore)" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "EnemiesLeft_Text", "=", "\"Enemies Left: 0\"" - ], - "subInstructions": [] + ] } ], "events": [ @@ -2920,9 +2768,6 @@ "disableInputWhenNotFocused": true, "mangledName": "SubmitScore", "name": "SubmitScore", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 0, "standardSortMethod": true, "stopSoundsOnStartup": true, @@ -2967,7 +2812,6 @@ "customSize": true, "height": 35, "layer": "", - "locked": false, "name": "ScoreText", "persistentUuid": "722f1233-75ba-4128-8905-4ac5dd26bc1e", "width": 384, @@ -2983,7 +2827,6 @@ "customSize": true, "height": 41, "layer": "", - "locked": false, "name": "PlayerNameInput", "persistentUuid": "a681abd2-5235-4165-a003-4a9553d79cb5", "width": 384, @@ -2999,7 +2842,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "SubmitButton", "persistentUuid": "b4081068-7d24-4d59-b918-d7101559e154", "width": 0, @@ -3015,7 +2857,6 @@ "customSize": false, "height": 64, "layer": "", - "locked": false, "name": "SubmitLoader", "persistentUuid": "8c3bfc51-293f-424c-a7f8-ac3f2c50a905", "width": 64, @@ -3031,7 +2872,6 @@ "customSize": true, "height": 320, "layer": "", - "locked": false, "name": "ScoreBox", "persistentUuid": "78f37fbd-9472-4e49-90ad-dad52db9f417", "width": 512, @@ -3047,7 +2887,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Submitted_Text", "persistentUuid": "613f8a12-51de-4e28-bb49-03a581e556ff", "width": 0, @@ -3063,7 +2902,6 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, "name": "Restart_Text", "persistentUuid": "66d861f6-4cac-4a2f-8151-aeb6e4ef25ed", "width": 0, @@ -3079,7 +2917,6 @@ "customSize": true, "height": 44, "layer": "", - "locked": false, "name": "RestartButton", "persistentUuid": "3dabd876-6651-4d7c-a73d-3ac017e05d07", "width": 196, @@ -3093,6 +2930,7 @@ ], "objects": [ { + "assetStoreId": "", "bold": false, "italic": false, "name": "ScoreText", @@ -3113,6 +2951,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Submitted_Text", @@ -3133,6 +2972,7 @@ } }, { + "assetStoreId": "", "bold": false, "italic": false, "name": "Restart_Text", @@ -3153,6 +2993,7 @@ } }, { + "assetStoreId": "", "name": "PlayerNameInput", "tags": "", "type": "TextInput::TextInputObject", @@ -3176,6 +3017,7 @@ } }, { + "assetStoreId": "", "name": "SubmitButton", "tags": "", "type": "Sprite", @@ -3229,6 +3071,7 @@ ] }, { + "assetStoreId": "", "name": "SubmitLoader", "tags": "", "type": "Sprite", @@ -3303,6 +3146,7 @@ ] }, { + "assetStoreId": "", "name": "ScoreBox", "tags": "", "type": "Sprite", @@ -3356,6 +3200,7 @@ ] }, { + "assetStoreId": "", "name": "RestartButton", "tags": "", "type": "Sprite", @@ -3437,19 +3282,16 @@ "conditions": [ { "type": { - "inverted": false, "value": "DepartScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlaySoundCanal" }, "parameters": [ @@ -3459,8 +3301,7 @@ "yes", "30", "1" - ], - "subInstructions": [] + ] } ], "events": [ @@ -3473,121 +3314,37 @@ "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ - { - "type": "BuiltinCommonInstructions::Comment", - "color": { - "b": 109, - "g": 230, - "r": 255, - "textB": 0, - "textG": 0, - "textR": 0 - }, - "comment": "If player has entered a name before, start with that name in the text input. Otherwise, generate a random player name.", - "comment2": "" - }, - { - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarGlobalTxt" - }, - "parameters": [ - "PlayerName", - "=", - "\"0\"" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarGlobalTxt" - }, - "parameters": [ - "PlayerName", - "=", - "\"Player\"+ToString(RandomInRange(0,999))" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarGlobalTxt" - }, - "parameters": [ - "PlayerName", - "!=", - "\"0\"" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "TextInput::TextInputObject::SetText" - }, - "parameters": [ - "PlayerNameInput", - "=", - "GlobalVariableString(PlayerName)" - ], - "subInstructions": [] - } - ], - "events": [] - }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "Submitted_Text" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "SubmitLoader" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeScale" }, "parameters": [ "SubmitLoader", "=", "2" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -3606,64 +3363,54 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarGlobalTxt" }, "parameters": [ "GameMode", "=", "\"Highscore\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "ScoreText", "=", "\"Score: \" + ToString(GlobalVariable(Score))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarGlobalTxt" }, "parameters": [ "GameMode", "=", "\"Speedrun\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "TextObject::String" }, "parameters": [ "ScoreText", "=", "\"Time: \" + ExtendedMath::ToFixedString(GlobalVariable(SpeedrunTime),2) + \" seconds\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -3678,7 +3425,7 @@ "colorG": 16, "colorR": 189, "creationTime": 0, - "name": "Button actions", + "name": "Player Authentication", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -3687,14 +3434,281 @@ "conditions": [ { "type": { - "inverted": false, - "value": "MouseButtonReleased" + "value": "DepartScene" }, "parameters": [ - "", - "Left" - ], - "subInstructions": [] + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "PlayerAuthentication::DisplayAuthenticationBanner" + }, + "parameters": [ + "" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Disable text input if the player is authenticated when the game starts", + "comment2": "" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PlayerAuthentication::IsPlayerAuthenticated" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "TextInput::TextInputObject::SetText" + }, + "parameters": [ + "PlayerNameInput", + "=", + "PlayerAuthentication::Username()" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetDisabled" + }, + "parameters": [ + "PlayerNameInput", + "yes" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetBorderOpacity" + }, + "parameters": [ + "PlayerNameInput", + "=", + "128" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetFillOpacity" + }, + "parameters": [ + "PlayerNameInput", + "=", + "128" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetOpacity" + }, + "parameters": [ + "PlayerNameInput", + "=", + "196" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Disable text input if a new player becomes authenticated", + "comment2": "" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PlayerAuthentication::HasPlayerLoggedIn" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "TextInput::TextInputObject::SetText" + }, + "parameters": [ + "PlayerNameInput", + "=", + "PlayerAuthentication::Username()" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetDisabled" + }, + "parameters": [ + "PlayerNameInput", + "yes" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetBorderOpacity" + }, + "parameters": [ + "PlayerNameInput", + "=", + "128" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetFillOpacity" + }, + "parameters": [ + "PlayerNameInput", + "=", + "128" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetOpacity" + }, + "parameters": [ + "PlayerNameInput", + "=", + "196" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Enable text input if no player is authenticated", + "comment2": "" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlayerAuthentication::IsPlayerAuthenticated" + }, + "parameters": [] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "TextInput::TextInputObject::SetText" + }, + "parameters": [ + "PlayerNameInput", + "=", + "\"PlayerName\"" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetDisabled" + }, + "parameters": [ + "PlayerNameInput", + "no" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetBorderOpacity" + }, + "parameters": [ + "PlayerNameInput", + "=", + "255" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetFillOpacity" + }, + "parameters": [ + "PlayerNameInput", + "=", + "255" + ] + }, + { + "type": { + "value": "TextInput::TextInputObject::SetOpacity" + }, + "parameters": [ + "PlayerNameInput", + "=", + "255" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 224, + "colorG": 16, + "colorR": 189, + "creationTime": 0, + "name": "Button actions", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonReleased" + }, + "parameters": [ + "", + "Left" + ] } ], "actions": [], @@ -3726,17 +3740,14 @@ "conditions": [ { "type": { - "inverted": false, "value": "Visible" }, "parameters": [ "SubmitButton" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -3744,14 +3755,12 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3760,42 +3769,35 @@ "", "50", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarGlobalTxt" }, "parameters": [ "PlayerName", "=", "PlayerNameInput.Text()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextInput::TextInputObject::SetDisabled" }, "parameters": [ "PlayerNameInput", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SetSceneVariableAsBoolean" }, "parameters": [ "ScoreSubmitted", "True" - ], - "subInstructions": [] + ] } ], "events": [ @@ -3817,21 +3819,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarGlobalTxt" }, "parameters": [ "GameMode", "=", "\"Highscore\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Leaderboards::SavePlayerScore" }, "parameters": [ @@ -3839,32 +3838,27 @@ "\"9bf06eed-adfe-4599-8276-ff70df7dc845\"", "GlobalVariable(Score)", "PlayerNameInput.Text()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarGlobalTxt" }, "parameters": [ "GameMode", "=", "\"Speedrun\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Leaderboards::SavePlayerScore" }, "parameters": [ @@ -3872,11 +3866,9 @@ "\"0d02909b-93c5-4c76-bdf4-d33f7addd4bd\"", "GlobalVariable(SpeedrunTime)", "PlayerNameInput.Text()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -3897,7 +3889,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -3905,14 +3896,12 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -3921,33 +3910,27 @@ "", "50", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Wait" }, "parameters": [ "0.25" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"PickGameMode\"", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -3971,14 +3954,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "SceneVariableAsBoolean" }, "parameters": [ "ScoreSubmitted", "True" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -3997,15 +3978,13 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarGlobalTxt" }, "parameters": [ "GameMode", "=", "\"Highscore\"" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -4028,57 +4007,46 @@ "conditions": [ { "type": { - "inverted": false, "value": "Leaderboards::IsSaving" }, "parameters": [ "\"9bf06eed-adfe-4599-8276-ff70df7dc845\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "SubmitLoader", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "SubmitButton" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "Submitted_Text" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -4103,16 +4071,13 @@ }, "parameters": [ "\"9bf06eed-adfe-4599-8276-ff70df7dc845\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [], @@ -4135,134 +4100,110 @@ "conditions": [ { "type": { - "inverted": false, "value": "Leaderboards::HasLastSaveErrored" }, "parameters": [ "\"9bf06eed-adfe-4599-8276-ff70df7dc845\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "SubmitButton", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "SubmitLoader" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SetSceneVariableAsBoolean" }, "parameters": [ "ScoreSubmitted", "False" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextInput::TextInputObject::SetDisabled" }, "parameters": [ "PlayerNameInput", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Leaderboards::HasLastSaveSucceeded" }, "parameters": [ "\"9bf06eed-adfe-4599-8276-ff70df7dc845\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Leaderboards::DisplayLeaderboard" }, "parameters": [ "", "\"9bf06eed-adfe-4599-8276-ff70df7dc845\"", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "SubmitLoader" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "Submitted_Text", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Wait" }, "parameters": [ "2" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"PickGameMode\"", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -4285,15 +4226,13 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarGlobalTxt" }, "parameters": [ "GameMode", "=", "\"Speedrun\"" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -4316,57 +4255,46 @@ "conditions": [ { "type": { - "inverted": false, "value": "Leaderboards::IsSaving" }, "parameters": [ "\"0d02909b-93c5-4c76-bdf4-d33f7addd4bd\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "SubmitLoader", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "SubmitButton" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "Submitted_Text" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -4391,16 +4319,13 @@ }, "parameters": [ "\"0d02909b-93c5-4c76-bdf4-d33f7addd4bd\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [], @@ -4423,134 +4348,110 @@ "conditions": [ { "type": { - "inverted": false, "value": "Leaderboards::HasLastSaveErrored" }, "parameters": [ "\"0d02909b-93c5-4c76-bdf4-d33f7addd4bd\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "SubmitButton", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "SubmitLoader" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SetSceneVariableAsBoolean" }, "parameters": [ "ScoreSubmitted", "False" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "TextInput::TextInputObject::SetDisabled" }, "parameters": [ "PlayerNameInput", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "Leaderboards::HasLastSaveSucceeded" }, "parameters": [ "\"0d02909b-93c5-4c76-bdf4-d33f7addd4bd\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Leaderboards::DisplayLeaderboard" }, "parameters": [ "", "\"0d02909b-93c5-4c76-bdf4-d33f7addd4bd\"", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "SubmitLoader" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "Submitted_Text", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Wait" }, "parameters": [ "2" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"PickGameMode\"", "yes" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -4615,9 +4516,6 @@ "disableInputWhenNotFocused": true, "mangledName": "LeaderboardBackground", "name": "LeaderboardBackground", - "oglFOV": 90, - "oglZFar": 500, - "oglZNear": 1, "r": 0, "standardSortMethod": true, "stopSoundsOnStartup": false, @@ -4662,23 +4560,19 @@ "inverted": true, "value": "Leaderboards::IsLeaderboardViewLoaded" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "PopScene" }, "parameters": [ "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "layers": [ @@ -4721,10 +4615,6 @@ { "name": "PlatformerObject", "type": "PlatformBehavior::PlatformerObjectBehavior" - }, - { - "name": "Swipe", - "type": "Swipe::Swipe" } ] } @@ -4762,7 +4652,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "SceneInstancesCount" }, "parameters": [ @@ -4770,14 +4659,12 @@ "RedHero", "<", "3" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Create" }, "parameters": [ @@ -4786,23 +4673,19 @@ "RandomInRange(50,CameraWidth(\"\",0) - 150)", "RandomInRange(100,CameraHeight(\"\",0) - 200)", "\"\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ChangeScale" }, "parameters": [ "RedHero", "=", "0.7" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", @@ -4810,18 +4693,15 @@ "actions": [ { "type": { - "inverted": false, "value": "SeparateFromObjects" }, "parameters": [ "RedHero", "RedHero", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -4847,22 +4727,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "MouseButtonPressed" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [], @@ -4885,19 +4761,16 @@ "conditions": [ { "type": { - "inverted": false, "value": "ObjectVariableAsBoolean" }, "parameters": [ "RedHero", "Clicked", "False" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -4905,14 +4778,12 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "Tween::AddObjectScaleTween" }, "parameters": [ @@ -4925,12 +4796,10 @@ "250", "yes", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -4939,35 +4808,29 @@ "", "50", "RandomFloatInRange(0.8,1.2)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SetObjectVariableAsBoolean" }, "parameters": [ "RedHero", "Clicked", "True" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarGlobal" }, "parameters": [ "Score", "+", "PickedInstancesCount(RedHero)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -5016,25 +4879,21 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "EnableEffect" }, "parameters": [ "Buttons", "\"Hovering\"", "no" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -5054,36 +4913,30 @@ "conditions": [ { "type": { - "inverted": false, "value": "Visible" }, "parameters": [ "Buttons" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "LayerVisible" }, "parameters": [ "", "Buttons.Layer()" - ], - "subInstructions": [] + ] }, { "type": { "inverted": true, "value": "Leaderboards::IsLeaderboardViewLoaded" }, - "parameters": [], - "subInstructions": [] + "parameters": [] }, { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -5091,34 +4944,28 @@ "", "", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "EnableEffect" }, "parameters": [ "Buttons", "\"Hovering\"", "yes" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -5127,11 +4974,9 @@ "", "20", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -5166,49 +5011,40 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "Delete" }, "parameters": [ "RedHero", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Cache" }, "parameters": [ "Instructions" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "StopSoundCanal" }, "parameters": [ "", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -5217,33 +5053,27 @@ "", "25", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Wait" }, "parameters": [ "1.5" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Montre" }, "parameters": [ "Buttons", "" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "PlaySoundCanal" }, "parameters": [ @@ -5253,11 +5083,9 @@ "no", "50", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -5276,24 +5104,20 @@ "conditions": [ { "type": { - "inverted": false, "value": "MouseButtonReleased" }, "parameters": [ "", "Left" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Visible" }, "parameters": [ "Buttons" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -5316,7 +5140,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "SourisSurObjet" }, "parameters": [ @@ -5324,14 +5147,12 @@ "", "", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "PlaySound" }, "parameters": [ @@ -5340,33 +5161,27 @@ "", "50", "RandomFloatInRange(0.9,1.1)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Wait" }, "parameters": [ "0.25" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "Scene" }, "parameters": [ "", "\"SubmitScore\"", "" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -5474,17 +5289,14 @@ "actions": [ { "type": { - "inverted": false, "value": "ResetObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_DurationTimer\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -5505,7 +5317,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5513,12 +5324,10 @@ "__ShakeObject_Duration", "=", "GetArgumentAsNumber(\"Duration\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5526,12 +5335,10 @@ "__ShakeObject_PowerX", "=", "GetArgumentAsNumber(\"PowerX\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5539,12 +5346,10 @@ "__ShakeObject_PowerY", "=", "GetArgumentAsNumber(\"PowerY\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5552,12 +5357,10 @@ "__ShakeObject_PowerAngle", "=", "GetArgumentAsNumber(\"PowerAngle\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5565,11 +5368,9 @@ "__ShakeObject_TimeBetweenShakes", "=", "GetArgumentAsNumber(\"TimeBetweenShakes\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -5590,48 +5391,40 @@ "actions": [ { "type": { - "inverted": false, "value": "SetObjectVariableAsBoolean" }, "parameters": [ "Object", "__ShakeObject_ShakeForever", "False" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "GetArgumentAsBoolean" }, "parameters": [ "\"ShakeForever\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetObjectVariableAsBoolean" }, "parameters": [ "Object", "__ShakeObject_ShakeForever", "True" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -5651,7 +5444,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -5659,14 +5451,12 @@ "__ShakeObject_Duration", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5674,18 +5464,15 @@ "__ShakeObject_Duration", "=", "0.5" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -5693,14 +5480,12 @@ "__ShakeObject_TimeBetweenShakes", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5708,11 +5493,9 @@ "__ShakeObject_TimeBetweenShakes", "=", "0.08" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -5732,7 +5515,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -5740,14 +5522,12 @@ "__ShakeObject_Duration", "<", "Object.Variable(__ShakeObject_TimeBetweenShakes)" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5755,11 +5535,9 @@ "__ShakeObject_Duration", "=", "Object.Variable(__ShakeObject_TimeBetweenShakes)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -5779,7 +5557,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -5787,14 +5564,12 @@ "__ShakeObject_ShakeInProgress", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5802,11 +5577,9 @@ "__ShakeObject_InitialShake", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -5827,7 +5600,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -5835,11 +5607,9 @@ "__ShakeObject_ShakeInProgress", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -5961,7 +5731,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -5969,8 +5738,7 @@ "__ShakeObject_ShakeInProgress", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -5993,21 +5761,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "ObjectVariableAsBoolean" }, "parameters": [ "Object", "__ShakeObject_ShakeForever", "True" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6015,22 +5780,18 @@ "__ShakeObject_Duration", "=", "100" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ResetObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_DurationTimer\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "colorB": 228, @@ -6059,14 +5820,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6074,20 +5833,17 @@ "__ShakeObject_InitialShake", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_ShakeTimer\"", "Object.Variable(__ShakeObject_TimeBetweenShakes)" - ], - "subInstructions": [] + ] } ] } @@ -6095,18 +5851,15 @@ "actions": [ { "type": { - "inverted": false, "value": "ResetObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_ShakeTimer\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6114,8 +5867,7 @@ "__ShakeObject_ShakeCounter", "+", "1" - ], - "subInstructions": [] + ] } ], "events": [ @@ -6146,14 +5898,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6161,12 +5911,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6174,8 +5922,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -6183,37 +5930,31 @@ "actions": [ { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_DisplacementTravelledX)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_DisplacementTravelledY)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6221,25 +5962,21 @@ "__ShakeObject_PowerAngle", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAngle" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_AngleTravelled)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -6260,7 +5997,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6268,12 +6004,10 @@ "__ShakeObject_DisplacementTravelledX", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6281,12 +6015,10 @@ "__ShakeObject_DisplacementTravelledY", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6294,11 +6026,9 @@ "__ShakeObject_AngleTravelled", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -6321,14 +6051,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6336,12 +6064,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6349,8 +6075,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -6388,7 +6113,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6396,8 +6120,7 @@ "__ShakeObject_InitialShake", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -6407,7 +6130,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6415,14 +6137,12 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6430,18 +6150,15 @@ "__ShakeObject_DisplacementX", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerX)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6449,14 +6166,12 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6464,11 +6179,9 @@ "__ShakeObject_DisplacementY", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerY)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -6490,7 +6203,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6498,8 +6210,7 @@ "__ShakeObject_InitialShake", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -6509,7 +6220,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6517,14 +6227,12 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6532,18 +6240,15 @@ "__ShakeObject_DisplacementX", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerX) * RandomWithStep(-1, 1, 2)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6551,14 +6256,12 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6566,11 +6269,9 @@ "__ShakeObject_DisplacementY", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerY) * RandomWithStep(-1, 1, 2)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -6594,7 +6295,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6602,8 +6302,7 @@ "__ShakeObject_PowerAngle", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -6639,21 +6338,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "mod(Object.Variable(__ShakeObject_ShakeCounter),2)", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6661,11 +6357,9 @@ "__ShakeObject_DisplacementAngle", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerAngle)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -6698,21 +6392,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "mod(Object.Variable(__ShakeObject_ShakeCounter),2)", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6720,11 +6411,9 @@ "__ShakeObject_DisplacementAngle", "=", "-1 *(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerAngle)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -6747,7 +6436,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6755,11 +6443,9 @@ "__ShakeObject_InitialShake", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -6794,7 +6480,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6802,11 +6487,9 @@ "__ShakeObject_PercentTimeElapsedThisFrame", "=", "min(1,TimeDelta()/Object.Variable(__ShakeObject_TimeBetweenShakes))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -6833,8 +6516,7 @@ "Object", "\"__ShakeObject_ShakeTimer\"", "Object.Variable(__ShakeObject_TimeBetweenShakes)/2" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -6857,14 +6539,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6872,12 +6552,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -6885,8 +6563,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -6894,27 +6571,23 @@ "actions": [ { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementX) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementY) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -6937,7 +6610,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6945,12 +6617,10 @@ "__ShakeObject_DisplacementTravelledX", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementX) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -6958,11 +6628,9 @@ "__ShakeObject_DisplacementTravelledY", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementY) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -6984,29 +6652,25 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "Object.Variable(__ShakeObject_PowerAngle)", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAngle" }, "parameters": [ "Object", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementAngle) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -7029,7 +6693,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7037,11 +6700,9 @@ "__ShakeObject_AngleTravelled", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementAngle) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -7065,15 +6726,13 @@ "conditions": [ { "type": { - "inverted": false, "value": "ObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_ShakeTimer\"", "Object.Variable(__ShakeObject_TimeBetweenShakes)/2" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -7096,14 +6755,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7111,12 +6768,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7124,8 +6779,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -7133,27 +6787,23 @@ "actions": [ { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementX) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementY) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -7176,7 +6826,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7184,12 +6833,10 @@ "__ShakeObject_DisplacementTravelledX", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementX) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7197,11 +6844,9 @@ "__ShakeObject_DisplacementTravelledY", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementY) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -7223,29 +6868,25 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "Object.Variable(__ShakeObject_PowerAngle)", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAngle" }, "parameters": [ "Object", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementAngle) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -7268,7 +6909,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7276,11 +6916,9 @@ "__ShakeObject_AngleTravelled", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementAngle) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -7321,26 +6959,22 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "ObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_DurationTimer\"", "Object.Variable(__ShakeObject_Duration)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7348,24 +6982,20 @@ "__ShakeObject_ShakeInProgress", "=", "-1" - ], - "subInstructions": [] + ] } ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7373,12 +7003,10 @@ "__ShakeObject_ShakeInProgress", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7386,8 +7014,7 @@ "__ShakeObject_ShakeCounter", "=", "0" - ], - "subInstructions": [] + ] } ], "events": [ @@ -7418,14 +7045,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7433,12 +7058,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7446,8 +7069,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -7455,37 +7077,31 @@ "actions": [ { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_DisplacementTravelledX)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_DisplacementTravelledY)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7493,25 +7109,21 @@ "__ShakeObject_PowerAngle", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAngle" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_AngleTravelled)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -7532,7 +7144,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7540,12 +7151,10 @@ "__ShakeObject_DisplacementTravelledX", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7553,12 +7162,10 @@ "__ShakeObject_DisplacementTravelledY", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7566,11 +7173,9 @@ "__ShakeObject_AngleTravelled", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -7622,21 +7227,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "ShakeObject::ShakeObject_PositionAngle::IsShaking" }, "parameters": [ "Object", "Behavior", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7644,11 +7246,9 @@ "__ShakeObject_ShakeInProgress", "=", "-1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -7689,7 +7289,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7697,23 +7296,19 @@ "__ShakeObject_ShakeInProgress", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetReturnBoolean" }, "parameters": [ "True" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -7786,17 +7381,14 @@ "actions": [ { "type": { - "inverted": false, "value": "ResetObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_DurationTimer\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -7817,7 +7409,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7825,12 +7416,10 @@ "__ShakeObject_Duration", "=", "GetArgumentAsNumber(\"Duration\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7838,12 +7427,10 @@ "__ShakeObject_PowerX", "=", "GetArgumentAsNumber(\"PowerX\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7851,12 +7438,10 @@ "__ShakeObject_PowerY", "=", "GetArgumentAsNumber(\"PowerY\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7864,12 +7449,10 @@ "__ShakeObject_PowerAngle", "=", "GetArgumentAsNumber(\"PowerAngle\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7877,12 +7460,10 @@ "__ShakeObject_PowerScale", "=", "GetArgumentAsNumber(\"PowerScale\")" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7890,11 +7471,9 @@ "__ShakeObject_TimeBetweenShakes", "=", "GetArgumentAsNumber(\"TimeBetweenShakes\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -7915,48 +7494,40 @@ "actions": [ { "type": { - "inverted": false, "value": "SetObjectVariableAsBoolean" }, "parameters": [ "Object", "__ShakeObject_ShakeForever", "False" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "GetArgumentAsBoolean" }, "parameters": [ "\"ShakeForever\"" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetObjectVariableAsBoolean" }, "parameters": [ "Object", "__ShakeObject_ShakeForever", "True" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -7976,7 +7547,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -7984,14 +7554,12 @@ "__ShakeObject_Duration", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -7999,18 +7567,15 @@ "__ShakeObject_Duration", "=", "0.5" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8018,14 +7583,12 @@ "__ShakeObject_TimeBetweenShakes", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8033,11 +7596,9 @@ "__ShakeObject_TimeBetweenShakes", "=", "0.08" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -8057,7 +7618,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8065,14 +7625,12 @@ "__ShakeObject_Duration", "<", "Object.Variable(__ShakeObject_TimeBetweenShakes)" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8080,11 +7638,9 @@ "__ShakeObject_Duration", "=", "Object.Variable(__ShakeObject_TimeBetweenShakes)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -8104,7 +7660,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8112,14 +7667,12 @@ "__ShakeObject_ShakeInProgress", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8127,11 +7680,9 @@ "__ShakeObject_InitialShake", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -8152,7 +7703,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8160,11 +7710,9 @@ "__ShakeObject_ShakeInProgress", "=", "1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -8296,7 +7844,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8304,8 +7851,7 @@ "__ShakeObject_ShakeInProgress", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -8328,21 +7874,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "ObjectVariableAsBoolean" }, "parameters": [ "Object", "__ShakeObject_ShakeForever", "True" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8350,22 +7893,18 @@ "__ShakeObject_Duration", "=", "100" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ResetObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_DurationTimer\"" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "colorB": 228, @@ -8394,14 +7933,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8409,20 +7946,17 @@ "__ShakeObject_InitialShake", "=", "1" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_ShakeTimer\"", "Object.Variable(__ShakeObject_TimeBetweenShakes)" - ], - "subInstructions": [] + ] } ] } @@ -8430,18 +7964,15 @@ "actions": [ { "type": { - "inverted": false, "value": "ResetObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_ShakeTimer\"" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8449,8 +7980,7 @@ "__ShakeObject_ShakeCounter", "+", "1" - ], - "subInstructions": [] + ] } ], "events": [ @@ -8482,14 +8012,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8497,12 +8025,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8510,8 +8036,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -8519,37 +8044,31 @@ "actions": [ { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_DisplacementTravelledX)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_DisplacementTravelledY)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8557,32 +8076,27 @@ "__ShakeObject_PowerAngle", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAngle" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_AngleTravelled)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8590,25 +8104,21 @@ "__ShakeObject_PowerScale", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeScale" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_ScaleTravelled)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -8629,7 +8139,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8637,12 +8146,10 @@ "__ShakeObject_DisplacementTravelledX", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8650,12 +8157,10 @@ "__ShakeObject_DisplacementTravelledY", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8663,12 +8168,10 @@ "__ShakeObject_AngleTravelled", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8676,11 +8179,9 @@ "__ShakeObject_ScaleTravelled", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -8703,14 +8204,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8718,12 +8217,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8731,8 +8228,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -8770,7 +8266,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8778,8 +8273,7 @@ "__ShakeObject_InitialShake", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -8789,7 +8283,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8797,14 +8290,12 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8812,18 +8303,15 @@ "__ShakeObject_DisplacementX", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerX)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8831,14 +8319,12 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8846,11 +8332,9 @@ "__ShakeObject_DisplacementY", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerY)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -8872,7 +8356,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8880,8 +8363,7 @@ "__ShakeObject_InitialShake", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -8891,7 +8373,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8899,14 +8380,12 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8914,18 +8393,15 @@ "__ShakeObject_DisplacementX", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerX) * RandomWithStep(-1, 1, 2)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8933,14 +8409,12 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -8948,11 +8422,9 @@ "__ShakeObject_DisplacementY", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerY) * RandomWithStep(-1, 1, 2)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -8976,7 +8448,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -8984,8 +8455,7 @@ "__ShakeObject_PowerAngle", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -9021,21 +8491,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "mod(Object.Variable(__ShakeObject_ShakeCounter),2)", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9043,11 +8510,9 @@ "__ShakeObject_DisplacementAngle", "=", "-1 * (Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerAngle)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -9080,21 +8545,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "mod(Object.Variable(__ShakeObject_ShakeCounter),2)", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9102,11 +8564,9 @@ "__ShakeObject_DisplacementAngle", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerAngle)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -9128,7 +8588,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -9136,8 +8595,7 @@ "__ShakeObject_PowerScale", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -9186,21 +8644,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "mod(Object.Variable(__ShakeObject_ShakeCounter),2)", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9208,11 +8663,9 @@ "__ShakeObject_DisplacementScale", "=", "-1 * (Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerScale) * (1/100)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -9245,21 +8698,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "mod(Object.Variable(__ShakeObject_ShakeCounter),2)", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9267,11 +8717,9 @@ "__ShakeObject_DisplacementScale", "=", "(Object.Variable(__ShakeObject_Duration) - Object.ObjectTimerElapsedTime(\"__ShakeObject_DurationTimer\")) / Object.Variable(__ShakeObject_Duration) * Object.Variable(__ShakeObject_PowerScale) * (1/100)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -9294,7 +8742,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9302,11 +8749,9 @@ "__ShakeObject_InitialShake", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -9341,7 +8786,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9349,11 +8793,9 @@ "__ShakeObject_PercentTimeElapsedThisFrame", "=", "min(1,TimeDelta()/Object.Variable(__ShakeObject_TimeBetweenShakes))" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -9380,8 +8822,7 @@ "Object", "\"__ShakeObject_ShakeTimer\"", "Object.Variable(__ShakeObject_TimeBetweenShakes)/2" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -9404,14 +8845,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -9419,12 +8858,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -9432,8 +8869,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -9441,27 +8877,23 @@ "actions": [ { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementX) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementY) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -9484,7 +8916,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9492,12 +8923,10 @@ "__ShakeObject_DisplacementTravelledX", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementX) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9505,11 +8934,9 @@ "__ShakeObject_DisplacementTravelledY", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementY) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -9531,29 +8958,25 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "Object.Variable(__ShakeObject_PowerAngle)", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAngle" }, "parameters": [ "Object", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementAngle) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -9576,7 +8999,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9584,11 +9006,9 @@ "__ShakeObject_AngleTravelled", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementAngle) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -9610,29 +9030,25 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "Object.Variable(__ShakeObject_PowerScale)", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeScale" }, "parameters": [ "Object", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementScale) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -9655,7 +9071,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9663,11 +9078,9 @@ "__ShakeObject_ScaleTravelled", "+", "round(1024 * Object.Variable(__ShakeObject_DisplacementScale) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -9691,15 +9104,13 @@ "conditions": [ { "type": { - "inverted": false, "value": "ObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_ShakeTimer\"", "Object.Variable(__ShakeObject_TimeBetweenShakes)/2" - ], - "subInstructions": [] + ] } ], "actions": [], @@ -9722,14 +9133,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -9737,12 +9146,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -9750,8 +9157,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -9759,27 +9165,23 @@ "actions": [ { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementX) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementY) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -9802,7 +9204,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9810,12 +9211,10 @@ "__ShakeObject_DisplacementTravelledX", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementX) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9823,11 +9222,9 @@ "__ShakeObject_DisplacementTravelledY", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementY) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -9849,29 +9246,25 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "Object.Variable(__ShakeObject_PowerAngle)", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAngle" }, "parameters": [ "Object", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementAngle) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -9894,7 +9287,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9902,11 +9294,9 @@ "__ShakeObject_AngleTravelled", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementAngle) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] }, @@ -9928,29 +9318,25 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "Object.Variable(__ShakeObject_PowerScale)", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeScale" }, "parameters": [ "Object", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementScale) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } ], "events": [ @@ -9973,7 +9359,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -9981,11 +9366,9 @@ "__ShakeObject_ScaleTravelled", "-", "round(1024 * Object.Variable(__ShakeObject_DisplacementScale) * Object.Variable(__ShakeObject_PercentTimeElapsedThisFrame)) / 1024" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ] } @@ -10026,26 +9409,22 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "ObjectTimer" }, "parameters": [ "Object", "\"__ShakeObject_DurationTimer\"", "Object.Variable(__ShakeObject_Duration)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -10053,24 +9432,20 @@ "__ShakeObject_ShakeInProgress", "=", "-1" - ], - "subInstructions": [] + ] } ] }, { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Once" }, - "parameters": [], - "subInstructions": [] + "parameters": [] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -10078,12 +9453,10 @@ "__ShakeObject_ShakeInProgress", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -10091,8 +9464,7 @@ "__ShakeObject_ShakeCounter", "=", "0" - ], - "subInstructions": [] + ] } ], "events": [ @@ -10123,14 +9495,12 @@ "conditions": [ { "type": { - "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -10138,12 +9508,10 @@ "__ShakeObject_PowerX", "!=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -10151,8 +9519,7 @@ "__ShakeObject_PowerY", "!=", "0" - ], - "subInstructions": [] + ] } ] } @@ -10160,37 +9527,31 @@ "actions": [ { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_DisplacementTravelledX)" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_DisplacementTravelledY)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -10198,32 +9559,27 @@ "__ShakeObject_PowerAngle", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetAngle" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_AngleTravelled)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -10231,25 +9587,21 @@ "__ShakeObject_PowerScale", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ChangeScale" }, "parameters": [ "Object", "-", "Object.Variable(__ShakeObject_ScaleTravelled)" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -10270,7 +9622,6 @@ "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -10278,12 +9629,10 @@ "__ShakeObject_DisplacementTravelledX", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -10291,12 +9640,10 @@ "__ShakeObject_DisplacementTravelledY", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -10304,12 +9651,10 @@ "__ShakeObject_AngleTravelled", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -10317,11 +9662,9 @@ "__ShakeObject_ScaleTravelled", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [] @@ -10373,21 +9716,18 @@ "conditions": [ { "type": { - "inverted": false, "value": "ShakeObject::ShakeObject_PositionAngleScale::IsShaking" }, "parameters": [ "Object", "Behavior", "" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "ModVarObjet" }, "parameters": [ @@ -10395,11 +9735,9 @@ "__ShakeObject_ShakeInProgress", "=", "-1" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -10440,7 +9778,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "VarObjet" }, "parameters": [ @@ -10448,23 +9785,19 @@ "__ShakeObject_ShakeInProgress", "=", "1" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetReturnBoolean" }, "parameters": [ "True" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -10494,7 +9827,8 @@ ], "propertyDescriptors": [] } - ] + ], + "eventsBasedObjects": [] }, { "author": "add_, @Jurfix", @@ -11023,16 +10357,13 @@ "actions": [ { "type": { - "inverted": false, "value": "SetReturnNumber" }, "parameters": [ "1.618033988749894" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [], @@ -11057,8 +10388,7 @@ { "type": "BuiltinCommonInstructions::Standard", "conditions": [], - "actions": [], - "events": [] + "actions": [] } ], "parameters": [], @@ -11256,8 +10586,7 @@ { "type": "BuiltinCommonInstructions::Standard", "conditions": [], - "actions": [], - "events": [] + "actions": [] }, { "type": "BuiltinCommonInstructions::JsCode", @@ -11303,8 +10632,7 @@ { "type": "BuiltinCommonInstructions::Standard", "conditions": [], - "actions": [], - "events": [] + "actions": [] }, { "type": "BuiltinCommonInstructions::JsCode", @@ -11352,30 +10680,25 @@ "conditions": [ { "type": { - "inverted": false, "value": "Egal" }, "parameters": [ "mod(GetArgumentAsNumber(\"Value\"),2)", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SetReturnBoolean" }, "parameters": [ "True" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -11393,7 +10716,8 @@ "objectGroups": [] } ], - "eventsBasedBehaviors": [] + "eventsBasedBehaviors": [], + "eventsBasedObjects": [] }, { "author": "@4ian, Tristan Rhodes (https://victrisgames.itch.io/)", @@ -11461,7 +10785,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::PropertyCenterPointX" }, "parameters": [ @@ -11469,12 +10792,10 @@ "Behavior", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SineMovement::SineMovement::PropertyCenterPointY" }, "parameters": [ @@ -11482,14 +10803,12 @@ "Behavior", "=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertyCenterPointX" }, "parameters": [ @@ -11497,12 +10816,10 @@ "Behavior", "=", "Object.X()" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertyCenterPointY" }, "parameters": [ @@ -11510,11 +10827,9 @@ "Behavior", "=", "Object.Y()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -11534,7 +10849,6 @@ "conditions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::PropertyHorizontalDistance" }, "parameters": [ @@ -11542,32 +10856,27 @@ "Behavior", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "MettreX" }, "parameters": [ "Object", "=", "Object.Behavior::PropertyCenterPointX() + cos(ToRad(Object.Behavior::PropertySineProgressX())) * Object.Behavior::PropertyHorizontalDistance()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::PropertyVerticalDistance" }, "parameters": [ @@ -11575,25 +10884,21 @@ "Behavior", "!=", "0" - ], - "subInstructions": [] + ] } ], "actions": [ { "type": { - "inverted": false, "value": "MettreY" }, "parameters": [ "Object", "=", "Object.Behavior::PropertyCenterPointY() + sin(ToRad(Object.Behavior::PropertySineProgressY())) * Object.Behavior::PropertyVerticalDistance()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Comment", @@ -11614,7 +10919,6 @@ "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertySineProgressX" }, "parameters": [ @@ -11622,11 +10926,9 @@ "Behavior", "+", "Object.Behavior::PropertyHorizontalSpeed() * TimeDelta()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] }, { "type": "BuiltinCommonInstructions::Standard", @@ -11634,7 +10936,6 @@ "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertySineProgressY" }, "parameters": [ @@ -11642,11 +10943,9 @@ "Behavior", "+", "Object.Behavior::PropertyVerticalSpeed() * TimeDelta()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -11688,16 +10987,13 @@ "actions": [ { "type": { - "inverted": false, "value": "SetReturnNumber" }, "parameters": [ "Object.Behavior::PropertySineProgressY()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -11739,16 +11035,13 @@ "actions": [ { "type": { - "inverted": false, "value": "SetReturnNumber" }, "parameters": [ "Object.Behavior::PropertySineProgressX()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -11790,16 +11083,13 @@ "actions": [ { "type": { - "inverted": false, "value": "SetReturnNumber" }, "parameters": [ "Object.Behavior::PropertyHorizontalSpeed()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -11841,16 +11131,13 @@ "actions": [ { "type": { - "inverted": false, "value": "SetReturnNumber" }, "parameters": [ "Object.Behavior::PropertyVerticalSpeed()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -11892,16 +11179,13 @@ "actions": [ { "type": { - "inverted": false, "value": "SetReturnNumber" }, "parameters": [ "Object.Behavior::PropertyHorizontalDistance()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -11943,16 +11227,13 @@ "actions": [ { "type": { - "inverted": false, "value": "SetReturnNumber" }, "parameters": [ "Object.Behavior::PropertyVerticalDistance()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -11994,16 +11275,13 @@ "actions": [ { "type": { - "inverted": false, "value": "SetReturnNumber" }, "parameters": [ "Object.Behavior::PropertyCenterPointX()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -12045,16 +11323,13 @@ "actions": [ { "type": { - "inverted": false, "value": "SetReturnNumber" }, "parameters": [ "Object.Behavior::PropertyCenterPointY()" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -12096,7 +11371,6 @@ "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertyCenterPointY" }, "parameters": [ @@ -12104,11 +11378,9 @@ "Behavior", "=", "GetArgumentAsNumber(\"Value\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -12160,7 +11432,6 @@ "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertyCenterPointX" }, "parameters": [ @@ -12168,11 +11439,9 @@ "Behavior", "=", "GetArgumentAsNumber(\"Value\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -12224,7 +11493,6 @@ "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertyHorizontalDistance" }, "parameters": [ @@ -12232,11 +11500,9 @@ "Behavior", "=", "GetArgumentAsNumber(\"Value\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -12288,7 +11554,6 @@ "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertyVerticalDistance" }, "parameters": [ @@ -12296,11 +11561,9 @@ "Behavior", "=", "GetArgumentAsNumber(\"Value\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -12352,7 +11615,6 @@ "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertyHorizontalSpeed" }, "parameters": [ @@ -12360,11 +11622,9 @@ "Behavior", "=", "GetArgumentAsNumber(\"Value\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -12416,7 +11676,6 @@ "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertyVerticalSpeed" }, "parameters": [ @@ -12424,11 +11683,9 @@ "Behavior", "=", "GetArgumentAsNumber(\"Value\")" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -12480,7 +11737,6 @@ "actions": [ { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertySineProgressX" }, "parameters": [ @@ -12488,12 +11744,10 @@ "Behavior", "=", "0" - ], - "subInstructions": [] + ] }, { "type": { - "inverted": false, "value": "SineMovement::SineMovement::SetPropertySineProgressY" }, "parameters": [ @@ -12501,11 +11755,9 @@ "Behavior", "=", "0" - ], - "subInstructions": [] + ] } - ], - "events": [] + ] } ], "parameters": [ @@ -12616,7 +11868,8 @@ } ] } - ] + ], + "eventsBasedObjects": [] }, { "author": "Silver-Streak, @Bouh, Tristan Rhodes", @@ -12714,7 +11967,8 @@ ], "propertyDescriptors": [] } - ] + ], + "eventsBasedObjects": [] } ], "externalLayouts": [],