From a9750ac57f73ddb2441773b18bcda19bbcf993f3 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: Thu, 11 Mar 2021 23:01:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D1=85=D0=BE=D0=B4?= =?UTF-8?q?=D1=8B=20=D0=BC=D0=B5=D0=B6=D0=B4=D1=83=20=D0=B8=D0=B7=D0=B1?= =?UTF-8?q?=D0=BE=D0=B9=20=D0=B8=20=D0=B4=D0=B2=D0=BE=D1=80=D0=BE=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game.json | 1638 ++++++++++++++++++++++++++++++-------------- game.json.autosave | 1638 ++++++++++++++++++++++++++++++-------------- 2 files changed, 2270 insertions(+), 1006 deletions(-) diff --git a/game.json b/game.json index 1e51d47..d55afc8 100644 --- a/game.json +++ b/game.json @@ -10,14 +10,14 @@ "adaptGameResolutionAtRuntime": true, "folderProject": false, "orientation": "landscape", - "packageName": "com.example.gamename", + "packageName": "org.opengamestudio.kolobok", "projectUuid": "4b1368f4-5c1e-4f2a-937f-a5837ddf200b", "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", "useExternalSourceFiles": false, - "version": "1.0.0", - "name": "Проект", - "author": "", + "version": "0.1.0", + "name": "КОЛОБОК", + "author": "Михаил Капелько", "windowWidth": 800, "windowHeight": 600, "latestCompilationDirectory": "", @@ -3304,7 +3304,16 @@ }, "objects": [], "objectsGroups": [], - "variables": [], + "variables": [ + { + "name": "Изба", + "value": "0" + }, + { + "name": "Двор", + "value": "0" + } + ], "layouts": [ { "b": 209, @@ -6697,7 +6706,88 @@ "subInstructions": [] } ], - "events": [] + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreXY" + }, + "parameters": [ + "KO", + "=", + "1320", + "=", + "206" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Двор", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "CTPEJIA", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "TETEBA", + "\"Разряд\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] }, { "disabled": false, @@ -6736,6 +6826,14 @@ ], "events": [] }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [], + "events": [] + }, { "disabled": false, "folded": false, @@ -6766,6 +6864,17 @@ ], "subInstructions": [] }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, { "type": { "inverted": false, @@ -6816,6 +6925,18 @@ "" ], "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] } ], "events": [] @@ -7630,7 +7751,7 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": true, + "folded": false, "name": "Стрела", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -7939,23 +8060,103 @@ "1" ], "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "звуки/330800__czarcazas__shattering-glass-small.mp3", + "no", + "", + "" + ], + "subInstructions": [] + } + ], + "events": [] }, { - "type": { - "inverted": false, - "value": "PlaySound" - }, - "parameters": [ - "", - "звуки/330800__czarcazas__shattering-glass-small.mp3", - "no", - "", - "" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "CTPEJIA", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Двор", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "3" + ], + "subInstructions": [] + } + ], + "events": [] } - ], - "events": [] + ] }, { "disabled": false, @@ -8278,7 +8479,65 @@ "subInstructions": [] } ], - "events": [] + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "JIYIIIA", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "MOJIOKO", + "=", + "Variable(Молоко.Конец.Y)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAngle" + }, + "parameters": [ + "MOJIOKO", + "=", + "Variable(Молоко.Конец.Угол)" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] }, { "disabled": false, @@ -8288,285 +8547,307 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "VarGlobal" }, "parameters": [ - "Молоко.Опрокинуто", + "Изба", "=", "0" ], "subInstructions": [] + } + ], + "actions": [], + "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": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "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": "ChangePlan" + }, + "parameters": [ + "MOJIOKO", + "=", + "3" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Цель.Y", + "=", + "Variable(Молоко.Конец.Y)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Цель.Угол", + "=", + "Variable(Молоко.Конец.Угол)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "звуки/360432__davethetech__clink-bottle3.wav", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "events": [] }, { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "1" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "MOJIOKO", + "=", + "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAngle" + }, + "parameters": [ + "MOJIOKO", + "=", + "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" + ], + "subInstructions": [] + } + ], + "events": [] }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "Visible" + }, + "parameters": [ + "JIYIIIA" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Angle" + }, + "parameters": [ + "MOJIOKO", + ">", + "Variable(Молоко.Цель.Угол)-0.1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "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, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ { "type": { "inverted": false, - "value": "CollisionNP" + "value": "DepartScene" }, "parameters": [ - "KO", - "MOJIOKO", - "", - "", "" ], "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "BuiltinCommonInstructions::Once" - }, - "parameters": [], - "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, - "value": "PlatformBehavior::SetCanJump" + "value": "ModVarScene" }, "parameters": [ - "KO", - "PlatformerObject" + "Кот.Внизу", + "=", + "0" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ChangePlan" - }, - "parameters": [ - "MOJIOKO", - "=", - "3" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Цель.Y", - "=", - "Variable(Молоко.Конец.Y)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Цель.Угол", - "=", - "Variable(Молоко.Конец.Угол)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlaySound" - }, - "parameters": [ - "", - "звуки/360432__davethetech__clink-bottle3.wav", - "", - "", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "MettreY" - }, - "parameters": [ - "MOJIOKO", - "=", - "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "SetAngle" - }, - "parameters": [ - "MOJIOKO", - "=", - "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": true, - "value": "Visible" - }, - "parameters": [ - "JIYIIIA" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Angle" - }, - "parameters": [ - "MOJIOKO", - ">", - "Variable(Молоко.Цель.Угол)-0.1" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "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, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" + "value": "ModVarScene" }, "parameters": [ "Кот.Цель.Y", @@ -8588,108 +8869,65 @@ "subInstructions": [] } ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "events": [ { - "type": { - "inverted": false, - "value": "Visible" - }, - "parameters": [ - "JIYIIIA" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "MettreY" - }, - "parameters": [ - "KOT", - "=", - "lerp(KOT.Y(), Variable(Кот.Цель.Y), Variable(Кот.Скорость))" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KOT", - "\"Лижет\"" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PosY" - }, - "parameters": [ - "KOT", - ">", - "Variable(Кот.Цель.Y) - 0.1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "0" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "1" + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "KOT", + "=", + "Variable(Кот.Цель.Y)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KOT", + "\"Лижет\"" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] } - ], - "events": [] + ] }, { "disabled": false, @@ -8759,21 +8997,7 @@ } ], "events": [] - } - ], - "parameters": [] - }, - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": true, - "name": "Окно", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ + }, { "disabled": false, "folded": false, @@ -8782,106 +9006,135 @@ { "type": { "inverted": false, - "value": "DepartScene" + "value": "VarGlobal" }, "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Окно.Шаг", + "Изба", "=", "0" ], "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Окно.Скорость", - "=", - "0.1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "OKHO_PA36uTO" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "OKHO_BbIJIOMAHO" - ], - "subInstructions": [] } ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "actions": [], + "events": [ { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Окно.Шаг", - "=", - "1" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Visible" + }, + "parameters": [ + "JIYIIIA" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "OKHO_PA36uTO", - "" + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "KOT", + "=", + "lerp(KOT.Y(), Variable(Кот.Цель.Y), Variable(Кот.Скорость))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KOT", + "\"Лижет\"" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] }, { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "OKHO_BbIJIOMAHO", - "" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "KOT", + ">", + "Variable(Кот.Цель.Y) - 0.1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] } - ], - "events": [] - }, + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Окно", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { "disabled": false, "folded": false, @@ -8890,12 +9143,10 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "DepartScene" }, "parameters": [ - "Окно.Шаг", - "=", - "2" + "" ], "subInstructions": [] } @@ -8907,9 +9158,9 @@ "value": "ModVarScene" }, "parameters": [ - "Окно.Цель.Угол", + "Окно.Шаг", "=", - "-100" + "0" ], "subInstructions": [] }, @@ -8919,84 +9170,297 @@ "value": "ModVarScene" }, "parameters": [ - "Окно.Цель.Y", + "Окно.Скорость", "=", - "473" + "0.1" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "MettreY" + "value": "ModVarScene" }, "parameters": [ - "OKHO_PA36uTO", + "Окно.Цель.Угол", "=", - "lerp(OKHO_PA36uTO.Y(), Variable(Окно.Цель.Y), Variable(Окно.Скорость))" + "-100" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "SetAngle" + "value": "ModVarScene" }, "parameters": [ - "OKHO_PA36uTO", + "Окно.Цель.Y", "=", - "lerp(OKHO_PA36uTO.Angle(), Variable(Окно.Цель.Угол), Variable(Окно.Скорость))" + "473" ], "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + }, { "type": { "inverted": false, - "value": "PosY" + "value": "Cache" }, "parameters": [ - "OKHO_PA36uTO", - ">", - "Variable(Окно.Цель.Y) - 0.1" + "OKHO_BbIJIOMAHO" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "VarScene" + "value": "Cache" }, "parameters": [ - "Окно.Шаг", - "=", - "2" + "OKHO_PA36uTO" ], "subInstructions": [] } ], - "actions": [ + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "OKHO_BbIJIOMAHO", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "OKHO_PA36uTO", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAngle" + }, + "parameters": [ + "OKHO_PA36uTO", + "=", + "Variable(Окно.Цель.Угол)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "OKHO_PA36uTO", + "=", + "Variable(Окно.Цель.Y)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "3" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ { "type": { "inverted": false, - "value": "ModVarScene" + "value": "VarGlobal" }, "parameters": [ - "Окно.Шаг", + "Изба", "=", - "3" + "0" ], "subInstructions": [] } ], - "events": [] + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "OKHO_PA36uTO", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "OKHO_BbIJIOMAHO", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "2" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "OKHO_PA36uTO", + "=", + "lerp(OKHO_PA36uTO.Y(), Variable(Окно.Цель.Y), Variable(Окно.Скорость))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAngle" + }, + "parameters": [ + "OKHO_PA36uTO", + "=", + "lerp(OKHO_PA36uTO.Angle(), Variable(Окно.Цель.Угол), Variable(Окно.Скорость))" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "OKHO_PA36uTO", + ">", + "Variable(Окно.Цель.Y) - 0.1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "2" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "3" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] } ], "parameters": [] @@ -11636,7 +12100,7 @@ "gridWidth": 32, "snap": true, "windowMask": false, - "zoomFactor": 1.3522 + "zoomFactor": 1.059 }, "objectsGroups": [], "variables": [], @@ -12168,6 +12632,38 @@ "numberProperties": [], "stringProperties": [], "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 65, + "layer": "", + "locked": false, + "name": "CKAMEuKA", + "persistentUuid": "a6f921f0-0a21-4d0b-8039-cfadc74f5c93", + "width": 222, + "x": 1270, + "y": 518, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "d4c72ac6-fc9a-4a07-9abe-8018d500d713", + "width": 215, + "x": 1273, + "y": 520, + "zOrder": 54, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] } ], "objects": [ @@ -15089,6 +15585,45 @@ ] } ] + }, + { + "name": "CKAMEuKA", + "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": [] + } + ] + } + ] + } + ] } ], "events": [ @@ -15139,6 +15674,20 @@ "OCHOBA" ], "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "звуки/555803__ddmyzik__sunset-loop.wav", + "yes", + "", + "" + ], + "subInstructions": [] } ], "events": [] @@ -15180,6 +15729,89 @@ ], "events": [] }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "OKHO_BbIJIOMAHO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::Gravity" + }, + "parameters": [ + "KO", + "PlatformerObject", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IgnoreDefaultControls" + }, + "parameters": [ + "KO", + "PlatformerObject", + "yes" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Изба\"", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + }, { "colorB": 228, "colorG": 176, diff --git a/game.json.autosave b/game.json.autosave index 1e51d47..d55afc8 100644 --- a/game.json.autosave +++ b/game.json.autosave @@ -10,14 +10,14 @@ "adaptGameResolutionAtRuntime": true, "folderProject": false, "orientation": "landscape", - "packageName": "com.example.gamename", + "packageName": "org.opengamestudio.kolobok", "projectUuid": "4b1368f4-5c1e-4f2a-937f-a5837ddf200b", "scaleMode": "linear", "sizeOnStartupMode": "adaptWidth", "useExternalSourceFiles": false, - "version": "1.0.0", - "name": "Проект", - "author": "", + "version": "0.1.0", + "name": "КОЛОБОК", + "author": "Михаил Капелько", "windowWidth": 800, "windowHeight": 600, "latestCompilationDirectory": "", @@ -3304,7 +3304,16 @@ }, "objects": [], "objectsGroups": [], - "variables": [], + "variables": [ + { + "name": "Изба", + "value": "0" + }, + { + "name": "Двор", + "value": "0" + } + ], "layouts": [ { "b": 209, @@ -6697,7 +6706,88 @@ "subInstructions": [] } ], - "events": [] + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreXY" + }, + "parameters": [ + "KO", + "=", + "1320", + "=", + "206" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Двор", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "CTPEJIA", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "TETEBA", + "\"Разряд\"" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] }, { "disabled": false, @@ -6736,6 +6826,14 @@ ], "events": [] }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [], + "events": [] + }, { "disabled": false, "folded": false, @@ -6766,6 +6864,17 @@ ], "subInstructions": [] }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, { "type": { "inverted": false, @@ -6816,6 +6925,18 @@ "" ], "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] } ], "events": [] @@ -7630,7 +7751,7 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": true, + "folded": false, "name": "Стрела", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -7939,23 +8060,103 @@ "1" ], "subInstructions": [] + } + ], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "звуки/330800__czarcazas__shattering-glass-small.mp3", + "no", + "", + "" + ], + "subInstructions": [] + } + ], + "events": [] }, { - "type": { - "inverted": false, - "value": "PlaySound" - }, - "parameters": [ - "", - "звуки/330800__czarcazas__shattering-glass-small.mp3", - "no", - "", - "" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "Delete" + }, + "parameters": [ + "CTPEJIA", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarGlobal" + }, + "parameters": [ + "Двор", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "3" + ], + "subInstructions": [] + } + ], + "events": [] } - ], - "events": [] + ] }, { "disabled": false, @@ -8278,7 +8479,65 @@ "subInstructions": [] } ], - "events": [] + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "JIYIIIA", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "MOJIOKO", + "=", + "Variable(Молоко.Конец.Y)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAngle" + }, + "parameters": [ + "MOJIOKO", + "=", + "Variable(Молоко.Конец.Угол)" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] }, { "disabled": false, @@ -8288,285 +8547,307 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "VarGlobal" }, "parameters": [ - "Молоко.Опрокинуто", + "Изба", "=", "0" ], "subInstructions": [] + } + ], + "actions": [], + "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": [] + }, + { + "type": { + "inverted": false, + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [], + "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": "ChangePlan" + }, + "parameters": [ + "MOJIOKO", + "=", + "3" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Цель.Y", + "=", + "Variable(Молоко.Конец.Y)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Молоко.Цель.Угол", + "=", + "Variable(Молоко.Конец.Угол)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "звуки/360432__davethetech__clink-bottle3.wav", + "", + "", + "" + ], + "subInstructions": [] + } + ], + "events": [] }, { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "1" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "MOJIOKO", + "=", + "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAngle" + }, + "parameters": [ + "MOJIOKO", + "=", + "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" + ], + "subInstructions": [] + } + ], + "events": [] }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "Visible" + }, + "parameters": [ + "JIYIIIA" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Angle" + }, + "parameters": [ + "MOJIOKO", + ">", + "Variable(Молоко.Цель.Угол)-0.1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "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, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ { "type": { "inverted": false, - "value": "CollisionNP" + "value": "DepartScene" }, "parameters": [ - "KO", - "MOJIOKO", - "", - "", "" ], "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "BuiltinCommonInstructions::Once" - }, - "parameters": [], - "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, - "value": "PlatformBehavior::SetCanJump" + "value": "ModVarScene" }, "parameters": [ - "KO", - "PlatformerObject" + "Кот.Внизу", + "=", + "0" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ChangePlan" - }, - "parameters": [ - "MOJIOKO", - "=", - "3" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Цель.Y", - "=", - "Variable(Молоко.Конец.Y)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Цель.Угол", - "=", - "Variable(Молоко.Конец.Угол)" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlaySound" - }, - "parameters": [ - "", - "звуки/360432__davethetech__clink-bottle3.wav", - "", - "", - "" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "MettreY" - }, - "parameters": [ - "MOJIOKO", - "=", - "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "SetAngle" - }, - "parameters": [ - "MOJIOKO", - "=", - "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": true, - "value": "Visible" - }, - "parameters": [ - "JIYIIIA" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Angle" - }, - "parameters": [ - "MOJIOKO", - ">", - "Variable(Молоко.Цель.Угол)-0.1" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "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, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" + "value": "ModVarScene" }, "parameters": [ "Кот.Цель.Y", @@ -8588,108 +8869,65 @@ "subInstructions": [] } ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "events": [ { - "type": { - "inverted": false, - "value": "Visible" - }, - "parameters": [ - "JIYIIIA" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "0" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "MettreY" - }, - "parameters": [ - "KOT", - "=", - "lerp(KOT.Y(), Variable(Кот.Цель.Y), Variable(Кот.Скорость))" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "SetAnimationName" - }, - "parameters": [ - "KOT", - "\"Лижет\"" - ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "PosY" - }, - "parameters": [ - "KOT", - ">", - "Variable(Кот.Цель.Y) - 0.1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "0" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "1" + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "KOT", + "=", + "Variable(Кот.Цель.Y)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KOT", + "\"Лижет\"" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] } - ], - "events": [] + ] }, { "disabled": false, @@ -8759,21 +8997,7 @@ } ], "events": [] - } - ], - "parameters": [] - }, - { - "colorB": 228, - "colorG": 176, - "colorR": 74, - "creationTime": 0, - "disabled": false, - "folded": true, - "name": "Окно", - "source": "", - "type": "BuiltinCommonInstructions::Group", - "events": [ + }, { "disabled": false, "folded": false, @@ -8782,106 +9006,135 @@ { "type": { "inverted": false, - "value": "DepartScene" + "value": "VarGlobal" }, "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Окно.Шаг", + "Изба", "=", "0" ], "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Окно.Скорость", - "=", - "0.1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "OKHO_PA36uTO" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "OKHO_BbIJIOMAHO" - ], - "subInstructions": [] } ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "actions": [], + "events": [ { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Окно.Шаг", - "=", - "1" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "Visible" + }, + "parameters": [ + "JIYIIIA" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "OKHO_PA36uTO", - "" + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "KOT", + "=", + "lerp(KOT.Y(), Variable(Кот.Цель.Y), Variable(Кот.Скорость))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KOT", + "\"Лижет\"" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] }, { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "OKHO_BbIJIOMAHO", - "" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "KOT", + ">", + "Variable(Кот.Цель.Y) - 0.1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] } - ], - "events": [] - }, + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "disabled": false, + "folded": true, + "name": "Окно", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ { "disabled": false, "folded": false, @@ -8890,12 +9143,10 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "DepartScene" }, "parameters": [ - "Окно.Шаг", - "=", - "2" + "" ], "subInstructions": [] } @@ -8907,9 +9158,9 @@ "value": "ModVarScene" }, "parameters": [ - "Окно.Цель.Угол", + "Окно.Шаг", "=", - "-100" + "0" ], "subInstructions": [] }, @@ -8919,84 +9170,297 @@ "value": "ModVarScene" }, "parameters": [ - "Окно.Цель.Y", + "Окно.Скорость", "=", - "473" + "0.1" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "MettreY" + "value": "ModVarScene" }, "parameters": [ - "OKHO_PA36uTO", + "Окно.Цель.Угол", "=", - "lerp(OKHO_PA36uTO.Y(), Variable(Окно.Цель.Y), Variable(Окно.Скорость))" + "-100" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "SetAngle" + "value": "ModVarScene" }, "parameters": [ - "OKHO_PA36uTO", + "Окно.Цель.Y", "=", - "lerp(OKHO_PA36uTO.Angle(), Variable(Окно.Цель.Угол), Variable(Окно.Скорость))" + "473" ], "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + }, { "type": { "inverted": false, - "value": "PosY" + "value": "Cache" }, "parameters": [ - "OKHO_PA36uTO", - ">", - "Variable(Окно.Цель.Y) - 0.1" + "OKHO_BbIJIOMAHO" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "VarScene" + "value": "Cache" }, "parameters": [ - "Окно.Шаг", - "=", - "2" + "OKHO_PA36uTO" ], "subInstructions": [] } ], - "actions": [ + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "OKHO_BbIJIOMAHO", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "OKHO_PA36uTO", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAngle" + }, + "parameters": [ + "OKHO_PA36uTO", + "=", + "Variable(Окно.Цель.Угол)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "OKHO_PA36uTO", + "=", + "Variable(Окно.Цель.Y)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "3" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ { "type": { "inverted": false, - "value": "ModVarScene" + "value": "VarGlobal" }, "parameters": [ - "Окно.Шаг", + "Изба", "=", - "3" + "0" ], "subInstructions": [] } ], - "events": [] + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "OKHO_PA36uTO", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "OKHO_BbIJIOMAHO", + "" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "2" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreY" + }, + "parameters": [ + "OKHO_PA36uTO", + "=", + "lerp(OKHO_PA36uTO.Y(), Variable(Окно.Цель.Y), Variable(Окно.Скорость))" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "SetAngle" + }, + "parameters": [ + "OKHO_PA36uTO", + "=", + "lerp(OKHO_PA36uTO.Angle(), Variable(Окно.Цель.Угол), Variable(Окно.Скорость))" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PosY" + }, + "parameters": [ + "OKHO_PA36uTO", + ">", + "Variable(Окно.Цель.Y) - 0.1" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "2" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Окно.Шаг", + "=", + "3" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] } ], "parameters": [] @@ -11636,7 +12100,7 @@ "gridWidth": 32, "snap": true, "windowMask": false, - "zoomFactor": 1.3522 + "zoomFactor": 1.059 }, "objectsGroups": [], "variables": [], @@ -12168,6 +12632,38 @@ "numberProperties": [], "stringProperties": [], "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 65, + "layer": "", + "locked": false, + "name": "CKAMEuKA", + "persistentUuid": "a6f921f0-0a21-4d0b-8039-cfadc74f5c93", + "width": 222, + "x": 1270, + "y": 518, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "OCHOBA", + "persistentUuid": "d4c72ac6-fc9a-4a07-9abe-8018d500d713", + "width": 215, + "x": 1273, + "y": 520, + "zOrder": 54, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] } ], "objects": [ @@ -15089,6 +15585,45 @@ ] } ] + }, + { + "name": "CKAMEuKA", + "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": [] + } + ] + } + ] + } + ] } ], "events": [ @@ -15139,6 +15674,20 @@ "OCHOBA" ], "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlaySound" + }, + "parameters": [ + "", + "звуки/555803__ddmyzik__sunset-loop.wav", + "yes", + "", + "" + ], + "subInstructions": [] } ], "events": [] @@ -15180,6 +15729,89 @@ ], "events": [] }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "CollisionNP" + }, + "parameters": [ + "KO", + "OKHO_BbIJIOMAHO", + "", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsFalling" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::Gravity" + }, + "parameters": [ + "KO", + "PlatformerObject", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IgnoreDefaultControls" + }, + "parameters": [ + "KO", + "PlatformerObject", + "yes" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Scene" + }, + "parameters": [ + "", + "\"Изба\"", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + }, { "colorB": 228, "colorG": 176,