diff --git a/game.json b/game.json index c420965..3791b77 100644 --- a/game.json +++ b/game.json @@ -735,42 +735,10 @@ }, "objectsGroups": [], "variables": [ - { - "name": "MO_BP", - "value": "" - }, - { - "name": "MO_Y", - "value": "" - }, - { - "name": "KOT_X", - "value": "" - }, - { - "name": "KOT_Y", - "value": "" - }, { "name": "CK_AH", "value": "0.2" }, - { - "name": "MO_BHu3Y", - "value": "0" - }, - { - "name": "KOT_X_K", - "value": "" - }, - { - "name": "KOT_Y_K", - "value": "" - }, - { - "name": "CK_AH_K", - "value": "0.05" - }, { "name": "KP_nO", "children": [ @@ -866,6 +834,28 @@ ] } ] + }, + { + "name": "Кот", + "children": [ + { + "name": "Внизу", + "value": "" + }, + { + "name": "Скорость", + "value": "" + }, + { + "name": "Цель", + "children": [ + { + "name": "Y", + "value": "" + } + ] + } + ] } ], "instances": [ @@ -1109,22 +1099,6 @@ "stringProperties": [], "initialVariables": [] }, - { - "angle": 0, - "customSize": true, - "height": 78, - "layer": "", - "locked": false, - "name": "MO", - "persistentUuid": "7fe6d256-d6fe-4e91-a2e3-65047705896d", - "width": 49, - "x": 939, - "y": 342, - "zOrder": 8, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, { "angle": -5, "customSize": true, @@ -1173,38 +1147,6 @@ "stringProperties": [], "initialVariables": [] }, - { - "angle": 0, - "customSize": true, - "height": 44, - "layer": "", - "locked": false, - "name": "JIY", - "persistentUuid": "623f094f-80c4-49d0-8ad6-783d64ce9a53", - "width": 103, - "x": 977, - "y": 552, - "zOrder": 3, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": true, - "height": 92, - "layer": "", - "locked": false, - "name": "KOT", - "persistentUuid": "0ffa0669-dc67-4d4c-8d80-20eb3edb4670", - "width": 182, - "x": 1266, - "y": 290, - "zOrder": 12, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, { "angle": 0, "customSize": true, @@ -1413,10 +1355,10 @@ "height": 92, "layer": "", "locked": false, - "name": "KOT2", + "name": "KOT", "persistentUuid": "19b2ff6d-a86f-4740-89fb-07d3df912e6b", "width": 182, - "x": 367, + "x": 340, "y": 162, "zOrder": 19, "numberProperties": [], @@ -2108,20 +2050,11 @@ ] }, { - "name": "MO", + "name": "MbILLIb", "tags": "", "type": "Sprite", "updateIfNotVisible": false, - "variables": [ - { - "name": "CT", - "value": "1" - }, - { - "name": "BP", - "value": "0" - } - ], + "variables": [], "behaviors": [], "animations": [ { @@ -2134,7 +2067,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "банка_молока.png", + "image": "мышь.png", "points": [], "originPoint": { "name": "origine", @@ -2156,7 +2089,7 @@ ] }, { - "name": "JIY", + "name": "KP_nO", "tags": "", "type": "Sprite", "updateIfNotVisible": false, @@ -2173,7 +2106,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "лужа.png", + "image": "крышка-подпола.png", "points": [], "originPoint": { "name": "origine", @@ -2181,29 +2114,45 @@ "y": 0 }, "centerPoint": { - "automatic": true, + "automatic": false, "name": "centre", - "x": 0, - "y": 0 + "x": 52.6836, + "y": 53.8514 }, "customCollisionMask": [] } ] } ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [] + } + ] } ] }, { - "name": "KOT", + "name": "nEPEXOD", "tags": "", "type": "Sprite", "updateIfNotVisible": false, - "variables": [], + "variables": [ + { + "name": "НАПРАВЛЕНИЕ", + "value": "1" + } + ], "behaviors": [], "animations": [ { - "name": "Cu", + "name": "", "useMultipleDirections": false, "directions": [ { @@ -2212,7 +2161,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "кот_сидит_нейтраль.png", + "image": "платформа.png", "points": [], "originPoint": { "name": "origine", @@ -2230,9 +2179,27 @@ ] } ] - }, + } + ] + }, + { + "name": "CTEHA", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ { - "name": "Cu_HE", + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior", + "canBeGrabbed": true, + "platformType": "NormalPlatform", + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "", "useMultipleDirections": false, "directions": [ { @@ -2241,59 +2208,13 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "кот_сидит_недоволен.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] - } - ] - } - ] - }, - { - "name": "JIu}|{ET", - "useMultipleDirections": false, - "directions": [ - { - "looping": true, - "timeBetweenFrames": 0.3, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "кот_лижет_лужу_язык.png", + "image": "платформа.png", "points": [], "originPoint": { "name": "origine", "x": 0, - "y": 140 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, "y": 0 }, - "customCollisionMask": [] - }, - { - "hasCustomCollisionMask": false, - "image": "кот_лижет_лужу_без_языка.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 140 - }, "centerPoint": { "automatic": true, "name": "centre", @@ -2309,7 +2230,7 @@ ] }, { - "name": "MbILLIb", + "name": "JIYK", "tags": "", "type": "Sprite", "updateIfNotVisible": false, @@ -2326,7 +2247,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "мышь.png", + "image": "лук.png", "points": [], "originPoint": { "name": "origine", @@ -2348,7 +2269,7 @@ ] }, { - "name": "KP_nO", + "name": "CTPEJIA", "tags": "", "type": "Sprite", "updateIfNotVisible": false, @@ -2365,7 +2286,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "крышка-подпола.png", + "image": "стрела.png", "points": [], "originPoint": { "name": "origine", @@ -2373,45 +2294,29 @@ "y": 0 }, "centerPoint": { - "automatic": false, + "automatic": true, "name": "centre", - "x": 52.6836, - "y": 53.8514 + "x": 0, + "y": 0 }, "customCollisionMask": [] } ] } ] - }, - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [] - } - ] } ] }, { - "name": "nEPEXOD", + "name": "TETEBA", "tags": "", "type": "Sprite", "updateIfNotVisible": false, - "variables": [ - { - "name": "НАПРАВЛЕНИЕ", - "value": "1" - } - ], + "variables": [], "behaviors": [], "animations": [ { - "name": "", + "name": "Заряд", "useMultipleDirections": false, "directions": [ { @@ -2420,7 +2325,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "платформа.png", + "image": "тетева-0.png", "points": [], "originPoint": { "name": "origine", @@ -2438,27 +2343,9 @@ ] } ] - } - ] - }, - { - "name": "CTEHA", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [ - { - "name": "Platform", - "type": "PlatformBehavior::PlatformBehavior", - "canBeGrabbed": true, - "platformType": "NormalPlatform", - "yGrabOffset": 0 - } - ], - "animations": [ + }, { - "name": "", + "name": "Разряд", "useMultipleDirections": false, "directions": [ { @@ -2467,7 +2354,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "платформа.png", + "image": "тетева-1.png", "points": [], "originPoint": { "name": "origine", @@ -2489,7 +2376,7 @@ ] }, { - "name": "JIYK", + "name": "KOT", "tags": "", "type": "Sprite", "updateIfNotVisible": false, @@ -2497,7 +2384,7 @@ "behaviors": [], "animations": [ { - "name": "", + "name": "Ждёт", "useMultipleDirections": false, "directions": [ { @@ -2505,8 +2392,8 @@ "timeBetweenFrames": 0.08, "sprites": [ { - "hasCustomCollisionMask": false, - "image": "лук.png", + "hasCustomCollisionMask": true, + "image": "кот_сидит_нейтраль.png", "points": [], "originPoint": { "name": "origine", @@ -2519,101 +2406,42 @@ "x": 0, "y": 0 }, - "customCollisionMask": [] - } - ] - } - ] - } - ] - }, - { - "name": "CTPEJIA", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "стрела.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] - } - ] - } - ] - } - ] - }, - { - "name": "TETEBA", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "Заряд", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "тетева-0.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] + "customCollisionMask": [ + [ + { + "x": 7.96224, + "y": 3.92578 + }, + { + "x": 727.135, + "y": 3.45703 + }, + { + "x": 726.96, + "y": 342.376 + }, + { + "x": 5.73568, + "y": 342.526 + } + ] + ] } ] } ] }, { - "name": "Разряд", + "name": "Лижет", "useMultipleDirections": false, "directions": [ { - "looping": false, - "timeBetweenFrames": 0.08, + "looping": true, + "timeBetweenFrames": 0.3, "sprites": [ { - "hasCustomCollisionMask": false, - "image": "тетева-1.png", + "hasCustomCollisionMask": true, + "image": "кот_лижет_лужу_без_языка.png", "points": [], "originPoint": { "name": "origine", @@ -2626,33 +2454,30 @@ "x": 0, "y": 0 }, - "customCollisionMask": [] - } - ] - } - ] - } - ] - }, - { - "name": "KOT2", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "Ждёт", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ + "customCollisionMask": [ + [ + { + "x": 0.144531, + "y": 170.66 + }, + { + "x": 762.609, + "y": 171.207 + }, + { + "x": 762.633, + "y": 459.922 + }, + { + "x": 1.08984, + "y": 459.719 + } + ] + ] + }, { - "hasCustomCollisionMask": false, - "image": "кот_сидит_нейтраль.png", + "hasCustomCollisionMask": true, + "image": "кот_лижет_лужу_язык.png", "points": [], "originPoint": { "name": "origine", @@ -2665,7 +2490,26 @@ "x": 0, "y": 0 }, - "customCollisionMask": [] + "customCollisionMask": [ + [ + { + "x": 0.144531, + "y": 170.66 + }, + { + "x": 762.609, + "y": 171.207 + }, + { + "x": 762.633, + "y": 459.922 + }, + { + "x": 1.08984, + "y": 459.719 + } + ] + ] } ] } @@ -2789,101 +2633,6 @@ "OT" ], "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "JIY" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjetTxt" - }, - "parameters": [ - "MO", - "CT", - "=", - "\"1\"" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_BP", - "=", - "MO.Angle()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_Y", - "=", - "MO.Y()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_X_K", - "=", - "KOT.X() - 230" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_Y_K", - "=", - "KOT.Y() + 210" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_X", - "=", - "KOT.X()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_Y", - "=", - "KOT.Y()" - ], - "subInstructions": [] } ], "events": [] @@ -2892,41 +2641,33 @@ "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsMoving" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - } - ], + "conditions": [], "actions": [ { "type": { "inverted": false, - "value": "ModVarScene" + "value": "CameraX" }, "parameters": [ - "KO_HA", + "", "=", - "KO.X() - Variable(KO_X)" + "lerp(CameraX(), KO.X(), 0.1)", + "", + "" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "CameraY" }, "parameters": [ - "KO_X", + "", "=", - "KO.X()" + "lerp(CameraY(), KO.Y(), 0.1)", + "", + "" ], "subInstructions": [] } @@ -2934,573 +2675,236 @@ "events": [] }, { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "folded": true, + "name": "Колобок", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsMoving" - }, - "parameters": [ - "KO", - "PlatformerObject" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "KO_HA", + "=", + "KO.X() - Variable(KO_X)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "KO_X", + "=", + "KO.X()" + ], + "subInstructions": [] + } + ], + "events": [] }, { - "type": { - "inverted": true, - "value": "PlatformBehavior::IsJumping" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KO", - "\"Motion\"" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": true, - "value": "PlatformBehavior::IsMoving" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KO", - "\"Idle\"" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "KO_HA", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "FlipX" - }, - "parameters": [ - "KO", - "yes" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "KO_HA", - ">=", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "FlipX" - }, - "parameters": [ - "KO", - "no" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsJumping" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KO", - "\"Jump\"" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "CameraX" - }, - "parameters": [ - "", - "=", - "lerp(CameraX(), KO.X(), 0.1)", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CameraY" - }, - "parameters": [ - "", - "=", - "lerp(CameraY(), KO.Y(), 0.1)", - "", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "KO", - "MO", - "", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarObjetTxt" - }, - "parameters": [ - "MO", - "CT", - "=", - "\"1\"" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SetCanJump" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjetTxt" - }, - "parameters": [ - "MO", - "CT", - "=", - "\"0\"" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_BP", - "=", - "90" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_Y", - "=", - "MO.Y() + Table.Height() + 15" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "SetAngle" - }, - "parameters": [ - "MO", - "=", - "lerp(MO.Angle(), Variable(MO_BP), Variable(CK_AH))" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "MettreY" - }, - "parameters": [ - "MO", - "=", - "lerp(MO.Y(), Variable(MO_Y), Variable(CK_AH))" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "MO", - "nOJI", - "85", - "", - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_BHu3Y", - "=", - "1" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "MO_BHu3Y", - "=", - "1" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "JIY", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_X", - "=", - "Variable(KOT_X_K)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_Y", - "=", - "Variable(KOT_Y_K)" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Motion\"" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] }, { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "KO", - "KOT", - "", - "", - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SetCanJump" - }, - "parameters": [ - "KO", - "PlatformerObject" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" - }, - "parameters": [ - "KO", - "PlatformerObject" + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Idle\"" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] }, { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KOT", - "\"Cu_HE\"" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + "<", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "MettreXY" - }, - "parameters": [ - "KOT", - "=", - "lerp(KOT.X(), Variable(KOT_X), Variable(CK_AH_K))", - "=", - "lerp(KOT.Y(), Variable(KOT_Y), Variable(CK_AH_K))" + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "yes" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "events": [] + }, { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "KOT", - "nOJI", - "", - "", - "" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + ">=", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "actions": [ + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + }, { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KOT", - "\"JIu}|{ET\"" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Jump\"" + ], + "subInstructions": [] + } + ], + "events": [] } ], - "events": [] + "parameters": [] }, { "colorB": 228, @@ -3508,8 +2912,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "ШАХТА", + "folded": true, + "name": "Шахта", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -3770,8 +3174,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "ПЕРЕХОД", + "folded": true, + "name": "Переход", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4036,7 +3440,7 @@ "creationTime": 0, "disabled": false, "folded": true, - "name": "ОТЛАДКА", + "name": "Отладка", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4058,8 +3462,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "НЕВИДИМКИ", + "folded": true, + "name": "Невидимки", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4112,8 +3516,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "ЛУК", + "folded": true, + "name": "Лук", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4276,8 +3680,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "Кот", + "folded": true, + "name": "Молоко", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4295,18 +3699,169 @@ "" ], "subInstructions": [] - } - ], - "actions": [ + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Скорость", + "=", + "0.5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Конец.Y", + "=", + "412" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Конец.Угол", + "=", + "95" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Цель.Угол", + "=", + "MOJIOKO.Angle()" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Цель.Y", + "=", + "MOJIOKO.Y()" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "JIYIIIA" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "MOJIOKO", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SetCanJump" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateJumpKey" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "ChangePlan" }, "parameters": [ - "Кот.Внизу", + "MOJIOKO", "=", - "0" + "3" ], "subInstructions": [] }, @@ -4316,9 +3871,9 @@ "value": "ModVarScene" }, "parameters": [ - "Кот.Цель.Y", + "Молоко.Опрокинуто", "=", - "KOT2.Y()" + "1" ], "subInstructions": [] }, @@ -4328,9 +3883,9 @@ "value": "ModVarScene" }, "parameters": [ - "Кот.Скорость", + "Молоко.Цель.Y", "=", - "0.3" + "Variable(Молоко.Конец.Y)" ], "subInstructions": [] }, @@ -4340,29 +3895,15 @@ "value": "ModVarScene" }, "parameters": [ - "Кот.Конец.Y", + "Молоко.Цель.Угол", "=", - "390" + "Variable(Молоко.Конец.Угол)" ], "subInstructions": [] } ], "events": [] - } - ], - "parameters": [] - }, - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": false, - "name": "Молоко", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ + }, { "disabled": false, "folded": false, @@ -4371,10 +3912,12 @@ { "type": { "inverted": false, - "value": "DepartScene" + "value": "VarScene" }, "parameters": [ - "" + "Молоко.Опрокинуто", + "=", + "1" ], "subInstructions": [] } @@ -4383,88 +3926,99 @@ { "type": { "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" + "value": "MettreY" }, "parameters": [ - "Молоко.Скорость", + "MOJIOKO", "=", - "0.5" + "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "SetAngle" }, "parameters": [ - "Молоко.Конец.Y", + "MOJIOKO", "=", - "412" + "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" ], "subInstructions": [] - }, + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ { "type": { - "inverted": false, - "value": "ModVarScene" + "inverted": true, + "value": "Visible" }, "parameters": [ - "Молоко.Конец.Угол", - "=", - "95" + "JIYIIIA" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "VarScene" }, "parameters": [ - "Молоко.Цель.Угол", + "Молоко.Опрокинуто", "=", - "MOJIOKO.Angle()" + "1" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "Angle" }, "parameters": [ - "Молоко.Цель.Y", - "=", - "MOJIOKO.Y()" + "MOJIOKO", + ">", + "Variable(Молоко.Цель.Угол)-0.1" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "Cache" + "value": "Montre" }, "parameters": [ - "JIYIIIA" + "JIYIIIA", + "" ], "subInstructions": [] } ], "events": [] - }, + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Кот", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { "disabled": false, "folded": false, @@ -4473,109 +4027,103 @@ { "type": { "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CollisionNP" + "value": "DepartScene" }, "parameters": [ - "KO", - "MOJIOKO", - "", - "", "" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "VarScene" + "value": "ModVarScene" }, "parameters": [ - "Молоко.Опрокинуто", + "Кот.Внизу", "=", "0" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "PlatformBehavior::SetCanJump" + "value": "ModVarScene" }, "parameters": [ - "KO", - "PlatformerObject" + "Кот.Цель.Y", + "=", + "355" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" + "value": "ModVarScene" }, "parameters": [ - "KO", - "PlatformerObject" + "Кот.Скорость", + "=", + "0.15" ], "subInstructions": [] - }, + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ { "type": { "inverted": false, - "value": "ChangePlan" + "value": "Visible" }, "parameters": [ - "MOJIOKO", - "=", - "3" + "JIYIIIA" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "VarScene" }, "parameters": [ - "Молоко.Опрокинуто", + "Кот.Внизу", "=", - "1" + "0" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "ModVarScene" + "value": "MettreY" }, "parameters": [ - "Молоко.Цель.Y", + "KOT", "=", - "Variable(Молоко.Конец.Y)" + "lerp(KOT.Y(), Variable(Кот.Цель.Y), Variable(Кот.Скорость))" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "SetAnimationName" }, "parameters": [ - "Молоко.Цель.Угол", - "=", - "Variable(Молоко.Конец.Угол)" + "KOT", + "\"Лижет\"" ], "subInstructions": [] } @@ -4590,38 +4138,38 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "PosY" }, "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" + "KOT", + ">", + "Variable(Кот.Цель.Y) - 0.1" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "MettreY" + "value": "VarScene" }, "parameters": [ - "MOJIOKO", + "Кот.Внизу", "=", - "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" + "0" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "SetAngle" + "value": "ModVarScene" }, "parameters": [ - "MOJIOKO", + "Кот.Внизу", "=", - "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" + "1" ], "subInstructions": [] } @@ -4639,7 +4187,7 @@ "value": "VarScene" }, "parameters": [ - "Молоко.Опрокинуто", + "Кот.Внизу", "=", "1" ], @@ -4648,12 +4196,25 @@ { "type": { "inverted": false, - "value": "Angle" + "value": "PlatformBehavior::IsFalling" }, "parameters": [ - "MOJIOKO", - ">", - "Variable(Молоко.Цель.Угол)-1" + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "KOT", + "", + "", + "" ], "subInstructions": [] } @@ -4662,11 +4223,22 @@ { "type": { "inverted": false, - "value": "Montre" + "value": "PlatformBehavior::SetCanJump" }, "parameters": [ - "JIYIIIA", - "" + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateJumpKey" + }, + "parameters": [ + "KO", + "PlatformerObject" ], "subInstructions": [] } diff --git a/game.json.autosave b/game.json.autosave index c420965..cc3b288 100644 --- a/game.json.autosave +++ b/game.json.autosave @@ -735,42 +735,10 @@ }, "objectsGroups": [], "variables": [ - { - "name": "MO_BP", - "value": "" - }, - { - "name": "MO_Y", - "value": "" - }, - { - "name": "KOT_X", - "value": "" - }, - { - "name": "KOT_Y", - "value": "" - }, { "name": "CK_AH", "value": "0.2" }, - { - "name": "MO_BHu3Y", - "value": "0" - }, - { - "name": "KOT_X_K", - "value": "" - }, - { - "name": "KOT_Y_K", - "value": "" - }, - { - "name": "CK_AH_K", - "value": "0.05" - }, { "name": "KP_nO", "children": [ @@ -866,6 +834,28 @@ ] } ] + }, + { + "name": "Кот", + "children": [ + { + "name": "Внизу", + "value": "" + }, + { + "name": "Скорость", + "value": "" + }, + { + "name": "Цель", + "children": [ + { + "name": "Y", + "value": "" + } + ] + } + ] } ], "instances": [ @@ -1109,22 +1099,6 @@ "stringProperties": [], "initialVariables": [] }, - { - "angle": 0, - "customSize": true, - "height": 78, - "layer": "", - "locked": false, - "name": "MO", - "persistentUuid": "7fe6d256-d6fe-4e91-a2e3-65047705896d", - "width": 49, - "x": 939, - "y": 342, - "zOrder": 8, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, { "angle": -5, "customSize": true, @@ -1173,38 +1147,6 @@ "stringProperties": [], "initialVariables": [] }, - { - "angle": 0, - "customSize": true, - "height": 44, - "layer": "", - "locked": false, - "name": "JIY", - "persistentUuid": "623f094f-80c4-49d0-8ad6-783d64ce9a53", - "width": 103, - "x": 977, - "y": 552, - "zOrder": 3, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, - { - "angle": 0, - "customSize": true, - "height": 92, - "layer": "", - "locked": false, - "name": "KOT", - "persistentUuid": "0ffa0669-dc67-4d4c-8d80-20eb3edb4670", - "width": 182, - "x": 1266, - "y": 290, - "zOrder": 12, - "numberProperties": [], - "stringProperties": [], - "initialVariables": [] - }, { "angle": 0, "customSize": true, @@ -1413,10 +1355,10 @@ "height": 92, "layer": "", "locked": false, - "name": "KOT2", + "name": "KOT", "persistentUuid": "19b2ff6d-a86f-4740-89fb-07d3df912e6b", "width": 182, - "x": 367, + "x": 340, "y": 162, "zOrder": 19, "numberProperties": [], @@ -2108,20 +2050,11 @@ ] }, { - "name": "MO", + "name": "MbILLIb", "tags": "", "type": "Sprite", "updateIfNotVisible": false, - "variables": [ - { - "name": "CT", - "value": "1" - }, - { - "name": "BP", - "value": "0" - } - ], + "variables": [], "behaviors": [], "animations": [ { @@ -2134,7 +2067,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "банка_молока.png", + "image": "мышь.png", "points": [], "originPoint": { "name": "origine", @@ -2156,7 +2089,7 @@ ] }, { - "name": "JIY", + "name": "KP_nO", "tags": "", "type": "Sprite", "updateIfNotVisible": false, @@ -2173,7 +2106,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "лужа.png", + "image": "крышка-подпола.png", "points": [], "originPoint": { "name": "origine", @@ -2181,29 +2114,45 @@ "y": 0 }, "centerPoint": { - "automatic": true, + "automatic": false, "name": "centre", - "x": 0, - "y": 0 + "x": 52.6836, + "y": 53.8514 }, "customCollisionMask": [] } ] } ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [] + } + ] } ] }, { - "name": "KOT", + "name": "nEPEXOD", "tags": "", "type": "Sprite", "updateIfNotVisible": false, - "variables": [], + "variables": [ + { + "name": "НАПРАВЛЕНИЕ", + "value": "1" + } + ], "behaviors": [], "animations": [ { - "name": "Cu", + "name": "", "useMultipleDirections": false, "directions": [ { @@ -2212,7 +2161,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "кот_сидит_нейтраль.png", + "image": "платформа.png", "points": [], "originPoint": { "name": "origine", @@ -2230,9 +2179,27 @@ ] } ] - }, + } + ] + }, + { + "name": "CTEHA", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ { - "name": "Cu_HE", + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior", + "canBeGrabbed": true, + "platformType": "NormalPlatform", + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "", "useMultipleDirections": false, "directions": [ { @@ -2241,59 +2208,13 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "кот_сидит_недоволен.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] - } - ] - } - ] - }, - { - "name": "JIu}|{ET", - "useMultipleDirections": false, - "directions": [ - { - "looping": true, - "timeBetweenFrames": 0.3, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "кот_лижет_лужу_язык.png", + "image": "платформа.png", "points": [], "originPoint": { "name": "origine", "x": 0, - "y": 140 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, "y": 0 }, - "customCollisionMask": [] - }, - { - "hasCustomCollisionMask": false, - "image": "кот_лижет_лужу_без_языка.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 140 - }, "centerPoint": { "automatic": true, "name": "centre", @@ -2309,7 +2230,7 @@ ] }, { - "name": "MbILLIb", + "name": "JIYK", "tags": "", "type": "Sprite", "updateIfNotVisible": false, @@ -2326,7 +2247,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "мышь.png", + "image": "лук.png", "points": [], "originPoint": { "name": "origine", @@ -2348,7 +2269,7 @@ ] }, { - "name": "KP_nO", + "name": "CTPEJIA", "tags": "", "type": "Sprite", "updateIfNotVisible": false, @@ -2365,7 +2286,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "крышка-подпола.png", + "image": "стрела.png", "points": [], "originPoint": { "name": "origine", @@ -2373,45 +2294,29 @@ "y": 0 }, "centerPoint": { - "automatic": false, + "automatic": true, "name": "centre", - "x": 52.6836, - "y": 53.8514 + "x": 0, + "y": 0 }, "customCollisionMask": [] } ] } ] - }, - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [] - } - ] } ] }, { - "name": "nEPEXOD", + "name": "TETEBA", "tags": "", "type": "Sprite", "updateIfNotVisible": false, - "variables": [ - { - "name": "НАПРАВЛЕНИЕ", - "value": "1" - } - ], + "variables": [], "behaviors": [], "animations": [ { - "name": "", + "name": "Заряд", "useMultipleDirections": false, "directions": [ { @@ -2420,7 +2325,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "платформа.png", + "image": "тетева-0.png", "points": [], "originPoint": { "name": "origine", @@ -2438,27 +2343,9 @@ ] } ] - } - ] - }, - { - "name": "CTEHA", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [ - { - "name": "Platform", - "type": "PlatformBehavior::PlatformBehavior", - "canBeGrabbed": true, - "platformType": "NormalPlatform", - "yGrabOffset": 0 - } - ], - "animations": [ + }, { - "name": "", + "name": "Разряд", "useMultipleDirections": false, "directions": [ { @@ -2467,7 +2354,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "платформа.png", + "image": "тетева-1.png", "points": [], "originPoint": { "name": "origine", @@ -2489,7 +2376,7 @@ ] }, { - "name": "JIYK", + "name": "KOT", "tags": "", "type": "Sprite", "updateIfNotVisible": false, @@ -2497,7 +2384,7 @@ "behaviors": [], "animations": [ { - "name": "", + "name": "Ждёт", "useMultipleDirections": false, "directions": [ { @@ -2505,8 +2392,8 @@ "timeBetweenFrames": 0.08, "sprites": [ { - "hasCustomCollisionMask": false, - "image": "лук.png", + "hasCustomCollisionMask": true, + "image": "кот_сидит_нейтраль.png", "points": [], "originPoint": { "name": "origine", @@ -2519,101 +2406,42 @@ "x": 0, "y": 0 }, - "customCollisionMask": [] - } - ] - } - ] - } - ] - }, - { - "name": "CTPEJIA", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "стрела.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] - } - ] - } - ] - } - ] - }, - { - "name": "TETEBA", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "Заряд", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "тетева-0.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] + "customCollisionMask": [ + [ + { + "x": 7.96224, + "y": 3.92578 + }, + { + "x": 727.135, + "y": 3.45703 + }, + { + "x": 726.96, + "y": 342.376 + }, + { + "x": 5.73568, + "y": 342.526 + } + ] + ] } ] } ] }, { - "name": "Разряд", + "name": "Лижет", "useMultipleDirections": false, "directions": [ { - "looping": false, - "timeBetweenFrames": 0.08, + "looping": true, + "timeBetweenFrames": 0.3, "sprites": [ { - "hasCustomCollisionMask": false, - "image": "тетева-1.png", + "hasCustomCollisionMask": true, + "image": "кот_лижет_лужу_без_языка.png", "points": [], "originPoint": { "name": "origine", @@ -2626,33 +2454,30 @@ "x": 0, "y": 0 }, - "customCollisionMask": [] - } - ] - } - ] - } - ] - }, - { - "name": "KOT2", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "Ждёт", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ + "customCollisionMask": [ + [ + { + "x": 0.144531, + "y": 170.66 + }, + { + "x": 762.609, + "y": 171.207 + }, + { + "x": 762.633, + "y": 459.922 + }, + { + "x": 1.08984, + "y": 459.719 + } + ] + ] + }, { - "hasCustomCollisionMask": false, - "image": "кот_сидит_нейтраль.png", + "hasCustomCollisionMask": true, + "image": "кот_лижет_лужу_язык.png", "points": [], "originPoint": { "name": "origine", @@ -2665,7 +2490,26 @@ "x": 0, "y": 0 }, - "customCollisionMask": [] + "customCollisionMask": [ + [ + { + "x": 0.144531, + "y": 170.66 + }, + { + "x": 762.609, + "y": 171.207 + }, + { + "x": 762.633, + "y": 459.922 + }, + { + "x": 1.08984, + "y": 459.719 + } + ] + ] } ] } @@ -2789,101 +2633,6 @@ "OT" ], "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "JIY" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjetTxt" - }, - "parameters": [ - "MO", - "CT", - "=", - "\"1\"" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_BP", - "=", - "MO.Angle()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_Y", - "=", - "MO.Y()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_X_K", - "=", - "KOT.X() - 230" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_Y_K", - "=", - "KOT.Y() + 210" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_X", - "=", - "KOT.X()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_Y", - "=", - "KOT.Y()" - ], - "subInstructions": [] } ], "events": [] @@ -2892,41 +2641,33 @@ "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsMoving" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - } - ], + "conditions": [], "actions": [ { "type": { "inverted": false, - "value": "ModVarScene" + "value": "CameraX" }, "parameters": [ - "KO_HA", + "", "=", - "KO.X() - Variable(KO_X)" + "lerp(CameraX(), KO.X(), 0.1)", + "", + "" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "CameraY" }, "parameters": [ - "KO_X", + "", "=", - "KO.X()" + "lerp(CameraY(), KO.Y(), 0.1)", + "", + "" ], "subInstructions": [] } @@ -2934,573 +2675,236 @@ "events": [] }, { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "folded": true, + "name": "Колобок", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsMoving" - }, - "parameters": [ - "KO", - "PlatformerObject" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "KO_HA", + "=", + "KO.X() - Variable(KO_X)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "KO_X", + "=", + "KO.X()" + ], + "subInstructions": [] + } + ], + "events": [] }, { - "type": { - "inverted": true, - "value": "PlatformBehavior::IsJumping" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KO", - "\"Motion\"" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": true, - "value": "PlatformBehavior::IsMoving" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KO", - "\"Idle\"" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "KO_HA", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "FlipX" - }, - "parameters": [ - "KO", - "yes" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "KO_HA", - ">=", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "FlipX" - }, - "parameters": [ - "KO", - "no" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsJumping" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KO", - "\"Jump\"" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "CameraX" - }, - "parameters": [ - "", - "=", - "lerp(CameraX(), KO.X(), 0.1)", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CameraY" - }, - "parameters": [ - "", - "=", - "lerp(CameraY(), KO.Y(), 0.1)", - "", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "KO", - "MO", - "", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarObjetTxt" - }, - "parameters": [ - "MO", - "CT", - "=", - "\"1\"" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SetCanJump" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarObjetTxt" - }, - "parameters": [ - "MO", - "CT", - "=", - "\"0\"" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_BP", - "=", - "90" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_Y", - "=", - "MO.Y() + Table.Height() + 15" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "SetAngle" - }, - "parameters": [ - "MO", - "=", - "lerp(MO.Angle(), Variable(MO_BP), Variable(CK_AH))" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "MettreY" - }, - "parameters": [ - "MO", - "=", - "lerp(MO.Y(), Variable(MO_Y), Variable(CK_AH))" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "MO", - "nOJI", - "85", - "", - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "MO_BHu3Y", - "=", - "1" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "MO_BHu3Y", - "=", - "1" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "JIY", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_X", - "=", - "Variable(KOT_X_K)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "KOT_Y", - "=", - "Variable(KOT_Y_K)" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Motion\"" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] }, { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "KO", - "KOT", - "", - "", - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SetCanJump" - }, - "parameters": [ - "KO", - "PlatformerObject" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" - }, - "parameters": [ - "KO", - "PlatformerObject" + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Idle\"" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] }, { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KOT", - "\"Cu_HE\"" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + "<", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "MettreXY" - }, - "parameters": [ - "KOT", - "=", - "lerp(KOT.X(), Variable(KOT_X), Variable(CK_AH_K))", - "=", - "lerp(KOT.Y(), Variable(KOT_Y), Variable(CK_AH_K))" + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "yes" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "events": [] + }, { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "KOT", - "nOJI", - "", - "", - "" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + ">=", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "actions": [ + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + }, { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KOT", - "\"JIu}|{ET\"" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Jump\"" + ], + "subInstructions": [] + } + ], + "events": [] } ], - "events": [] + "parameters": [] }, { "colorB": 228, @@ -3508,8 +2912,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "ШАХТА", + "folded": true, + "name": "Шахта", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -3770,8 +3174,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "ПЕРЕХОД", + "folded": true, + "name": "Переход", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4036,7 +3440,7 @@ "creationTime": 0, "disabled": false, "folded": true, - "name": "ОТЛАДКА", + "name": "Отладка", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4058,8 +3462,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "НЕВИДИМКИ", + "folded": true, + "name": "Невидимки", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4112,8 +3516,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "ЛУК", + "folded": true, + "name": "Лук", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4276,8 +3680,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, - "name": "Кот", + "folded": true, + "name": "Молоко", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -4295,18 +3699,169 @@ "" ], "subInstructions": [] - } - ], - "actions": [ + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Скорость", + "=", + "0.5" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Конец.Y", + "=", + "412" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Конец.Угол", + "=", + "95" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Цель.Угол", + "=", + "MOJIOKO.Angle()" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Цель.Y", + "=", + "MOJIOKO.Y()" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "JIYIIIA" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "MOJIOKO", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SetCanJump" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateJumpKey" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "ChangePlan" }, "parameters": [ - "Кот.Внизу", + "MOJIOKO", "=", - "0" + "3" ], "subInstructions": [] }, @@ -4316,9 +3871,9 @@ "value": "ModVarScene" }, "parameters": [ - "Кот.Цель.Y", + "Молоко.Опрокинуто", "=", - "KOT2.Y()" + "1" ], "subInstructions": [] }, @@ -4328,9 +3883,9 @@ "value": "ModVarScene" }, "parameters": [ - "Кот.Скорость", + "Молоко.Цель.Y", "=", - "0.3" + "Variable(Молоко.Конец.Y)" ], "subInstructions": [] }, @@ -4340,29 +3895,15 @@ "value": "ModVarScene" }, "parameters": [ - "Кот.Конец.Y", + "Молоко.Цель.Угол", "=", - "390" + "Variable(Молоко.Конец.Угол)" ], "subInstructions": [] } ], "events": [] - } - ], - "parameters": [] - }, - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": false, - "name": "Молоко", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ + }, { "disabled": false, "folded": false, @@ -4371,10 +3912,12 @@ { "type": { "inverted": false, - "value": "DepartScene" + "value": "VarScene" }, "parameters": [ - "" + "Молоко.Опрокинуто", + "=", + "1" ], "subInstructions": [] } @@ -4383,88 +3926,99 @@ { "type": { "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" + "value": "MettreY" }, "parameters": [ - "Молоко.Скорость", + "MOJIOKO", "=", - "0.5" + "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "SetAngle" }, "parameters": [ - "Молоко.Конец.Y", + "MOJIOKO", "=", - "412" + "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" ], "subInstructions": [] - }, + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ { "type": { - "inverted": false, - "value": "ModVarScene" + "inverted": true, + "value": "Visible" }, "parameters": [ - "Молоко.Конец.Угол", - "=", - "95" + "JIYIIIA" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "VarScene" }, "parameters": [ - "Молоко.Цель.Угол", + "Молоко.Опрокинуто", "=", - "MOJIOKO.Angle()" + "1" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "Angle" }, "parameters": [ - "Молоко.Цель.Y", - "=", - "MOJIOKO.Y()" + "MOJIOKO", + ">", + "Variable(Молоко.Цель.Угол)-0.1" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "Cache" + "value": "Montre" }, "parameters": [ - "JIYIIIA" + "JIYIIIA", + "" ], "subInstructions": [] } ], "events": [] - }, + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Кот", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { "disabled": false, "folded": false, @@ -4473,109 +4027,103 @@ { "type": { "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CollisionNP" + "value": "DepartScene" }, "parameters": [ - "KO", - "MOJIOKO", - "", - "", "" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "VarScene" + "value": "ModVarScene" }, "parameters": [ - "Молоко.Опрокинуто", + "Кот.Внизу", "=", "0" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "PlatformBehavior::SetCanJump" + "value": "ModVarScene" }, "parameters": [ - "KO", - "PlatformerObject" + "Кот.Цель.Y", + "=", + "355" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" + "value": "ModVarScene" }, "parameters": [ - "KO", - "PlatformerObject" + "Кот.Скорость", + "=", + "0.15" ], "subInstructions": [] - }, + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ { "type": { "inverted": false, - "value": "ChangePlan" + "value": "Visible" }, "parameters": [ - "MOJIOKO", - "=", - "3" + "JIYIIIA" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "VarScene" }, "parameters": [ - "Молоко.Опрокинуто", + "Кот.Внизу", "=", - "1" + "0" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "ModVarScene" + "value": "MettreY" }, "parameters": [ - "Молоко.Цель.Y", + "KOT", "=", - "Variable(Молоко.Конец.Y)" + "lerp(KOT.Y(), Variable(Кот.Цель.Y), Variable(Кот.Скорость))" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "SetAnimationName" }, "parameters": [ - "Молоко.Цель.Угол", - "=", - "Variable(Молоко.Конец.Угол)" + "KOT", + "\"Лижет\"" ], "subInstructions": [] } @@ -4590,38 +4138,38 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "PosY" }, "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" + "KOT", + ">", + "Variable(Кот.Цель.Y) - 0.1" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "MettreY" + "value": "VarScene" }, "parameters": [ - "MOJIOKO", + "Кот.Внизу", "=", - "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" + "0" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "SetAngle" + "value": "ModVarScene" }, "parameters": [ - "MOJIOKO", + "Кот.Внизу", "=", - "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" + "1" ], "subInstructions": [] } @@ -4639,7 +4187,7 @@ "value": "VarScene" }, "parameters": [ - "Молоко.Опрокинуто", + "Кот.Внизу", "=", "1" ], @@ -4648,12 +4196,25 @@ { "type": { "inverted": false, - "value": "Angle" + "value": "PlatformBehavior::IsFalling" }, "parameters": [ - "MOJIOKO", - ">", - "Variable(Молоко.Цель.Угол)-1" + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "KOT", + "", + "", + "" ], "subInstructions": [] } @@ -4662,11 +4223,22 @@ { "type": { "inverted": false, - "value": "Montre" + "value": "PlatformBehavior::SetCanJump" }, "parameters": [ - "JIYIIIA", - "" + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SimulateJumpKey" + }, + "parameters": [ + "KO", + "PlatformerObject" ], "subInstructions": [] }