From b0e6e17e5d8e108e2313f436585dc32efb994845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Fri, 26 Mar 2021 15:06:37 +0300 Subject: [PATCH] =?UTF-8?q?=D1=80=D0=BE=D0=BD=D1=8F=D1=82=D1=8C=20=D0=B1?= =?UTF-8?q?=D0=B0=D0=BD=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game.json | 2234 ++++++++++++++++++++++++++++++++++---------- game.json.autosave | 2234 ++++++++++++++++++++++++++++++++++---------- 2 files changed, 3450 insertions(+), 1018 deletions(-) diff --git a/game.json b/game.json index a560ba2..9104d62 100644 --- a/game.json +++ b/game.json @@ -3926,14 +3926,14 @@ { "angle": 0, "customSize": true, - "height": 48, + "height": 109, "layer": "", "locked": false, "name": "NewObject", "persistentUuid": "04b490aa-11ed-4f30-a050-45e02e4340db", - "width": 267, - "x": -151, - "y": 501, + "width": 143, + "x": 126, + "y": 471, "zOrder": 24, "numberProperties": [], "stringProperties": [], @@ -5603,7 +5603,7 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, + "folded": true, "name": "Колобок", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -7490,6 +7490,187 @@ "creationTime": 0, "disabled": false, "folded": false, + "name": "Движение банки молока", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "MOJIOKO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "BnPABO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + ">=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "MOJIOKO", + "KO.PlatformerObject::CurrentSpeed()", + "0", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "BJIEBO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + "<", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "MOJIOKO", + "KO.PlatformerObject::CurrentSpeed()", + "0", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, "name": "Кот?", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -8347,8 +8528,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": true, - "name": "Движение банки молока", + "folded": false, + "name": "Пуск 发射 Startup", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -8360,61 +8541,12 @@ { "type": { "inverted": false, - "value": "PlatformBehavior::IsOnFloor" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsMoving" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": true, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CollisionNP" + "value": "DepartScene" }, "parameters": [ - "KO", - "MOJIOKO", - "", - "", "" ], "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "0" - ], - "subInstructions": [] } ], "actions": [], @@ -8423,16 +8555,17 @@ "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "conditions": [], + "actions": [ { "type": { "inverted": false, - "value": "CollisionNP" + "value": "PlaySound" }, "parameters": [ - "MOJIOKO", - "BnPABO", "", + "звуки/387922__setuniman__scheming-1o95.mp3", + "yes", "", "" ], @@ -8441,143 +8574,10 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "Cache" }, "parameters": [ - "KO_HA", - ">=", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "AddForceXY" - }, - "parameters": [ - "MOJIOKO", - "KO.PlatformerObject::CurrentSpeed()", - "0", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "MOJIOKO", - "BJIEBO", - "", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "KO_HA", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "AddForceXY" - }, - "parameters": [ - "MOJIOKO", - "KO.PlatformerObject::CurrentSpeed()", - "0", - "" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - } - ], - "parameters": [] - }, - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": false, - "name": "Пуск 发射 Startup", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "PlaySound" - }, - "parameters": [ - "", - "звуки/387922__setuniman__scheming-1o95.mp3", - "yes", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "BnPABO" + "BnPABO" ], "subInstructions": [] }, @@ -17592,7 +17592,7 @@ "gridWidth": 32, "snap": true, "windowMask": false, - "zoomFactor": 0.8872 + "zoomFactor": 1.088 }, "objectsGroups": [], "variables": [ @@ -17608,10 +17608,6 @@ "value": "" } ] - }, - { - "name": "KO_HA", - "value": "22" } ], "instances": [ @@ -17620,7 +17616,7 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, + "locked": true, "name": "u36a", "persistentUuid": "01f106f9-91eb-41fd-b3a5-3ce0d7044088", "width": 0, @@ -17656,9 +17652,9 @@ "name": "KO", "persistentUuid": "13e59954-4523-4a9d-a8f8-0adde46ebb97", "width": 0, - "x": 347, - "y": 339, - "zOrder": 3, + "x": 339, + "y": 311, + "zOrder": 10, "numberProperties": [], "stringProperties": [], "initialVariables": [] @@ -17678,120 +17674,284 @@ "numberProperties": [], "stringProperties": [], "initialVariables": [] - } - ], - "objects": [ + }, { - "name": "u36a", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "сцены/изба.jpg", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] - } - ] - } - ] - } - ] + "angle": 0, + "customSize": true, + "height": 78, + "layer": "", + "locked": false, + "name": "MOJIOKO", + "persistentUuid": "e0f6532e-ec28-45e1-8ee1-e592020da70c", + "width": 49, + "x": 695, + "y": 394, + "zOrder": 20, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] }, { - "name": "KO", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [ - { - "name": "Направление", - "value": "233" - } - ], - "behaviors": [ - { - "name": "PlatformerObject", - "type": "PlatformBehavior::PlatformerObjectBehavior", - "acceleration": 1500, - "canGrabPlatforms": false, - "deceleration": 1500, - "gravity": 1000, - "ignoreDefaultControls": false, - "jumpSpeed": 600, - "jumpSustainTime": 0.1, - "ladderClimbingSpeed": 150, - "maxFallingSpeed": 700, - "maxSpeed": 250, - "roundCoordinates": true, - "slopeMaxAngle": 60, - "xGrabTolerance": 10, - "yGrabOffset": 0 - } - ], - "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": "Прыжок", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "MOJIOKO_nPABO", + "persistentUuid": "180cd3cb-39da-4a9f-be91-1a65d7b70a7d", + "width": 214, + "x": 544, + "y": 396, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "MOJIOKO_JIEBO", + "persistentUuid": "fcf74453-8673-4987-944f-112405b627e7", + "width": 216, + "x": 583, + "y": 432, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "f35daaba-847b-4691-838e-36e5dd99a1f3", + "width": 544, + "x": 573, + "y": 471, + "zOrder": 7, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "b6b08d97-f36c-4493-bd89-d40205d44acb", + "width": 59, + "x": 653, + "y": 336, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "3e213be4-df31-4383-991c-06ee4ded7e7c", + "width": 59, + "x": 756, + "y": 334, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "9579f04f-c59a-410f-821e-c0b1f39a62bd", + "width": 59, + "x": 847, + "y": 332, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "973ed538-9ba1-4bd9-8e45-146206d7da42", + "width": 330, + "x": 599, + "y": 246, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "4699f961-aca7-4169-8d4b-b9a10d31c8bb", + "width": 134, + "x": 934, + "y": 175, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "e9c51eec-37d0-4caa-98e3-89abfa2a142f", + "width": 605, + "x": 1257, + "y": 424, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "6fa5e5a8-dc6e-4813-8bb8-39527cfb1881", + "width": 204, + "x": 1671, + "y": 374, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 92, + "layer": "", + "locked": false, + "name": "KOT", + "persistentUuid": "27bbbc29-223e-43fc-ab3c-6769b2c97194", + "width": 182, + "x": 647, + "y": 158, + "zOrder": 20, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 24, + "layer": "", + "locked": false, + "name": "KPbILLIKA", + "persistentUuid": "9dd253eb-c9b7-4f1a-800e-020c91fc42ff", + "width": 146, + "x": 419, + "y": 562, + "zOrder": 20, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "f03848fc-b660-433c-b899-0c14e011570f", + "width": 127, + "x": 431, + "y": 582, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 55, + "layer": "", + "locked": false, + "name": "MOJIOKO_nADEHuE_JIEBO", + "persistentUuid": "16d13933-c97f-4461-91ae-c7ceb55d477a", + "width": 15, + "x": 549, + "y": 419, + "zOrder": 21, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 59, + "layer": "", + "locked": false, + "name": "MOJIOKO_nADEHuE_nPABO", + "persistentUuid": "fd205a1e-8cdf-4eaf-abdc-63bfad31c111", + "width": 14, + "x": 789, + "y": 397, + "zOrder": 22, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "objects": [ + { + "name": "u36a", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ { "hasCustomCollisionMask": false, - "image": "колобок/колобок_прыжок.png", + "image": "сцены/изба.jpg", "points": [], "originPoint": { "name": "origine", @@ -17809,18 +17969,52 @@ ] } ] - }, + } + ] + }, + { + "name": "KO", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [ { - "name": "Движение", + "name": "Направление", + "value": "233" + } + ], + "behaviors": [ + { + "jumpSustainTime": 0.16, + "name": "PlatformerObject", + "type": "PlatformBehavior::PlatformerObjectBehavior", + "acceleration": 1500, + "canGrabPlatforms": false, + "deceleration": 1500, + "gravity": 1000, + "ignoreDefaultControls": false, + "jumpSpeed": 600, + "ladderClimbingSpeed": 150, + "maxFallingSpeed": 700, + "maxSpeed": 250, + "roundCoordinates": true, + "slopeMaxAngle": 60, + "xGrabTolerance": 10, + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "Ожидание", "useMultipleDirections": false, "directions": [ { - "looping": true, + "looping": false, "timeBetweenFrames": 0.08, "sprites": [ { "hasCustomCollisionMask": false, - "image": "колобок/колобок_движение_1.png", + "image": "колобок/колобок_неподвижен.png", "points": [], "originPoint": { "name": "origine", @@ -17834,10 +18028,68 @@ "y": 0 }, "customCollisionMask": [] - }, + } + ] + } + ] + }, + { + "name": "Прыжок", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ { "hasCustomCollisionMask": false, - "image": "колобок/колобок_движение_2.png", + "image": "колобок/колобок_прыжок.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "Движение", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.06, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_2.png", "points": [], "originPoint": { "name": "origine", @@ -18088,79 +18340,1119 @@ "x": 0, "y": 0 }, - "customCollisionMask": [] + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_17.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "height": 32, + "name": "OCHOBA", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [ + { + "canBeGrabbed": false, + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior", + "platformType": "Jumpthru", + "yGrabOffset": 0 + } + ] + }, + { + "name": "MOJIOKO", + "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": [] + } + ] + } + ] + } + ] + }, + { + "height": 32, + "name": "MOJIOKO_JIEBO", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [] + }, + { + "height": 32, + "name": "MOJIOKO_nPABO", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [] + }, + { + "name": "KPbILLIKA", + "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": false, + "name": "centre", + "x": 52.6836, + "y": 53.8514 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [] + } + ] + } + ] + }, + { + "name": "KOT", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "Ждёт", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": true, + "image": "кот_сидит_нейтраль.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "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": "Лижет", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.3, + "sprites": [ + { + "hasCustomCollisionMask": true, + "image": "кот_лижет_лужу_без_языка.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "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": true, + "image": "кот_лижет_лужу_язык.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "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 + } + ] + ] + } + ] + } + ] + } + ] + }, + { + "height": 32, + "name": "MOJIOKO_nADEHuE_JIEBO", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [] + }, + { + "height": 32, + "name": "MOJIOKO_nADEHuE_nPABO", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [] + } + ], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Пуск", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SceneBackground" + }, + "parameters": [ + "", + "\"251;251;252\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "OCHOBA" + ], + "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, + "type": "BuiltinCommonInstructions::JsCode", + "inlineCode": "var OT = runtimeScene.getVariables().get(\"Отладка\");\nvar OT0 = OT.getChild(\"0\");\nvar OT1 = OT.getChild(\"1\");\nif (OT0.getAsString() != OT1.getAsString())\n{\n OT0.setString(OT1.getAsString());\n console.debug(\"Отладка:\", OT0.getAsString());\n}", + "parameterObjects": "", + "useStrict": true, + "eventsSheetExpanded": false + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Камера", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "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": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Колобок", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "KO", + "Направление", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "KO", + "X", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "KO", + "Направление", + "=", + "KO.X() - KO.Variable(X)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "KO", + "X", + "=", + "KO.X()" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Движение\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Ожидание\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "KO", + "Направление", + "<", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "yes" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "KO", + "Направление", + ">=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "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": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Прыжок\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "звуки/331381__qubodup__public-domain-jump-sound.wav", + "", + "", + "" + ], + "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, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "MOJIOKO_JIEBO" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "MOJIOKO_nPABO" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "MOJIOKO_nADEHuE_JIEBO" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "MOJIOKO_nADEHuE_nPABO" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "MOJIOKO", + "Скорость", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "MOJIOKO", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "MOJIOKO_nPABO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "KO", + "Направление", + ">=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "MOJIOKO", + "KO.PlatformerObject::CurrentSpeed()", + "0", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "MOJIOKO_JIEBO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "KO", + "Направление", + "<", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "MOJIOKO", + "KO.PlatformerObject::CurrentSpeed()", + "0", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "MOJIOKO_nADEHuE_JIEBO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "MOJIOKO", + "X", + "=", + "503" + ], + "subInstructions": [] }, { - "hasCustomCollisionMask": false, - "image": "колобок/колобок_движение_17.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 + "type": { + "inverted": false, + "value": "ModVarObjet" }, - "customCollisionMask": [] + "parameters": [ + "MOJIOKO", + "Y", + "=", + "503" + ], + "subInstructions": [] }, { - "hasCustomCollisionMask": false, - "image": "колобок/колобок_движение.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 + "type": { + "inverted": false, + "value": "ModVarObjet" }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 + "parameters": [ + "MOJIOKO", + "Угол", + "=", + "-87" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarObjet" }, - "customCollisionMask": [] + "parameters": [ + "MOJIOKO", + "Скорость", + "=", + "0.2" + ], + "subInstructions": [] } - ] + ], + "events": [] } ] - } - ] - }, - { - "height": 32, - "name": "OCHOBA", - "tags": "", - "texture": "указатели/основа.png", - "type": "TiledSpriteObject::TiledSprite", - "width": 32, - "variables": [], - "behaviors": [ - { - "name": "Platform", - "type": "PlatformBehavior::PlatformBehavior", - "canBeGrabbed": true, - "platformType": "Jumpthru", - "yGrabOffset": 0 - } - ] - } - ], - "events": [ - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": false, - "name": "Пуск", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ + }, { "disabled": false, "folded": false, @@ -18169,119 +19461,41 @@ { "type": { "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "SceneBackground" - }, - "parameters": [ - "", - "\"251;251;252\"" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" + "value": "VarObjet" }, "parameters": [ - "OCHOBA" + "MOJIOKO", + "Скорость", + ">", + "0" ], "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, - "type": "BuiltinCommonInstructions::JsCode", - "inlineCode": "var OT = runtimeScene.getVariables().get(\"Отладка\");\nvar OT0 = OT.getChild(\"0\");\nvar OT1 = OT.getChild(\"1\");\nif (OT0.getAsString() != OT1.getAsString())\n{\n OT0.setString(OT1.getAsString());\n console.debug(\"Отладка:\", OT0.getAsString());\n}", - "parameterObjects": "", - "useStrict": true, - "eventsSheetExpanded": false - } - ], - "parameters": [] - }, - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": false, - "name": "Колобок", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], "actions": [ { "type": { "inverted": false, - "value": "CameraX" + "value": "MettreXY" }, "parameters": [ - "", + "MOJIOKO", "=", - "lerp(CameraX(), KO.X(), 0.1)", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CameraY" - }, - "parameters": [ - "", + "lerp(MOJIOKO.X(), MOJIOKO.Variable(X), MOJIOKO.Variable(Скорость))", "=", - "lerp(CameraY(), KO.Y(), 0.1)", - "", - "" + "lerp(MOJIOKO.Y(), MOJIOKO.Variable(Y), MOJIOKO.Variable(Скорость))" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarSceneTxt" + "value": "SetAngle" }, "parameters": [ - "Отладка.1", + "MOJIOKO", "=", - "ToString(KO.Variable(Направление))" + "lerp(MOJIOKO.Angle(), MOJIOKO.Variable(Угол), MOJIOKO.Variable(Скорость))" ], "subInstructions": [] } @@ -18296,51 +19510,55 @@ { "type": { "inverted": false, - "value": "DepartScene" + "value": "Angle" }, "parameters": [ - "" + "MOJIOKO", + "<", + "MOJIOKO.Variable(Угол) + 2" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "ModVarObjet" + "value": "BuiltinCommonInstructions::Once" }, - "parameters": [ - "KO", - "Направление", - "=", - "555" - ], + "parameters": [], "subInstructions": [] } ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "actions": [ { "type": { "inverted": false, - "value": "PlatformBehavior::IsMoving" + "value": "ModVarObjet" }, "parameters": [ - "KO", - "PlatformerObject" + "MOJIOKO", + "Скорость", + "=", + "0" ], "subInstructions": [] } ], - "actions": [], "events": [] - }, + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Кот", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { "disabled": false, "folded": false, @@ -18349,13 +19567,12 @@ { "type": { "inverted": false, - "value": "VarObjet" + "value": "PosX" }, "parameters": [ - "KO", - "Направление", - "<=", - "0" + "KOT", + "<", + "MOJIOKO.X()" ], "subInstructions": [] } @@ -18367,7 +19584,7 @@ "value": "FlipX" }, "parameters": [ - "KO", + "KOT", "yes" ], "subInstructions": [] @@ -18383,13 +19600,12 @@ { "type": { "inverted": false, - "value": "VarObjet" + "value": "PosX" }, "parameters": [ - "KO", - "Направление", - ">", - "0" + "KOT", + ">=", + "MOJIOKO.X()" ], "subInstructions": [] } @@ -18401,7 +19617,7 @@ "value": "FlipX" }, "parameters": [ - "KO", + "KOT", "no" ], "subInstructions": [] diff --git a/game.json.autosave b/game.json.autosave index a560ba2..9104d62 100644 --- a/game.json.autosave +++ b/game.json.autosave @@ -3926,14 +3926,14 @@ { "angle": 0, "customSize": true, - "height": 48, + "height": 109, "layer": "", "locked": false, "name": "NewObject", "persistentUuid": "04b490aa-11ed-4f30-a050-45e02e4340db", - "width": 267, - "x": -151, - "y": 501, + "width": 143, + "x": 126, + "y": 471, "zOrder": 24, "numberProperties": [], "stringProperties": [], @@ -5603,7 +5603,7 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, + "folded": true, "name": "Колобок", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -7490,6 +7490,187 @@ "creationTime": 0, "disabled": false, "folded": false, + "name": "Движение банки молока", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "MOJIOKO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "BnPABO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + ">=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "MOJIOKO", + "KO.PlatformerObject::CurrentSpeed()", + "0", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "BJIEBO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + "<", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "MOJIOKO", + "KO.PlatformerObject::CurrentSpeed()", + "0", + "" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, "name": "Кот?", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -8347,8 +8528,8 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": true, - "name": "Движение банки молока", + "folded": false, + "name": "Пуск 发射 Startup", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -8360,61 +8541,12 @@ { "type": { "inverted": false, - "value": "PlatformBehavior::IsOnFloor" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsMoving" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": true, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CollisionNP" + "value": "DepartScene" }, "parameters": [ - "KO", - "MOJIOKO", - "", - "", "" ], "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "0" - ], - "subInstructions": [] } ], "actions": [], @@ -8423,16 +8555,17 @@ "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "conditions": [], + "actions": [ { "type": { "inverted": false, - "value": "CollisionNP" + "value": "PlaySound" }, "parameters": [ - "MOJIOKO", - "BnPABO", "", + "звуки/387922__setuniman__scheming-1o95.mp3", + "yes", "", "" ], @@ -8441,143 +8574,10 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "Cache" }, "parameters": [ - "KO_HA", - ">=", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "AddForceXY" - }, - "parameters": [ - "MOJIOKO", - "KO.PlatformerObject::CurrentSpeed()", - "0", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "MOJIOKO", - "BJIEBO", - "", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "KO_HA", - "<", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "AddForceXY" - }, - "parameters": [ - "MOJIOKO", - "KO.PlatformerObject::CurrentSpeed()", - "0", - "" - ], - "subInstructions": [] - } - ], - "events": [] - } - ] - } - ], - "parameters": [] - }, - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": false, - "name": "Пуск 发射 Startup", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], - "actions": [ - { - "type": { - "inverted": false, - "value": "PlaySound" - }, - "parameters": [ - "", - "звуки/387922__setuniman__scheming-1o95.mp3", - "yes", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "BnPABO" + "BnPABO" ], "subInstructions": [] }, @@ -17592,7 +17592,7 @@ "gridWidth": 32, "snap": true, "windowMask": false, - "zoomFactor": 0.8872 + "zoomFactor": 1.088 }, "objectsGroups": [], "variables": [ @@ -17608,10 +17608,6 @@ "value": "" } ] - }, - { - "name": "KO_HA", - "value": "22" } ], "instances": [ @@ -17620,7 +17616,7 @@ "customSize": false, "height": 0, "layer": "", - "locked": false, + "locked": true, "name": "u36a", "persistentUuid": "01f106f9-91eb-41fd-b3a5-3ce0d7044088", "width": 0, @@ -17656,9 +17652,9 @@ "name": "KO", "persistentUuid": "13e59954-4523-4a9d-a8f8-0adde46ebb97", "width": 0, - "x": 347, - "y": 339, - "zOrder": 3, + "x": 339, + "y": 311, + "zOrder": 10, "numberProperties": [], "stringProperties": [], "initialVariables": [] @@ -17678,120 +17674,284 @@ "numberProperties": [], "stringProperties": [], "initialVariables": [] - } - ], - "objects": [ + }, { - "name": "u36a", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "сцены/изба.jpg", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] - } - ] - } - ] - } - ] + "angle": 0, + "customSize": true, + "height": 78, + "layer": "", + "locked": false, + "name": "MOJIOKO", + "persistentUuid": "e0f6532e-ec28-45e1-8ee1-e592020da70c", + "width": 49, + "x": 695, + "y": 394, + "zOrder": 20, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] }, { - "name": "KO", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [ - { - "name": "Направление", - "value": "233" - } - ], - "behaviors": [ - { - "name": "PlatformerObject", - "type": "PlatformBehavior::PlatformerObjectBehavior", - "acceleration": 1500, - "canGrabPlatforms": false, - "deceleration": 1500, - "gravity": 1000, - "ignoreDefaultControls": false, - "jumpSpeed": 600, - "jumpSustainTime": 0.1, - "ladderClimbingSpeed": 150, - "maxFallingSpeed": 700, - "maxSpeed": 250, - "roundCoordinates": true, - "slopeMaxAngle": 60, - "xGrabTolerance": 10, - "yGrabOffset": 0 - } - ], - "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": "Прыжок", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "MOJIOKO_nPABO", + "persistentUuid": "180cd3cb-39da-4a9f-be91-1a65d7b70a7d", + "width": 214, + "x": 544, + "y": 396, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "MOJIOKO_JIEBO", + "persistentUuid": "fcf74453-8673-4987-944f-112405b627e7", + "width": 216, + "x": 583, + "y": 432, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "f35daaba-847b-4691-838e-36e5dd99a1f3", + "width": 544, + "x": 573, + "y": 471, + "zOrder": 7, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "b6b08d97-f36c-4493-bd89-d40205d44acb", + "width": 59, + "x": 653, + "y": 336, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "3e213be4-df31-4383-991c-06ee4ded7e7c", + "width": 59, + "x": 756, + "y": 334, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "9579f04f-c59a-410f-821e-c0b1f39a62bd", + "width": 59, + "x": 847, + "y": 332, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "973ed538-9ba1-4bd9-8e45-146206d7da42", + "width": 330, + "x": 599, + "y": 246, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "4699f961-aca7-4169-8d4b-b9a10d31c8bb", + "width": 134, + "x": 934, + "y": 175, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "e9c51eec-37d0-4caa-98e3-89abfa2a142f", + "width": 605, + "x": 1257, + "y": 424, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "6fa5e5a8-dc6e-4813-8bb8-39527cfb1881", + "width": 204, + "x": 1671, + "y": 374, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 92, + "layer": "", + "locked": false, + "name": "KOT", + "persistentUuid": "27bbbc29-223e-43fc-ab3c-6769b2c97194", + "width": 182, + "x": 647, + "y": 158, + "zOrder": 20, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 24, + "layer": "", + "locked": false, + "name": "KPbILLIKA", + "persistentUuid": "9dd253eb-c9b7-4f1a-800e-020c91fc42ff", + "width": 146, + "x": 419, + "y": 562, + "zOrder": 20, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 32, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "f03848fc-b660-433c-b899-0c14e011570f", + "width": 127, + "x": 431, + "y": 582, + "zOrder": 12, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 55, + "layer": "", + "locked": false, + "name": "MOJIOKO_nADEHuE_JIEBO", + "persistentUuid": "16d13933-c97f-4461-91ae-c7ceb55d477a", + "width": 15, + "x": 549, + "y": 419, + "zOrder": 21, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 59, + "layer": "", + "locked": false, + "name": "MOJIOKO_nADEHuE_nPABO", + "persistentUuid": "fd205a1e-8cdf-4eaf-abdc-63bfad31c111", + "width": 14, + "x": 789, + "y": 397, + "zOrder": 22, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "objects": [ + { + "name": "u36a", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ { "hasCustomCollisionMask": false, - "image": "колобок/колобок_прыжок.png", + "image": "сцены/изба.jpg", "points": [], "originPoint": { "name": "origine", @@ -17809,18 +17969,52 @@ ] } ] - }, + } + ] + }, + { + "name": "KO", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [ { - "name": "Движение", + "name": "Направление", + "value": "233" + } + ], + "behaviors": [ + { + "jumpSustainTime": 0.16, + "name": "PlatformerObject", + "type": "PlatformBehavior::PlatformerObjectBehavior", + "acceleration": 1500, + "canGrabPlatforms": false, + "deceleration": 1500, + "gravity": 1000, + "ignoreDefaultControls": false, + "jumpSpeed": 600, + "ladderClimbingSpeed": 150, + "maxFallingSpeed": 700, + "maxSpeed": 250, + "roundCoordinates": true, + "slopeMaxAngle": 60, + "xGrabTolerance": 10, + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "Ожидание", "useMultipleDirections": false, "directions": [ { - "looping": true, + "looping": false, "timeBetweenFrames": 0.08, "sprites": [ { "hasCustomCollisionMask": false, - "image": "колобок/колобок_движение_1.png", + "image": "колобок/колобок_неподвижен.png", "points": [], "originPoint": { "name": "origine", @@ -17834,10 +18028,68 @@ "y": 0 }, "customCollisionMask": [] - }, + } + ] + } + ] + }, + { + "name": "Прыжок", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ { "hasCustomCollisionMask": false, - "image": "колобок/колобок_движение_2.png", + "image": "колобок/колобок_прыжок.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "Движение", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.06, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_2.png", "points": [], "originPoint": { "name": "origine", @@ -18088,79 +18340,1119 @@ "x": 0, "y": 0 }, - "customCollisionMask": [] + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_17.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "height": 32, + "name": "OCHOBA", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [ + { + "canBeGrabbed": false, + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior", + "platformType": "Jumpthru", + "yGrabOffset": 0 + } + ] + }, + { + "name": "MOJIOKO", + "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": [] + } + ] + } + ] + } + ] + }, + { + "height": 32, + "name": "MOJIOKO_JIEBO", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [] + }, + { + "height": 32, + "name": "MOJIOKO_nPABO", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [] + }, + { + "name": "KPbILLIKA", + "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": false, + "name": "centre", + "x": 52.6836, + "y": 53.8514 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [] + } + ] + } + ] + }, + { + "name": "KOT", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "Ждёт", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": true, + "image": "кот_сидит_нейтраль.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "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": "Лижет", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.3, + "sprites": [ + { + "hasCustomCollisionMask": true, + "image": "кот_лижет_лужу_без_языка.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "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": true, + "image": "кот_лижет_лужу_язык.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "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 + } + ] + ] + } + ] + } + ] + } + ] + }, + { + "height": 32, + "name": "MOJIOKO_nADEHuE_JIEBO", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [] + }, + { + "height": 32, + "name": "MOJIOKO_nADEHuE_nPABO", + "tags": "", + "texture": "указатели/основа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [] + } + ], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Пуск", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SceneBackground" + }, + "parameters": [ + "", + "\"251;251;252\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "OCHOBA" + ], + "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, + "type": "BuiltinCommonInstructions::JsCode", + "inlineCode": "var OT = runtimeScene.getVariables().get(\"Отладка\");\nvar OT0 = OT.getChild(\"0\");\nvar OT1 = OT.getChild(\"1\");\nif (OT0.getAsString() != OT1.getAsString())\n{\n OT0.setString(OT1.getAsString());\n console.debug(\"Отладка:\", OT0.getAsString());\n}", + "parameterObjects": "", + "useStrict": true, + "eventsSheetExpanded": false + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Камера", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "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": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Колобок", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "KO", + "Направление", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "KO", + "X", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "KO", + "Направление", + "=", + "KO.X() - KO.Variable(X)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "KO", + "X", + "=", + "KO.X()" + ], + "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Движение\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Ожидание\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "KO", + "Направление", + "<", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "yes" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "KO", + "Направление", + ">=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "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": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Прыжок\"" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "звуки/331381__qubodup__public-domain-jump-sound.wav", + "", + "", + "" + ], + "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, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "MOJIOKO_JIEBO" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "MOJIOKO_nPABO" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "MOJIOKO_nADEHuE_JIEBO" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "MOJIOKO_nADEHuE_nPABO" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "MOJIOKO", + "Скорость", + "=", + "0" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsOnFloor" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "MOJIOKO", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "MOJIOKO_nPABO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "KO", + "Направление", + ">=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "MOJIOKO", + "KO.PlatformerObject::CurrentSpeed()", + "0", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "MOJIOKO_JIEBO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarObjet" + }, + "parameters": [ + "KO", + "Направление", + "<", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "AddForceXY" + }, + "parameters": [ + "MOJIOKO", + "KO.PlatformerObject::CurrentSpeed()", + "0", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "MOJIOKO", + "MOJIOKO_nADEHuE_JIEBO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarObjet" + }, + "parameters": [ + "MOJIOKO", + "X", + "=", + "503" + ], + "subInstructions": [] }, { - "hasCustomCollisionMask": false, - "image": "колобок/колобок_движение_17.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 + "type": { + "inverted": false, + "value": "ModVarObjet" }, - "customCollisionMask": [] + "parameters": [ + "MOJIOKO", + "Y", + "=", + "503" + ], + "subInstructions": [] }, { - "hasCustomCollisionMask": false, - "image": "колобок/колобок_движение.png", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 + "type": { + "inverted": false, + "value": "ModVarObjet" }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 + "parameters": [ + "MOJIOKO", + "Угол", + "=", + "-87" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarObjet" }, - "customCollisionMask": [] + "parameters": [ + "MOJIOKO", + "Скорость", + "=", + "0.2" + ], + "subInstructions": [] } - ] + ], + "events": [] } ] - } - ] - }, - { - "height": 32, - "name": "OCHOBA", - "tags": "", - "texture": "указатели/основа.png", - "type": "TiledSpriteObject::TiledSprite", - "width": 32, - "variables": [], - "behaviors": [ - { - "name": "Platform", - "type": "PlatformBehavior::PlatformBehavior", - "canBeGrabbed": true, - "platformType": "Jumpthru", - "yGrabOffset": 0 - } - ] - } - ], - "events": [ - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": false, - "name": "Пуск", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ + }, { "disabled": false, "folded": false, @@ -18169,119 +19461,41 @@ { "type": { "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "SceneBackground" - }, - "parameters": [ - "", - "\"251;251;252\"" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" + "value": "VarObjet" }, "parameters": [ - "OCHOBA" + "MOJIOKO", + "Скорость", + ">", + "0" ], "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, - "type": "BuiltinCommonInstructions::JsCode", - "inlineCode": "var OT = runtimeScene.getVariables().get(\"Отладка\");\nvar OT0 = OT.getChild(\"0\");\nvar OT1 = OT.getChild(\"1\");\nif (OT0.getAsString() != OT1.getAsString())\n{\n OT0.setString(OT1.getAsString());\n console.debug(\"Отладка:\", OT0.getAsString());\n}", - "parameterObjects": "", - "useStrict": true, - "eventsSheetExpanded": false - } - ], - "parameters": [] - }, - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": false, - "name": "Колобок", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [], "actions": [ { "type": { "inverted": false, - "value": "CameraX" + "value": "MettreXY" }, "parameters": [ - "", + "MOJIOKO", "=", - "lerp(CameraX(), KO.X(), 0.1)", - "", - "" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CameraY" - }, - "parameters": [ - "", + "lerp(MOJIOKO.X(), MOJIOKO.Variable(X), MOJIOKO.Variable(Скорость))", "=", - "lerp(CameraY(), KO.Y(), 0.1)", - "", - "" + "lerp(MOJIOKO.Y(), MOJIOKO.Variable(Y), MOJIOKO.Variable(Скорость))" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "ModVarSceneTxt" + "value": "SetAngle" }, "parameters": [ - "Отладка.1", + "MOJIOKO", "=", - "ToString(KO.Variable(Направление))" + "lerp(MOJIOKO.Angle(), MOJIOKO.Variable(Угол), MOJIOKO.Variable(Скорость))" ], "subInstructions": [] } @@ -18296,51 +19510,55 @@ { "type": { "inverted": false, - "value": "DepartScene" + "value": "Angle" }, "parameters": [ - "" + "MOJIOKO", + "<", + "MOJIOKO.Variable(Угол) + 2" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "ModVarObjet" + "value": "BuiltinCommonInstructions::Once" }, - "parameters": [ - "KO", - "Направление", - "=", - "555" - ], + "parameters": [], "subInstructions": [] } ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "actions": [ { "type": { "inverted": false, - "value": "PlatformBehavior::IsMoving" + "value": "ModVarObjet" }, "parameters": [ - "KO", - "PlatformerObject" + "MOJIOKO", + "Скорость", + "=", + "0" ], "subInstructions": [] } ], - "actions": [], "events": [] - }, + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": false, + "name": "Кот", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { "disabled": false, "folded": false, @@ -18349,13 +19567,12 @@ { "type": { "inverted": false, - "value": "VarObjet" + "value": "PosX" }, "parameters": [ - "KO", - "Направление", - "<=", - "0" + "KOT", + "<", + "MOJIOKO.X()" ], "subInstructions": [] } @@ -18367,7 +19584,7 @@ "value": "FlipX" }, "parameters": [ - "KO", + "KOT", "yes" ], "subInstructions": [] @@ -18383,13 +19600,12 @@ { "type": { "inverted": false, - "value": "VarObjet" + "value": "PosX" }, "parameters": [ - "KO", - "Направление", - ">", - "0" + "KOT", + ">=", + "MOJIOKO.X()" ], "subInstructions": [] } @@ -18401,7 +19617,7 @@ "value": "FlipX" }, "parameters": [ - "KO", + "KOT", "no" ], "subInstructions": []