diff --git a/game.json b/game.json index 9c4320b..3562199 100644 --- a/game.json +++ b/game.json @@ -312,6 +312,231 @@ "name": "колобок/колобок_неподвижен.png", "smoothed": true, "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_1.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_1.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_2.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_3.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_3.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_4.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_4.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_5.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_5.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_6.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_6.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_7.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_7.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_8.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_8.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_9.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_9.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_10.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_10.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_11.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_11.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_12.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_12.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_13.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_13.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_14.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_14.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_15.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_15.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_16.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_16.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_17.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_17.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "платформа.png", + "kind": "image", + "metadata": "", + "name": "платформа.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_прыжок.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_прыжок.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "дверь.png", + "kind": "image", + "metadata": "", + "name": "дверь.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "печь.png", + "kind": "image", + "metadata": "", + "name": "печь.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "окно.png", + "kind": "image", + "metadata": "", + "name": "окно.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "стол.png", + "kind": "image", + "metadata": "", + "name": "стол.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "банка_молока.png", + "kind": "image", + "metadata": "", + "name": "банка_молока.png", + "smoothed": true, + "userAdded": true } ], "resourceFolders": [] @@ -321,18 +546,18 @@ "variables": [], "layouts": [ { - "b": 255, + "b": 248, "disableInputWhenNotFocused": true, "mangledName": "_1048_1079_1073_1072", "name": "Изба", "oglFOV": 90, "oglZFar": 500, "oglZNear": 1, - "r": 255, + "r": 248, "standardSortMethod": true, "stopSoundsOnStartup": true, "title": "", - "v": 255, + "v": 248, "uiSettings": { "grid": false, "gridB": 255, @@ -344,7 +569,7 @@ "gridWidth": 32, "snap": true, "windowMask": false, - "zoomFactor": 0.5 + "zoomFactor": 1 }, "objectsGroups": [], "variables": [], @@ -390,101 +615,881 @@ "name": "KO", "persistentUuid": "c5eaa6c9-a5cd-4683-b811-a516b3d2a9a5", "width": 0, - "x": -312, - "y": 212, + "x": 11, + "y": 234, "zOrder": 3, "numberProperties": [], "stringProperties": [], "initialVariables": [] - } - ], - "objects": [ + }, { - "name": "nE4b", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "печь.jpg", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] - } - ] - } - ] - } - ] + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "74c9fc34-b94c-453f-8e33-4c5f85f0a419", + "width": 547, + "x": 125, + "y": 469, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] }, { - "height": 22, - "name": "nOJI", - "tags": "", - "texture": "пол.jpg", - "type": "TiledSpriteObject::TiledSprite", - "width": 100, - "variables": [], - "behaviors": [ - { - "name": "Platform", - "type": "PlatformBehavior::PlatformBehavior", - "canBeGrabbed": true, - "platformType": "NormalPlatform", - "yGrabOffset": 0 + "angle": 0, + "customSize": false, + "height": 0, + "layer": "UI", + "locked": false, + "name": "OT", + "persistentUuid": "3b6be186-69c8-499a-a999-9f2ab7d0e905", + "width": 0, + "x": 690, + "y": 31, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "0506bf97-cc73-4c49-a58c-e353831e8458", + "width": 61, + "x": 207, + "y": 331, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "2f84380d-52f3-4824-863a-cfe08e2bbb6f", + "width": 61, + "x": 314, + "y": 332, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "2878b7d5-b2d1-4aa4-9a30-2977edaa1dac", + "width": 61, + "x": 403, + "y": 330, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "83595e54-907f-47b0-b93a-394d041fa1c4", + "width": 84, + "x": 523, + "y": 350, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "f65e9098-8aec-4170-97e2-fb857a62ba5a", + "width": 145, + "x": 486, + "y": 176, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "83ea821e-3526-4dc6-8222-6b70ba732922", + "width": 332, + "x": 154, + "y": 243, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "15f9c7d2-e507-4257-b91f-6856c1df498d", + "width": 24, + "x": 633, + "y": 251, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 386, + "layer": "", + "locked": false, + "name": "Door", + "persistentUuid": "5736b160-2e89-403e-a85e-babd7cae1e39", + "width": 211, + "x": -312, + "y": 196, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 236, + "layer": "", + "locked": false, + "name": "Window", + "persistentUuid": "0cbbe175-be2d-451b-a8d0-4dd76fecb4b5", + "width": 205, + "x": 1004, + "y": 162, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 165, + "layer": "", + "locked": false, + "name": "Table", + "persistentUuid": "34738d65-c9c8-4fe2-8edb-7842f4ecab4d", + "width": 617, + "x": 799, + "y": 416, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 78, + "layer": "", + "locked": false, + "name": "Milk", + "persistentUuid": "7fe6d256-d6fe-4e91-a2e3-65047705896d", + "width": 49, + "x": 1339, + "y": 345, + "zOrder": 8, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "8ae69b94-a850-4a35-9ad8-0e7bbb503c4f", + "width": 195, + "x": 1008, + "y": 369, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "d6376da4-64bf-4bd4-a3a4-3b7e1a61d42b", + "width": 602, + "x": 803, + "y": 420, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "objects": [ + { + "name": "nE4b", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "печь.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "height": 22, + "name": "nOJI", + "tags": "", + "texture": "пол.jpg", + "type": "TiledSpriteObject::TiledSprite", + "width": 100, + "variables": [], + "behaviors": [ + { + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior", + "canBeGrabbed": true, + "platformType": "NormalPlatform", + "yGrabOffset": 0 + } + ] + }, + { + "name": "KO", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "name": "PlatformerObject", + "type": "PlatformBehavior::PlatformerObjectBehavior", + "acceleration": 1500, + "jumpSustainTime": 0.1, + "maxSpeed": 250, + "canGrabPlatforms": false, + "deceleration": 1500, + "gravity": 1000, + "ignoreDefaultControls": false, + "jumpSpeed": 600, + "ladderClimbingSpeed": 150, + "maxFallingSpeed": 700, + "roundCoordinates": true, + "slopeMaxAngle": 60, + "xGrabTolerance": 10, + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "Idle", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_неподвижен.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "Motion", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_3.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_4.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_5.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_6.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_7.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_8.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_9.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_10.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_11.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_12.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_13.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_14.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_15.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_16.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_17.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "Jump", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_прыжок.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "height": 8, + "name": "Surface", + "tags": "", + "texture": "платформа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [ + { + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior", + "canBeGrabbed": true, + "platformType": "Jumpthru", + "yGrabOffset": 0 + } + ] + }, + { + "bold": false, + "italic": false, + "name": "OT", + "smoothed": true, + "tags": "", + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "Text", + "font": "", + "characterSize": 20, + "color": { + "b": 0, + "g": 0, + "r": 0 + } + }, + { + "name": "Door", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "дверь.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Window", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "окно.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Table", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "стол.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] } ] }, { - "name": "KO", + "name": "Milk", "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], - "behaviors": [ - { - "name": "PlatformerObject", - "type": "PlatformBehavior::PlatformerObjectBehavior", - "acceleration": 1500, - "canGrabPlatforms": false, - "deceleration": 1500, - "gravity": 1000, - "ignoreDefaultControls": false, - "jumpSpeed": 600, - "jumpSustainTime": 0.2, - "ladderClimbingSpeed": 150, - "maxFallingSpeed": 700, - "maxSpeed": 250, - "roundCoordinates": true, - "slopeMaxAngle": 60, - "xGrabTolerance": 10, - "yGrabOffset": 0 - } - ], + "behaviors": [], "animations": [ { - "name": "Idle", + "name": "", "useMultipleDirections": false, "directions": [ { @@ -493,7 +1498,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "колобок/колобок_неподвижен.png", + "image": "банка_молока.png", "points": [], "originPoint": { "name": "origine", @@ -516,6 +1521,264 @@ } ], "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "KO_HA", + "=", + "KO.X() - Variable(KO_X)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "KO_X", + "=", + "KO.X()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Motion\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Idle\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + "<", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "yes" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + ">=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "Surface" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "OT" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Jump\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, { "disabled": false, "folded": false, @@ -525,12 +1788,26 @@ { "type": { "inverted": false, - "value": "CentreCamera" + "value": "CameraX" }, "parameters": [ "", - "KO", + "=", + "lerp(CameraX(), KO.X(), 0.1)", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ "", + "=", + "lerp(CameraY(), KO.Y(), 0.1)", "", "" ], @@ -562,6 +1839,17 @@ } ], "effects": [] + }, + { + "ambientLightColorB": 1702453632, + "ambientLightColorG": 0, + "ambientLightColorR": -1, + "followBaseLayerCamera": false, + "isLightingLayer": false, + "name": "UI", + "visibility": true, + "cameras": [], + "effects": [] } ], "behaviorsSharedData": [ diff --git a/game.json.autosave b/game.json.autosave index 9c4320b..3562199 100644 --- a/game.json.autosave +++ b/game.json.autosave @@ -312,6 +312,231 @@ "name": "колобок/колобок_неподвижен.png", "smoothed": true, "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_1.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_1.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_2.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_2.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_3.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_3.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_4.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_4.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_5.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_5.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_6.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_6.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_7.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_7.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_8.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_8.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_9.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_9.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_10.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_10.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_11.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_11.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_12.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_12.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_13.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_13.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_14.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_14.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_15.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_15.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_16.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_16.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_движение_17.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_движение_17.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "платформа.png", + "kind": "image", + "metadata": "", + "name": "платформа.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "колобок/колобок_прыжок.png", + "kind": "image", + "metadata": "", + "name": "колобок/колобок_прыжок.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "дверь.png", + "kind": "image", + "metadata": "", + "name": "дверь.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "печь.png", + "kind": "image", + "metadata": "", + "name": "печь.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "окно.png", + "kind": "image", + "metadata": "", + "name": "окно.png", + "smoothed": true, + "userAdded": false + }, + { + "alwaysLoaded": false, + "file": "стол.png", + "kind": "image", + "metadata": "", + "name": "стол.png", + "smoothed": true, + "userAdded": true + }, + { + "alwaysLoaded": false, + "file": "банка_молока.png", + "kind": "image", + "metadata": "", + "name": "банка_молока.png", + "smoothed": true, + "userAdded": true } ], "resourceFolders": [] @@ -321,18 +546,18 @@ "variables": [], "layouts": [ { - "b": 255, + "b": 248, "disableInputWhenNotFocused": true, "mangledName": "_1048_1079_1073_1072", "name": "Изба", "oglFOV": 90, "oglZFar": 500, "oglZNear": 1, - "r": 255, + "r": 248, "standardSortMethod": true, "stopSoundsOnStartup": true, "title": "", - "v": 255, + "v": 248, "uiSettings": { "grid": false, "gridB": 255, @@ -344,7 +569,7 @@ "gridWidth": 32, "snap": true, "windowMask": false, - "zoomFactor": 0.5 + "zoomFactor": 1 }, "objectsGroups": [], "variables": [], @@ -390,101 +615,881 @@ "name": "KO", "persistentUuid": "c5eaa6c9-a5cd-4683-b811-a516b3d2a9a5", "width": 0, - "x": -312, - "y": 212, + "x": 11, + "y": 234, "zOrder": 3, "numberProperties": [], "stringProperties": [], "initialVariables": [] - } - ], - "objects": [ + }, { - "name": "nE4b", - "tags": "", - "type": "Sprite", - "updateIfNotVisible": false, - "variables": [], - "behaviors": [], - "animations": [ - { - "name": "", - "useMultipleDirections": false, - "directions": [ - { - "looping": false, - "timeBetweenFrames": 0.08, - "sprites": [ - { - "hasCustomCollisionMask": false, - "image": "печь.jpg", - "points": [], - "originPoint": { - "name": "origine", - "x": 0, - "y": 0 - }, - "centerPoint": { - "automatic": true, - "name": "centre", - "x": 0, - "y": 0 - }, - "customCollisionMask": [] - } - ] - } - ] - } - ] + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "74c9fc34-b94c-453f-8e33-4c5f85f0a419", + "width": 547, + "x": 125, + "y": 469, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] }, { - "height": 22, - "name": "nOJI", - "tags": "", - "texture": "пол.jpg", - "type": "TiledSpriteObject::TiledSprite", - "width": 100, - "variables": [], - "behaviors": [ - { - "name": "Platform", - "type": "PlatformBehavior::PlatformBehavior", - "canBeGrabbed": true, - "platformType": "NormalPlatform", - "yGrabOffset": 0 + "angle": 0, + "customSize": false, + "height": 0, + "layer": "UI", + "locked": false, + "name": "OT", + "persistentUuid": "3b6be186-69c8-499a-a999-9f2ab7d0e905", + "width": 0, + "x": 690, + "y": 31, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "0506bf97-cc73-4c49-a58c-e353831e8458", + "width": 61, + "x": 207, + "y": 331, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "2f84380d-52f3-4824-863a-cfe08e2bbb6f", + "width": 61, + "x": 314, + "y": 332, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "2878b7d5-b2d1-4aa4-9a30-2977edaa1dac", + "width": 61, + "x": 403, + "y": 330, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "83595e54-907f-47b0-b93a-394d041fa1c4", + "width": 84, + "x": 523, + "y": 350, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "f65e9098-8aec-4170-97e2-fb857a62ba5a", + "width": 145, + "x": 486, + "y": 176, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "83ea821e-3526-4dc6-8222-6b70ba732922", + "width": 332, + "x": 154, + "y": 243, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "15f9c7d2-e507-4257-b91f-6856c1df498d", + "width": 24, + "x": 633, + "y": 251, + "zOrder": 6, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 386, + "layer": "", + "locked": false, + "name": "Door", + "persistentUuid": "5736b160-2e89-403e-a85e-babd7cae1e39", + "width": 211, + "x": -312, + "y": 196, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 236, + "layer": "", + "locked": false, + "name": "Window", + "persistentUuid": "0cbbe175-be2d-451b-a8d0-4dd76fecb4b5", + "width": 205, + "x": 1004, + "y": 162, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 165, + "layer": "", + "locked": false, + "name": "Table", + "persistentUuid": "34738d65-c9c8-4fe2-8edb-7842f4ecab4d", + "width": 617, + "x": 799, + "y": 416, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 78, + "layer": "", + "locked": false, + "name": "Milk", + "persistentUuid": "7fe6d256-d6fe-4e91-a2e3-65047705896d", + "width": 49, + "x": 1339, + "y": 345, + "zOrder": 8, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "8ae69b94-a850-4a35-9ad8-0e7bbb503c4f", + "width": 195, + "x": 1008, + "y": 369, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "height": 8, + "layer": "", + "locked": false, + "name": "Surface", + "persistentUuid": "d6376da4-64bf-4bd4-a3a4-3b7e1a61d42b", + "width": 602, + "x": 803, + "y": 420, + "zOrder": 9, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + } + ], + "objects": [ + { + "name": "nE4b", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "печь.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "height": 22, + "name": "nOJI", + "tags": "", + "texture": "пол.jpg", + "type": "TiledSpriteObject::TiledSprite", + "width": 100, + "variables": [], + "behaviors": [ + { + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior", + "canBeGrabbed": true, + "platformType": "NormalPlatform", + "yGrabOffset": 0 + } + ] + }, + { + "name": "KO", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [ + { + "name": "PlatformerObject", + "type": "PlatformBehavior::PlatformerObjectBehavior", + "acceleration": 1500, + "jumpSustainTime": 0.1, + "maxSpeed": 250, + "canGrabPlatforms": false, + "deceleration": 1500, + "gravity": 1000, + "ignoreDefaultControls": false, + "jumpSpeed": 600, + "ladderClimbingSpeed": 150, + "maxFallingSpeed": 700, + "roundCoordinates": true, + "slopeMaxAngle": 60, + "xGrabTolerance": 10, + "yGrabOffset": 0 + } + ], + "animations": [ + { + "name": "Idle", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_неподвижен.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "Motion", + "useMultipleDirections": false, + "directions": [ + { + "looping": true, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_1.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_2.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_3.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_4.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_5.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_6.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_7.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_8.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_9.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_10.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_11.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_12.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_13.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_14.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_15.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_16.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + }, + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_движение_17.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + }, + { + "name": "Jump", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "колобок/колобок_прыжок.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0.13082, + "y": -0.235211 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "height": 8, + "name": "Surface", + "tags": "", + "texture": "платформа.png", + "type": "TiledSpriteObject::TiledSprite", + "width": 32, + "variables": [], + "behaviors": [ + { + "name": "Platform", + "type": "PlatformBehavior::PlatformBehavior", + "canBeGrabbed": true, + "platformType": "Jumpthru", + "yGrabOffset": 0 + } + ] + }, + { + "bold": false, + "italic": false, + "name": "OT", + "smoothed": true, + "tags": "", + "type": "TextObject::Text", + "underlined": false, + "variables": [], + "behaviors": [], + "string": "Text", + "font": "", + "characterSize": 20, + "color": { + "b": 0, + "g": 0, + "r": 0 + } + }, + { + "name": "Door", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "дверь.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Window", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "окно.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] + } + ] + }, + { + "name": "Table", + "tags": "", + "type": "Sprite", + "updateIfNotVisible": false, + "variables": [], + "behaviors": [], + "animations": [ + { + "name": "", + "useMultipleDirections": false, + "directions": [ + { + "looping": false, + "timeBetweenFrames": 0.08, + "sprites": [ + { + "hasCustomCollisionMask": false, + "image": "стол.png", + "points": [], + "originPoint": { + "name": "origine", + "x": 0, + "y": 0 + }, + "centerPoint": { + "automatic": true, + "name": "centre", + "x": 0, + "y": 0 + }, + "customCollisionMask": [] + } + ] + } + ] } ] }, { - "name": "KO", + "name": "Milk", "tags": "", "type": "Sprite", "updateIfNotVisible": false, "variables": [], - "behaviors": [ - { - "name": "PlatformerObject", - "type": "PlatformBehavior::PlatformerObjectBehavior", - "acceleration": 1500, - "canGrabPlatforms": false, - "deceleration": 1500, - "gravity": 1000, - "ignoreDefaultControls": false, - "jumpSpeed": 600, - "jumpSustainTime": 0.2, - "ladderClimbingSpeed": 150, - "maxFallingSpeed": 700, - "maxSpeed": 250, - "roundCoordinates": true, - "slopeMaxAngle": 60, - "xGrabTolerance": 10, - "yGrabOffset": 0 - } - ], + "behaviors": [], "animations": [ { - "name": "Idle", + "name": "", "useMultipleDirections": false, "directions": [ { @@ -493,7 +1498,7 @@ "sprites": [ { "hasCustomCollisionMask": false, - "image": "колобок/колобок_неподвижен.png", + "image": "банка_молока.png", "points": [], "originPoint": { "name": "origine", @@ -516,6 +1521,264 @@ } ], "events": [ + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "KO_HA", + "=", + "KO.X() - Variable(KO_X)" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "ModVarScene" + }, + "parameters": [ + "KO_X", + "=", + "KO.X()" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Motion\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "PlatformBehavior::IsMoving" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Idle\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + "<", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "yes" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "VarScene" + }, + "parameters": [ + "KO_HA", + ">=", + "0" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "FlipX" + }, + "parameters": [ + "KO", + "no" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "DepartScene" + }, + "parameters": [ + "" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "Surface" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "Cache" + }, + "parameters": [ + "OT" + ], + "subInstructions": [] + } + ], + "events": [] + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": false, + "value": "PlatformBehavior::IsJumping" + }, + "parameters": [ + "KO", + "PlatformerObject" + ], + "subInstructions": [] + } + ], + "actions": [ + { + "type": { + "inverted": false, + "value": "SetAnimationName" + }, + "parameters": [ + "KO", + "\"Jump\"" + ], + "subInstructions": [] + } + ], + "events": [] + }, { "disabled": false, "folded": false, @@ -525,12 +1788,26 @@ { "type": { "inverted": false, - "value": "CentreCamera" + "value": "CameraX" }, "parameters": [ "", - "KO", + "=", + "lerp(CameraX(), KO.X(), 0.1)", + "", + "" + ], + "subInstructions": [] + }, + { + "type": { + "inverted": false, + "value": "CameraY" + }, + "parameters": [ "", + "=", + "lerp(CameraY(), KO.Y(), 0.1)", "", "" ], @@ -562,6 +1839,17 @@ } ], "effects": [] + }, + { + "ambientLightColorB": 1702453632, + "ambientLightColorG": 0, + "ambientLightColorR": -1, + "followBaseLayerCamera": false, + "isLightingLayer": false, + "name": "UI", + "visibility": true, + "cameras": [], + "effects": [] } ], "behaviorsSharedData": [ diff --git a/банка_молока.png b/банка_молока.png new file mode 100644 index 0000000..237692b Binary files /dev/null and b/банка_молока.png differ diff --git a/банка_молока.xcf b/банка_молока.xcf new file mode 100644 index 0000000..46ccf73 Binary files /dev/null and b/банка_молока.xcf differ diff --git a/дверь.png b/дверь.png new file mode 100644 index 0000000..a7994cd Binary files /dev/null and b/дверь.png differ diff --git a/дверь.xcf b/дверь.xcf new file mode 100644 index 0000000..ff7ec64 Binary files /dev/null and b/дверь.xcf differ diff --git a/колобок.xcf b/колобок.xcf index 8e07937..1ff5a82 100644 Binary files a/колобок.xcf and b/колобок.xcf differ diff --git a/колобок/колобок_движение.png b/колобок/колобок_движение.png index c3ecc6f..3d12850 100644 Binary files a/колобок/колобок_движение.png and b/колобок/колобок_движение.png differ diff --git a/колобок/колобок_движение_1.png b/колобок/колобок_движение_1.png index 02911ba..d6c2bb1 100644 Binary files a/колобок/колобок_движение_1.png and b/колобок/колобок_движение_1.png differ diff --git a/колобок/колобок_движение_10.png b/колобок/колобок_движение_10.png index 0813a6a..b4ecadc 100644 Binary files a/колобок/колобок_движение_10.png and b/колобок/колобок_движение_10.png differ diff --git a/колобок/колобок_движение_11.png b/колобок/колобок_движение_11.png index abe1373..688e485 100644 Binary files a/колобок/колобок_движение_11.png and b/колобок/колобок_движение_11.png differ diff --git a/колобок/колобок_движение_12.png b/колобок/колобок_движение_12.png index 1c0851a..923849b 100644 Binary files a/колобок/колобок_движение_12.png and b/колобок/колобок_движение_12.png differ diff --git a/колобок/колобок_движение_13.png b/колобок/колобок_движение_13.png index aab00d3..92e2633 100644 Binary files a/колобок/колобок_движение_13.png and b/колобок/колобок_движение_13.png differ diff --git a/колобок/колобок_движение_14.png b/колобок/колобок_движение_14.png index c24cc76..1cd4719 100644 Binary files a/колобок/колобок_движение_14.png and b/колобок/колобок_движение_14.png differ diff --git a/колобок/колобок_движение_15.png b/колобок/колобок_движение_15.png index d934a13..9af0e0a 100644 Binary files a/колобок/колобок_движение_15.png and b/колобок/колобок_движение_15.png differ diff --git a/колобок/колобок_движение_16.png b/колобок/колобок_движение_16.png index 5e631f2..ad93e23 100644 Binary files a/колобок/колобок_движение_16.png and b/колобок/колобок_движение_16.png differ diff --git a/колобок/колобок_движение_17.png b/колобок/колобок_движение_17.png index 6ae3a91..7684951 100644 Binary files a/колобок/колобок_движение_17.png and b/колобок/колобок_движение_17.png differ diff --git a/колобок/колобок_движение_2.png b/колобок/колобок_движение_2.png index 910963f..17ea20a 100644 Binary files a/колобок/колобок_движение_2.png and b/колобок/колобок_движение_2.png differ diff --git a/колобок/колобок_движение_3.png b/колобок/колобок_движение_3.png index 1f2b932..a30d1d6 100644 Binary files a/колобок/колобок_движение_3.png and b/колобок/колобок_движение_3.png differ diff --git a/колобок/колобок_движение_4.png b/колобок/колобок_движение_4.png index 79fa38f..abc55e6 100644 Binary files a/колобок/колобок_движение_4.png and b/колобок/колобок_движение_4.png differ diff --git a/колобок/колобок_движение_5.png b/колобок/колобок_движение_5.png index 4510d6a..78a02e1 100644 Binary files a/колобок/колобок_движение_5.png and b/колобок/колобок_движение_5.png differ diff --git a/колобок/колобок_движение_6.png b/колобок/колобок_движение_6.png index 2b6e027..319ab6a 100644 Binary files a/колобок/колобок_движение_6.png and b/колобок/колобок_движение_6.png differ diff --git a/колобок/колобок_движение_7.png b/колобок/колобок_движение_7.png index 146507e..dad3cf1 100644 Binary files a/колобок/колобок_движение_7.png and b/колобок/колобок_движение_7.png differ diff --git a/колобок/колобок_движение_8.png b/колобок/колобок_движение_8.png index 002be30..342c789 100644 Binary files a/колобок/колобок_движение_8.png and b/колобок/колобок_движение_8.png differ diff --git a/колобок/колобок_движение_9.png b/колобок/колобок_движение_9.png index e8f68f7..6018795 100644 Binary files a/колобок/колобок_движение_9.png and b/колобок/колобок_движение_9.png differ diff --git a/колобок/колобок_неподвижен.png b/колобок/колобок_неподвижен.png index 441486c..41af670 100644 Binary files a/колобок/колобок_неподвижен.png and b/колобок/колобок_неподвижен.png differ diff --git a/колобок/колобок_прыжок.png b/колобок/колобок_прыжок.png new file mode 100644 index 0000000..7de2f58 Binary files /dev/null and b/колобок/колобок_прыжок.png differ diff --git a/колобок_прыжок.xcf b/колобок_прыжок.xcf new file mode 100644 index 0000000..62d233e Binary files /dev/null and b/колобок_прыжок.xcf differ diff --git a/окно.png b/окно.png new file mode 100644 index 0000000..fc9c886 Binary files /dev/null and b/окно.png differ diff --git a/окно.xcf b/окно.xcf new file mode 100644 index 0000000..fea9a2b Binary files /dev/null and b/окно.xcf differ diff --git a/печь.jpg b/печь.jpg deleted file mode 100644 index eb7db78..0000000 Binary files a/печь.jpg and /dev/null differ diff --git a/печь.png b/печь.png new file mode 100644 index 0000000..8ed7abb Binary files /dev/null and b/печь.png differ diff --git a/платформа.png b/платформа.png new file mode 100644 index 0000000..f5f91c6 Binary files /dev/null and b/платформа.png differ diff --git a/платформа.xcf b/платформа.xcf new file mode 100644 index 0000000..58d9c57 Binary files /dev/null and b/платформа.xcf differ diff --git a/стол.png b/стол.png new file mode 100644 index 0000000..538cde6 Binary files /dev/null and b/стол.png differ diff --git a/стол.xcf b/стол.xcf new file mode 100644 index 0000000..c9cc320 Binary files /dev/null and b/стол.xcf differ