diff --git a/game.json b/game.json index 7ca249c..6767e58 100644 --- a/game.json +++ b/game.json @@ -1808,6 +1808,15 @@ "name": "вещи/топор.png", "smoothed": true, "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "сцены/изба.png", + "kind": "image", + "metadata": "", + "name": "сцены/изба.png", + "smoothed": true, + "userAdded": true } ], "resourceFolders": [] @@ -1822,6 +1831,10 @@ { "name": "Двор", "value": "0" + }, + { + "name": "ИзбаКот", + "value": "2" } ], "layouts": [ @@ -3757,8 +3770,8 @@ "name": "KOT", "persistentUuid": "19b2ff6d-a86f-4740-89fb-07d3df912e6b", "width": 182, - "x": 340, - "y": 162, + "x": -104, + "y": 481, "zOrder": 19, "numberProperties": [], "stringProperties": [], @@ -3789,8 +3802,8 @@ "name": "JIYIIIA", "persistentUuid": "8d75872d-97eb-4f9f-9132-73fff11237fe", "width": 103, - "x": 298, - "y": 447, + "x": 393, + "y": 442, "zOrder": 2, "numberProperties": [], "stringProperties": [], @@ -3852,9 +3865,9 @@ "locked": false, "name": "BnPABO", "persistentUuid": "d74cd723-b1b0-47cf-b6d3-8e2f35fea041", - "width": 237, - "x": 124, - "y": 411, + "width": 200, + "x": 107, + "y": 412, "zOrder": 21, "numberProperties": [], "stringProperties": [], @@ -3868,9 +3881,9 @@ "locked": false, "name": "BJIEBO", "persistentUuid": "8a2027ac-223c-486b-b9ac-a7ab0ece1a3e", - "width": 262, - "x": 148, - "y": 440, + "width": 228, + "x": 134, + "y": 441, "zOrder": 22, "numberProperties": [], "stringProperties": [], @@ -3885,12 +3898,28 @@ "name": "TOnOP", "persistentUuid": "60e9c514-6fb5-4ec6-96e5-df2d8913bd08", "width": 49, - "x": 416, + "x": 358, "y": 448, "zOrder": 23, "numberProperties": [], "stringProperties": [], "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 48, + "layer": "", + "locked": false, + "name": "NewObject", + "persistentUuid": "04b490aa-11ed-4f30-a050-45e02e4340db", + "width": 267, + "x": -151, + "y": 501, + "zOrder": 24, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] } ], "objects": [ @@ -5294,6 +5323,15 @@ ] } ] + }, + { + "name": "NewObject", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [] } ], "events": [ @@ -6975,7 +7013,7 @@ "creationTime": 0, "disabled": false, "folded": false, - "name": "Молоко", + "name": "Молоко?", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -6987,98 +7025,17 @@ { "type": { "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Скорость", - "=", - "0.5" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Конец.Y", - "=", - "412" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Конец.Угол", - "=", - "95" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Цель.Угол", - "=", - "MOJIOKO.Angle()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" + "value": "VarScene" }, "parameters": [ - "Молоко.Цель.Y", + "ABC", "=", - "MOJIOKO.Y()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "JIYIIIA" + "1222" ], "subInstructions": [] } ], + "actions": [], "events": [ { "disabled": false, @@ -7088,86 +7045,19 @@ { "type": { "inverted": false, - "value": "VarGlobal" - }, - "parameters": [ - "Изба", - "=", - "1" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" + "value": "DepartScene" }, "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, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarGlobal" - }, - "parameters": [ - "Изба", - "=", - "0" - ], - "subInstructions": [] - } - ], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "actions": [ { "type": { "inverted": false, - "value": "VarScene" + "value": "ModVarScene" }, "parameters": [ "Молоко.Опрокинуто", @@ -7179,80 +7069,12 @@ { "type": { "inverted": false, - "value": "PlatformBehavior::IsJumping" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "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" + "value": "ModVarScene" }, "parameters": [ - "MOJIOKO", + "Молоко.Скорость", "=", - "3" + "0.5" ], "subInstructions": [] }, @@ -7262,9 +7084,9 @@ "value": "ModVarScene" }, "parameters": [ - "Молоко.Опрокинуто", + "Молоко.Конец.Y", "=", - "1" + "412" ], "subInstructions": [] }, @@ -7274,9 +7096,9 @@ "value": "ModVarScene" }, "parameters": [ - "Молоко.Цель.Y", + "Молоко.Конец.Угол", "=", - "Variable(Молоко.Конец.Y)" + "95" ], "subInstructions": [] }, @@ -7288,26 +7110,82 @@ "parameters": [ "Молоко.Цель.Угол", "=", - "Variable(Молоко.Конец.Угол)" + "MOJIOKO.Angle()" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "PlaySound" + "value": "ModVarScene" }, "parameters": [ - "", - "звуки/360432__davethetech__clink-bottle3.wav", - "", - "", - "" + "Молоко.Цель.Y", + "=", + "MOJIOKO.Y()" ], "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, @@ -7317,98 +7195,270 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "VarGlobal" }, "parameters": [ - "Молоко.Опрокинуто", + "Изба", "=", - "1" + "0" ], "subInstructions": [] } ], - "actions": [ - { - "type": { - "inverted": false, - "value": "MettreY" - }, - "parameters": [ - "MOJIOKO", - "=", - "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" - ], - "subInstructions": [] - }, + "actions": [], + "events": [ { - "type": { - "inverted": false, - "value": "SetAngle" - }, - "parameters": [ - "MOJIOKO", - "=", - "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "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": [] + } ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": true, - "value": "Visible" - }, - "parameters": [ - "JIYIIIA" + "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": [] + } ], - "subInstructions": [] + "events": [] }, { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" + "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": [] }, { - "type": { - "inverted": false, - "value": "Angle" - }, - "parameters": [ - "MOJIOKO", - ">", - "Variable(Молоко.Цель.Угол)-0.1" + "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": [] + } ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "JIYIIIA", - "" + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "JIYIIIA", + "" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] } - ], - "events": [] + ] } ] } @@ -7421,66 +7471,145 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": true, - "name": "Кот", + "folded": false, + "name": "Кот?", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { "disabled": false, - "folded": false, + "folded": true, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, - "value": "DepartScene" + "value": "VarScene" }, "parameters": [ - "" + "ABC", + "=", + "1222" ], "subInstructions": [] } ], - "actions": [ + "actions": [], + "events": [ { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "0" + "disabled": false, + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Цель.Y", - "=", - "355" + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Цель.Y", + "=", + "355" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Скорость", + "=", + "0.15" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } + ], + "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": [] + } + ], + "events": [] + } + ] }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Скорость", - "=", - "0.15" - ], - "subInstructions": [] - } - ], - "events": [ { "disabled": false, "folded": false, @@ -7489,125 +7618,191 @@ { "type": { "inverted": false, - "value": "VarGlobal" + "value": "VarScene" }, "parameters": [ - "Изба", + "Кот.Внизу", "=", "1" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "PlatformBehavior::IsFalling" }, "parameters": [ - "Кот.Внизу", - "=", - "1" + "KO", + "PlatformerObject" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "MettreY" + "value": "CollisionNP" }, "parameters": [ + "KO", "KOT", - "=", - "Variable(Кот.Цель.Y)" + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SetCanJump" + }, + "parameters": [ + "KO", + "PlatformerObject" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "SetAnimationName" + "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ - "KOT", - "\"Лижет\"" + "KO", + "PlatformerObject" ], "subInstructions": [] } ], "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "KO", - "KOT", - "", - "", - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SetCanJump" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] }, { - "type": { - "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" - }, - "parameters": [ - "KO", - "PlatformerObject" + "disabled": false, + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "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" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] } - ], - "events": [] + ] }, { "disabled": false, @@ -7617,12 +7812,10 @@ { "type": { "inverted": false, - "value": "VarGlobal" + "value": "DepartScene" }, "parameters": [ - "Изба", - "=", - "0" + "" ], "subInstructions": [] } @@ -7637,47 +7830,51 @@ { "type": { "inverted": false, - "value": "Visible" + "value": "VarGlobal" }, "parameters": [ - "JIYIIIA" + "ИзбаКот", + "=", + "2" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "VarScene" + "value": "MettreXY" }, "parameters": [ - "Кот.Внизу", + "KOT", "=", - "0" + "-104", + "=", + "481" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "MettreY" + "value": "FlipX" }, "parameters": [ "KOT", - "=", - "lerp(KOT.Y(), Variable(Кот.Цель.Y), Variable(Кот.Скорость))" + "yes" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "SetAnimationName" + "value": "ModVarSceneTxt" }, "parameters": [ - "KOT", - "\"Лижет\"" + "OT.1", + "=", + "\"ИК 2\"" ], "subInstructions": [] } @@ -7692,22 +7889,58 @@ { "type": { "inverted": false, - "value": "PosY" + "value": "VarGlobal" + }, + "parameters": [ + "ИзбаКот", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreXY" }, "parameters": [ "KOT", - ">", - "Variable(Кот.Цель.Y) - 0.1" + "=", + "437", + "=", + "386" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "VarScene" + "value": "ModVarSceneTxt" }, "parameters": [ - "Кот.Внизу", + "OT.1", + "=", + "\"ИК 1\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "ИзбаКот", "=", "0" ], @@ -7718,12 +7951,26 @@ { "type": { "inverted": false, - "value": "ModVarScene" + "value": "MettreXY" }, "parameters": [ - "Кот.Внизу", + "KOT", "=", - "1" + "340", + "=", + "162" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarSceneTxt" + }, + "parameters": [ + "OT.1", + "=", + "\"ИК 0\"" ], "subInstructions": [] } @@ -8082,7 +8329,7 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, + "folded": true, "name": "Движение банки молока", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -8365,6 +8612,16 @@ "CTEHA" ], "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "JIYIIIA" + ], + "subInstructions": [] } ], "events": [] @@ -17292,6 +17549,166 @@ "type": "PlatformBehavior::PlatformerObjectBehavior" } ] + }, + { + "b": 209, + "disableInputWhenNotFocused": true, + "mangledName": "K2", + "name": "K2", + "oglFOV": 90, + "oglZFar": 500, + "oglZNear": 1, + "r": 209, + "standardSortMethod": true, + "stopSoundsOnStartup": true, + "title": "", + "v": 209, + "uiSettings": { + "grid": false, + "gridB": 255, + "gridG": 180, + "gridHeight": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridR": 158, + "gridWidth": 32, + "snap": true, + "windowMask": false, + "zoomFactor": 0.9964 + }, + "objectsGroups": [], + "variables": [], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "u36a", + "persistentUuid": "01f106f9-91eb-41fd-b3a5-3ce0d7044088", + "width": 0, + "x": 0, + "y": 0, + "zOrder": 1, + "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", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + } + ], + "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": [] + } + ], + "events": [] + } + ], + "parameters": [] + } + ], + "layers": [ + { + "ambientLightColorB": 16, + "ambientLightColorG": 0, + "ambientLightColorR": 0, + "followBaseLayerCamera": false, + "isLightingLayer": false, + "name": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "behaviorsSharedData": [] } ], "externalEvents": [], diff --git a/game.json.autosave b/game.json.autosave index 7ca249c..6767e58 100644 --- a/game.json.autosave +++ b/game.json.autosave @@ -1808,6 +1808,15 @@ "name": "вещи/топор.png", "smoothed": true, "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "сцены/изба.png", + "kind": "image", + "metadata": "", + "name": "сцены/изба.png", + "smoothed": true, + "userAdded": true } ], "resourceFolders": [] @@ -1822,6 +1831,10 @@ { "name": "Двор", "value": "0" + }, + { + "name": "ИзбаКот", + "value": "2" } ], "layouts": [ @@ -3757,8 +3770,8 @@ "name": "KOT", "persistentUuid": "19b2ff6d-a86f-4740-89fb-07d3df912e6b", "width": 182, - "x": 340, - "y": 162, + "x": -104, + "y": 481, "zOrder": 19, "numberProperties": [], "stringProperties": [], @@ -3789,8 +3802,8 @@ "name": "JIYIIIA", "persistentUuid": "8d75872d-97eb-4f9f-9132-73fff11237fe", "width": 103, - "x": 298, - "y": 447, + "x": 393, + "y": 442, "zOrder": 2, "numberProperties": [], "stringProperties": [], @@ -3852,9 +3865,9 @@ "locked": false, "name": "BnPABO", "persistentUuid": "d74cd723-b1b0-47cf-b6d3-8e2f35fea041", - "width": 237, - "x": 124, - "y": 411, + "width": 200, + "x": 107, + "y": 412, "zOrder": 21, "numberProperties": [], "stringProperties": [], @@ -3868,9 +3881,9 @@ "locked": false, "name": "BJIEBO", "persistentUuid": "8a2027ac-223c-486b-b9ac-a7ab0ece1a3e", - "width": 262, - "x": 148, - "y": 440, + "width": 228, + "x": 134, + "y": 441, "zOrder": 22, "numberProperties": [], "stringProperties": [], @@ -3885,12 +3898,28 @@ "name": "TOnOP", "persistentUuid": "60e9c514-6fb5-4ec6-96e5-df2d8913bd08", "width": 49, - "x": 416, + "x": 358, "y": 448, "zOrder": 23, "numberProperties": [], "stringProperties": [], "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 48, + "layer": "", + "locked": false, + "name": "NewObject", + "persistentUuid": "04b490aa-11ed-4f30-a050-45e02e4340db", + "width": 267, + "x": -151, + "y": 501, + "zOrder": 24, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] } ], "objects": [ @@ -5294,6 +5323,15 @@ ] } ] + }, + { + "name": "NewObject", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [] } ], "events": [ @@ -6975,7 +7013,7 @@ "creationTime": 0, "disabled": false, "folded": false, - "name": "Молоко", + "name": "Молоко?", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ @@ -6987,98 +7025,17 @@ { "type": { "inverted": false, - "value": "DepartScene" - }, - "parameters": [ - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "0" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Скорость", - "=", - "0.5" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Конец.Y", - "=", - "412" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Конец.Угол", - "=", - "95" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Молоко.Цель.Угол", - "=", - "MOJIOKO.Angle()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" + "value": "VarScene" }, "parameters": [ - "Молоко.Цель.Y", + "ABC", "=", - "MOJIOKO.Y()" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "Cache" - }, - "parameters": [ - "JIYIIIA" + "1222" ], "subInstructions": [] } ], + "actions": [], "events": [ { "disabled": false, @@ -7088,86 +7045,19 @@ { "type": { "inverted": false, - "value": "VarGlobal" - }, - "parameters": [ - "Изба", - "=", - "1" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" + "value": "DepartScene" }, "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, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarGlobal" - }, - "parameters": [ - "Изба", - "=", - "0" - ], - "subInstructions": [] - } - ], - "actions": [], - "events": [ - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ + "actions": [ { "type": { "inverted": false, - "value": "VarScene" + "value": "ModVarScene" }, "parameters": [ "Молоко.Опрокинуто", @@ -7179,80 +7069,12 @@ { "type": { "inverted": false, - "value": "PlatformBehavior::IsJumping" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "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" + "value": "ModVarScene" }, "parameters": [ - "MOJIOKO", + "Молоко.Скорость", "=", - "3" + "0.5" ], "subInstructions": [] }, @@ -7262,9 +7084,9 @@ "value": "ModVarScene" }, "parameters": [ - "Молоко.Опрокинуто", + "Молоко.Конец.Y", "=", - "1" + "412" ], "subInstructions": [] }, @@ -7274,9 +7096,9 @@ "value": "ModVarScene" }, "parameters": [ - "Молоко.Цель.Y", + "Молоко.Конец.Угол", "=", - "Variable(Молоко.Конец.Y)" + "95" ], "subInstructions": [] }, @@ -7288,26 +7110,82 @@ "parameters": [ "Молоко.Цель.Угол", "=", - "Variable(Молоко.Конец.Угол)" + "MOJIOKO.Angle()" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "PlaySound" + "value": "ModVarScene" }, "parameters": [ - "", - "звуки/360432__davethetech__clink-bottle3.wav", - "", - "", - "" + "Молоко.Цель.Y", + "=", + "MOJIOKO.Y()" ], "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, @@ -7317,98 +7195,270 @@ { "type": { "inverted": false, - "value": "VarScene" + "value": "VarGlobal" }, "parameters": [ - "Молоко.Опрокинуто", + "Изба", "=", - "1" + "0" ], "subInstructions": [] } ], - "actions": [ - { - "type": { - "inverted": false, - "value": "MettreY" - }, - "parameters": [ - "MOJIOKO", - "=", - "lerp(MOJIOKO.Y(), Variable(Молоко.Цель.Y), Variable(Молоко.Скорость))" - ], - "subInstructions": [] - }, + "actions": [], + "events": [ { - "type": { - "inverted": false, - "value": "SetAngle" - }, - "parameters": [ - "MOJIOKO", - "=", - "lerp(MOJIOKO.Angle(), Variable(Молоко.Цель.Угол), Variable(Молоко.Скорость))" + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "Молоко.Опрокинуто", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "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": [] + } ], - "subInstructions": [] - } - ], - "events": [] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": true, - "value": "Visible" - }, - "parameters": [ - "JIYIIIA" + "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": [] + } ], - "subInstructions": [] + "events": [] }, { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Молоко.Опрокинуто", - "=", - "1" + "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": [] }, { - "type": { - "inverted": false, - "value": "Angle" - }, - "parameters": [ - "MOJIOKO", - ">", - "Variable(Молоко.Цель.Угол)-0.1" + "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": [] + } ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "Montre" - }, - "parameters": [ - "JIYIIIA", - "" + "actions": [ + { + "type": { + "inverted": false, + "value": "Montre" + }, + "parameters": [ + "JIYIIIA", + "" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [] } - ], - "events": [] + ] } ] } @@ -7421,66 +7471,145 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": true, - "name": "Кот", + "folded": false, + "name": "Кот?", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { "disabled": false, - "folded": false, + "folded": true, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, - "value": "DepartScene" + "value": "VarScene" }, "parameters": [ - "" + "ABC", + "=", + "1222" ], "subInstructions": [] } ], - "actions": [ + "actions": [], + "events": [ { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "0" + "disabled": false, + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Цель.Y", - "=", - "355" + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "0" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Цель.Y", + "=", + "355" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Скорость", + "=", + "0.15" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "1" + ], + "subInstructions": [] + } + ], + "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": [] + } + ], + "events": [] + } + ] }, - { - "type": { - "inverted": false, - "value": "ModVarScene" - }, - "parameters": [ - "Кот.Скорость", - "=", - "0.15" - ], - "subInstructions": [] - } - ], - "events": [ { "disabled": false, "folded": false, @@ -7489,125 +7618,191 @@ { "type": { "inverted": false, - "value": "VarGlobal" + "value": "VarScene" }, "parameters": [ - "Изба", + "Кот.Внизу", "=", "1" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "ModVarScene" + "value": "PlatformBehavior::IsFalling" }, "parameters": [ - "Кот.Внизу", - "=", - "1" + "KO", + "PlatformerObject" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "MettreY" + "value": "CollisionNP" }, "parameters": [ + "KO", "KOT", - "=", - "Variable(Кот.Цель.Y)" + "", + "", + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::SetCanJump" + }, + "parameters": [ + "KO", + "PlatformerObject" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "SetAnimationName" + "value": "PlatformBehavior::SimulateJumpKey" }, "parameters": [ - "KOT", - "\"Лижет\"" + "KO", + "PlatformerObject" ], "subInstructions": [] } ], "events": [] - } - ] - }, - { - "disabled": false, - "folded": false, - "type": "BuiltinCommonInstructions::Standard", - "conditions": [ - { - "type": { - "inverted": false, - "value": "VarScene" - }, - "parameters": [ - "Кот.Внизу", - "=", - "1" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "PlatformBehavior::IsFalling" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] - }, - { - "type": { - "inverted": false, - "value": "CollisionNP" - }, - "parameters": [ - "KO", - "KOT", - "", - "", - "" - ], - "subInstructions": [] - } - ], - "actions": [ - { - "type": { - "inverted": false, - "value": "PlatformBehavior::SetCanJump" - }, - "parameters": [ - "KO", - "PlatformerObject" - ], - "subInstructions": [] }, { - "type": { - "inverted": false, - "value": "PlatformBehavior::SimulateJumpKey" - }, - "parameters": [ - "KO", - "PlatformerObject" + "disabled": false, + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "Изба", + "=", + "0" + ], + "subInstructions": [] + } ], - "subInstructions": [] + "actions": [], + "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "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" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "Кот.Внизу", + "=", + "1" + ], + "subInstructions": [] + } + ], + "events": [] + } + ] } - ], - "events": [] + ] }, { "disabled": false, @@ -7617,12 +7812,10 @@ { "type": { "inverted": false, - "value": "VarGlobal" + "value": "DepartScene" }, "parameters": [ - "Изба", - "=", - "0" + "" ], "subInstructions": [] } @@ -7637,47 +7830,51 @@ { "type": { "inverted": false, - "value": "Visible" + "value": "VarGlobal" }, "parameters": [ - "JIYIIIA" + "ИзбаКот", + "=", + "2" ], "subInstructions": [] - }, + } + ], + "actions": [ { "type": { "inverted": false, - "value": "VarScene" + "value": "MettreXY" }, "parameters": [ - "Кот.Внизу", + "KOT", "=", - "0" + "-104", + "=", + "481" ], "subInstructions": [] - } - ], - "actions": [ + }, { "type": { "inverted": false, - "value": "MettreY" + "value": "FlipX" }, "parameters": [ "KOT", - "=", - "lerp(KOT.Y(), Variable(Кот.Цель.Y), Variable(Кот.Скорость))" + "yes" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "SetAnimationName" + "value": "ModVarSceneTxt" }, "parameters": [ - "KOT", - "\"Лижет\"" + "OT.1", + "=", + "\"ИК 2\"" ], "subInstructions": [] } @@ -7692,22 +7889,58 @@ { "type": { "inverted": false, - "value": "PosY" + "value": "VarGlobal" + }, + "parameters": [ + "ИзбаКот", + "=", + "1" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "MettreXY" }, "parameters": [ "KOT", - ">", - "Variable(Кот.Цель.Y) - 0.1" + "=", + "437", + "=", + "386" ], "subInstructions": [] }, { "type": { "inverted": false, - "value": "VarScene" + "value": "ModVarSceneTxt" }, "parameters": [ - "Кот.Внизу", + "OT.1", + "=", + "\"ИК 1\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarGlobal" + }, + "parameters": [ + "ИзбаКот", "=", "0" ], @@ -7718,12 +7951,26 @@ { "type": { "inverted": false, - "value": "ModVarScene" + "value": "MettreXY" }, "parameters": [ - "Кот.Внизу", + "KOT", "=", - "1" + "340", + "=", + "162" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarSceneTxt" + }, + "parameters": [ + "OT.1", + "=", + "\"ИК 0\"" ], "subInstructions": [] } @@ -8082,7 +8329,7 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": false, + "folded": true, "name": "Движение банки молока", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -8365,6 +8612,16 @@ "CTEHA" ], "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "JIYIIIA" + ], + "subInstructions": [] } ], "events": [] @@ -17292,6 +17549,166 @@ "type": "PlatformBehavior::PlatformerObjectBehavior" } ] + }, + { + "b": 209, + "disableInputWhenNotFocused": true, + "mangledName": "K2", + "name": "K2", + "oglFOV": 90, + "oglZFar": 500, + "oglZNear": 1, + "r": 209, + "standardSortMethod": true, + "stopSoundsOnStartup": true, + "title": "", + "v": 209, + "uiSettings": { + "grid": false, + "gridB": 255, + "gridG": 180, + "gridHeight": 32, + "gridOffsetX": 0, + "gridOffsetY": 0, + "gridR": 158, + "gridWidth": 32, + "snap": true, + "windowMask": false, + "zoomFactor": 0.9964 + }, + "objectsGroups": [], + "variables": [], + "instances": [ + { + "angle": 0, + "customSize": false, + "height": 0, + "layer": "", + "locked": false, + "name": "u36a", + "persistentUuid": "01f106f9-91eb-41fd-b3a5-3ce0d7044088", + "width": 0, + "x": 0, + "y": 0, + "zOrder": 1, + "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", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + } + ], + "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": [] + } + ], + "events": [] + } + ], + "parameters": [] + } + ], + "layers": [ + { + "ambientLightColorB": 16, + "ambientLightColorG": 0, + "ambientLightColorR": 0, + "followBaseLayerCamera": false, + "isLightingLayer": false, + "name": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "behaviorsSharedData": [] } ], "externalEvents": [], diff --git a/дверь.xcf b/дверь.xcf index ff7ec64..d88054c 100644 Binary files a/дверь.xcf and b/дверь.xcf differ diff --git a/окно.xcf b/окно.xcf index 9a8a99a..eee0064 100644 Binary files a/окно.xcf and b/окно.xcf differ diff --git a/печь.xcf b/печь.xcf index f27211c..bcbc073 100644 Binary files a/печь.xcf and b/печь.xcf differ diff --git a/сцены/изба.png b/сцены/изба.png new file mode 100644 index 0000000..ab715da Binary files /dev/null and b/сцены/изба.png differ diff --git a/сцены/изба.xcf b/сцены/изба.xcf new file mode 100644 index 0000000..7b0befb Binary files /dev/null and b/сцены/изба.xcf differ