@@ -1817,6 +1817,24 @@ | |||
"name": "сцены/изба.png", | |||
"smoothed": true, | |||
"userAdded": true | |||
}, | |||
{ | |||
"alwaysLoaded": false, | |||
"file": "сцены/изба.jpg", | |||
"kind": "image", | |||
"metadata": "", | |||
"name": "сцены/изба.jpg", | |||
"smoothed": true, | |||
"userAdded": true | |||
}, | |||
{ | |||
"alwaysLoaded": false, | |||
"file": "указатели/основа.png", | |||
"kind": "image", | |||
"metadata": "", | |||
"name": "указатели/основа.png", | |||
"smoothed": true, | |||
"userAdded": true | |||
} | |||
], | |||
"resourceFolders": [] | |||
@@ -3112,7 +3130,7 @@ | |||
"gridWidth": 32, | |||
"snap": true, | |||
"windowMask": false, | |||
"zoomFactor": 1 | |||
"zoomFactor": 1.4058 | |||
}, | |||
"objectsGroups": [], | |||
"variables": [ | |||
@@ -17574,10 +17592,28 @@ | |||
"gridWidth": 32, | |||
"snap": true, | |||
"windowMask": false, | |||
"zoomFactor": 0.9964 | |||
"zoomFactor": 0.8872 | |||
}, | |||
"objectsGroups": [], | |||
"variables": [], | |||
"variables": [ | |||
{ | |||
"name": "Отладка", | |||
"children": [ | |||
{ | |||
"name": "0", | |||
"value": "" | |||
}, | |||
{ | |||
"name": "1", | |||
"value": "" | |||
} | |||
] | |||
}, | |||
{ | |||
"name": "KO_HA", | |||
"value": "22" | |||
} | |||
], | |||
"instances": [ | |||
{ | |||
"angle": 0, | |||
@@ -17594,6 +17630,54 @@ | |||
"numberProperties": [], | |||
"stringProperties": [], | |||
"initialVariables": [] | |||
}, | |||
{ | |||
"angle": 0, | |||
"customSize": true, | |||
"height": 32, | |||
"layer": "", | |||
"locked": false, | |||
"name": "OCHOBA", | |||
"persistentUuid": "ab059668-ed9e-441f-a48b-0b5d02e4d3c0", | |||
"width": 430, | |||
"x": 0, | |||
"y": 582, | |||
"zOrder": 2, | |||
"numberProperties": [], | |||
"stringProperties": [], | |||
"initialVariables": [] | |||
}, | |||
{ | |||
"angle": 0, | |||
"customSize": false, | |||
"height": 0, | |||
"layer": "", | |||
"locked": false, | |||
"name": "KO", | |||
"persistentUuid": "13e59954-4523-4a9d-a8f8-0adde46ebb97", | |||
"width": 0, | |||
"x": 347, | |||
"y": 339, | |||
"zOrder": 3, | |||
"numberProperties": [], | |||
"stringProperties": [], | |||
"initialVariables": [] | |||
}, | |||
{ | |||
"angle": 0, | |||
"customSize": true, | |||
"height": 32, | |||
"layer": "", | |||
"locked": false, | |||
"name": "OCHOBA", | |||
"persistentUuid": "1a79b1e3-9e42-4d76-9079-64df44f05c9c", | |||
"width": 2000, | |||
"x": 560, | |||
"y": 582, | |||
"zOrder": 2, | |||
"numberProperties": [], | |||
"stringProperties": [], | |||
"initialVariables": [] | |||
} | |||
], | |||
"objects": [ | |||
@@ -17615,7 +17699,7 @@ | |||
"sprites": [ | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "сцены/изба.png", | |||
"image": "сцены/изба.jpg", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
@@ -17635,80 +17719,734 @@ | |||
] | |||
} | |||
] | |||
} | |||
], | |||
"events": [ | |||
}, | |||
{ | |||
"colorB": 228, | |||
"colorG": 176, | |||
"colorR": 74, | |||
"creationTime": 0, | |||
"disabled": false, | |||
"folded": false, | |||
"name": "Пуск", | |||
"source": "", | |||
"type": "BuiltinCommonInstructions::Group", | |||
"events": [ | |||
"name": "KO", | |||
"tags": "", | |||
"type": "Sprite", | |||
"updateIfNotVisible": false, | |||
"variables": [ | |||
{ | |||
"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": [] | |||
"name": "Направление", | |||
"value": "233" | |||
} | |||
], | |||
"parameters": [] | |||
} | |||
], | |||
"layers": [ | |||
{ | |||
"ambientLightColorB": 16, | |||
"ambientLightColorG": 0, | |||
"ambientLightColorR": 0, | |||
"followBaseLayerCamera": false, | |||
"isLightingLayer": false, | |||
"name": "", | |||
"visibility": true, | |||
"cameras": [ | |||
"behaviors": [ | |||
{ | |||
"defaultSize": true, | |||
"defaultViewport": true, | |||
"height": 0, | |||
"viewportBottom": 1, | |||
"viewportLeft": 0, | |||
"viewportRight": 1, | |||
"viewportTop": 0, | |||
"width": 0 | |||
"name": "PlatformerObject", | |||
"type": "PlatformBehavior::PlatformerObjectBehavior", | |||
"acceleration": 1500, | |||
"canGrabPlatforms": false, | |||
"deceleration": 1500, | |||
"gravity": 1000, | |||
"ignoreDefaultControls": false, | |||
"jumpSpeed": 600, | |||
"jumpSustainTime": 0.1, | |||
"ladderClimbingSpeed": 150, | |||
"maxFallingSpeed": 700, | |||
"maxSpeed": 250, | |||
"roundCoordinates": true, | |||
"slopeMaxAngle": 60, | |||
"xGrabTolerance": 10, | |||
"yGrabOffset": 0 | |||
} | |||
], | |||
"effects": [] | |||
} | |||
], | |||
"behaviorsSharedData": [] | |||
"animations": [ | |||
{ | |||
"name": "Ожидание", | |||
"useMultipleDirections": false, | |||
"directions": [ | |||
{ | |||
"looping": false, | |||
"timeBetweenFrames": 0.08, | |||
"sprites": [ | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_неподвижен.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
} | |||
] | |||
} | |||
] | |||
}, | |||
{ | |||
"name": "Прыжок", | |||
"useMultipleDirections": false, | |||
"directions": [ | |||
{ | |||
"looping": false, | |||
"timeBetweenFrames": 0.08, | |||
"sprites": [ | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_прыжок.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
} | |||
] | |||
} | |||
] | |||
}, | |||
{ | |||
"name": "Движение", | |||
"useMultipleDirections": false, | |||
"directions": [ | |||
{ | |||
"looping": true, | |||
"timeBetweenFrames": 0.08, | |||
"sprites": [ | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_1.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_2.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_3.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_4.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_5.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_6.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_7.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_8.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_9.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_10.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_11.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_12.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_13.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_14.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_15.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_16.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_17.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
} | |||
] | |||
} | |||
] | |||
} | |||
] | |||
}, | |||
{ | |||
"height": 32, | |||
"name": "OCHOBA", | |||
"tags": "", | |||
"texture": "указатели/основа.png", | |||
"type": "TiledSpriteObject::TiledSprite", | |||
"width": 32, | |||
"variables": [], | |||
"behaviors": [ | |||
{ | |||
"name": "Platform", | |||
"type": "PlatformBehavior::PlatformBehavior", | |||
"canBeGrabbed": true, | |||
"platformType": "Jumpthru", | |||
"yGrabOffset": 0 | |||
} | |||
] | |||
} | |||
], | |||
"events": [ | |||
{ | |||
"colorB": 228, | |||
"colorG": 176, | |||
"colorR": 74, | |||
"creationTime": 0, | |||
"disabled": false, | |||
"folded": false, | |||
"name": "Пуск", | |||
"source": "", | |||
"type": "BuiltinCommonInstructions::Group", | |||
"events": [ | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "DepartScene" | |||
}, | |||
"parameters": [ | |||
"" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"actions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "SceneBackground" | |||
}, | |||
"parameters": [ | |||
"", | |||
"\"251;251;252\"" | |||
], | |||
"subInstructions": [] | |||
}, | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "Cache" | |||
}, | |||
"parameters": [ | |||
"OCHOBA" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"events": [] | |||
} | |||
], | |||
"parameters": [] | |||
}, | |||
{ | |||
"colorB": 228, | |||
"colorG": 176, | |||
"colorR": 74, | |||
"creationTime": 0, | |||
"disabled": false, | |||
"folded": true, | |||
"name": "Отладка", | |||
"source": "", | |||
"type": "BuiltinCommonInstructions::Group", | |||
"events": [ | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::JsCode", | |||
"inlineCode": "var OT = runtimeScene.getVariables().get(\"Отладка\");\nvar OT0 = OT.getChild(\"0\");\nvar OT1 = OT.getChild(\"1\");\nif (OT0.getAsString() != OT1.getAsString())\n{\n OT0.setString(OT1.getAsString());\n console.debug(\"Отладка:\", OT0.getAsString());\n}", | |||
"parameterObjects": "", | |||
"useStrict": true, | |||
"eventsSheetExpanded": false | |||
} | |||
], | |||
"parameters": [] | |||
}, | |||
{ | |||
"colorB": 228, | |||
"colorG": 176, | |||
"colorR": 74, | |||
"creationTime": 0, | |||
"disabled": false, | |||
"folded": false, | |||
"name": "Колобок", | |||
"source": "", | |||
"type": "BuiltinCommonInstructions::Group", | |||
"events": [ | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [], | |||
"actions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "CameraX" | |||
}, | |||
"parameters": [ | |||
"", | |||
"=", | |||
"lerp(CameraX(), KO.X(), 0.1)", | |||
"", | |||
"" | |||
], | |||
"subInstructions": [] | |||
}, | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "CameraY" | |||
}, | |||
"parameters": [ | |||
"", | |||
"=", | |||
"lerp(CameraY(), KO.Y(), 0.1)", | |||
"", | |||
"" | |||
], | |||
"subInstructions": [] | |||
}, | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "ModVarSceneTxt" | |||
}, | |||
"parameters": [ | |||
"Отладка.1", | |||
"=", | |||
"ToString(KO.Variable(Направление))" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"events": [] | |||
}, | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "DepartScene" | |||
}, | |||
"parameters": [ | |||
"" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"actions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "ModVarObjet" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"Направление", | |||
"=", | |||
"555" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"events": [] | |||
}, | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "PlatformBehavior::IsMoving" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"PlatformerObject" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"actions": [], | |||
"events": [] | |||
}, | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "VarObjet" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"Направление", | |||
"<=", | |||
"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": "VarObjet" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"Направление", | |||
">", | |||
"0" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"actions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "FlipX" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"no" | |||
], | |||
"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": [ | |||
{ | |||
"name": "Platform", | |||
"type": "PlatformBehavior::PlatformBehavior" | |||
}, | |||
{ | |||
"name": "PlatformerObject", | |||
"type": "PlatformBehavior::PlatformerObjectBehavior" | |||
} | |||
] | |||
} | |||
], | |||
"externalEvents": [], | |||
@@ -1817,6 +1817,24 @@ | |||
"name": "сцены/изба.png", | |||
"smoothed": true, | |||
"userAdded": true | |||
}, | |||
{ | |||
"alwaysLoaded": false, | |||
"file": "сцены/изба.jpg", | |||
"kind": "image", | |||
"metadata": "", | |||
"name": "сцены/изба.jpg", | |||
"smoothed": true, | |||
"userAdded": true | |||
}, | |||
{ | |||
"alwaysLoaded": false, | |||
"file": "указатели/основа.png", | |||
"kind": "image", | |||
"metadata": "", | |||
"name": "указатели/основа.png", | |||
"smoothed": true, | |||
"userAdded": true | |||
} | |||
], | |||
"resourceFolders": [] | |||
@@ -3112,7 +3130,7 @@ | |||
"gridWidth": 32, | |||
"snap": true, | |||
"windowMask": false, | |||
"zoomFactor": 1 | |||
"zoomFactor": 1.4058 | |||
}, | |||
"objectsGroups": [], | |||
"variables": [ | |||
@@ -17574,10 +17592,28 @@ | |||
"gridWidth": 32, | |||
"snap": true, | |||
"windowMask": false, | |||
"zoomFactor": 0.9964 | |||
"zoomFactor": 0.8872 | |||
}, | |||
"objectsGroups": [], | |||
"variables": [], | |||
"variables": [ | |||
{ | |||
"name": "Отладка", | |||
"children": [ | |||
{ | |||
"name": "0", | |||
"value": "" | |||
}, | |||
{ | |||
"name": "1", | |||
"value": "" | |||
} | |||
] | |||
}, | |||
{ | |||
"name": "KO_HA", | |||
"value": "22" | |||
} | |||
], | |||
"instances": [ | |||
{ | |||
"angle": 0, | |||
@@ -17594,6 +17630,54 @@ | |||
"numberProperties": [], | |||
"stringProperties": [], | |||
"initialVariables": [] | |||
}, | |||
{ | |||
"angle": 0, | |||
"customSize": true, | |||
"height": 32, | |||
"layer": "", | |||
"locked": false, | |||
"name": "OCHOBA", | |||
"persistentUuid": "ab059668-ed9e-441f-a48b-0b5d02e4d3c0", | |||
"width": 430, | |||
"x": 0, | |||
"y": 582, | |||
"zOrder": 2, | |||
"numberProperties": [], | |||
"stringProperties": [], | |||
"initialVariables": [] | |||
}, | |||
{ | |||
"angle": 0, | |||
"customSize": false, | |||
"height": 0, | |||
"layer": "", | |||
"locked": false, | |||
"name": "KO", | |||
"persistentUuid": "13e59954-4523-4a9d-a8f8-0adde46ebb97", | |||
"width": 0, | |||
"x": 347, | |||
"y": 339, | |||
"zOrder": 3, | |||
"numberProperties": [], | |||
"stringProperties": [], | |||
"initialVariables": [] | |||
}, | |||
{ | |||
"angle": 0, | |||
"customSize": true, | |||
"height": 32, | |||
"layer": "", | |||
"locked": false, | |||
"name": "OCHOBA", | |||
"persistentUuid": "1a79b1e3-9e42-4d76-9079-64df44f05c9c", | |||
"width": 2000, | |||
"x": 560, | |||
"y": 582, | |||
"zOrder": 2, | |||
"numberProperties": [], | |||
"stringProperties": [], | |||
"initialVariables": [] | |||
} | |||
], | |||
"objects": [ | |||
@@ -17615,7 +17699,7 @@ | |||
"sprites": [ | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "сцены/изба.png", | |||
"image": "сцены/изба.jpg", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
@@ -17635,80 +17719,734 @@ | |||
] | |||
} | |||
] | |||
} | |||
], | |||
"events": [ | |||
}, | |||
{ | |||
"colorB": 228, | |||
"colorG": 176, | |||
"colorR": 74, | |||
"creationTime": 0, | |||
"disabled": false, | |||
"folded": false, | |||
"name": "Пуск", | |||
"source": "", | |||
"type": "BuiltinCommonInstructions::Group", | |||
"events": [ | |||
"name": "KO", | |||
"tags": "", | |||
"type": "Sprite", | |||
"updateIfNotVisible": false, | |||
"variables": [ | |||
{ | |||
"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": [] | |||
"name": "Направление", | |||
"value": "233" | |||
} | |||
], | |||
"parameters": [] | |||
} | |||
], | |||
"layers": [ | |||
{ | |||
"ambientLightColorB": 16, | |||
"ambientLightColorG": 0, | |||
"ambientLightColorR": 0, | |||
"followBaseLayerCamera": false, | |||
"isLightingLayer": false, | |||
"name": "", | |||
"visibility": true, | |||
"cameras": [ | |||
"behaviors": [ | |||
{ | |||
"defaultSize": true, | |||
"defaultViewport": true, | |||
"height": 0, | |||
"viewportBottom": 1, | |||
"viewportLeft": 0, | |||
"viewportRight": 1, | |||
"viewportTop": 0, | |||
"width": 0 | |||
"name": "PlatformerObject", | |||
"type": "PlatformBehavior::PlatformerObjectBehavior", | |||
"acceleration": 1500, | |||
"canGrabPlatforms": false, | |||
"deceleration": 1500, | |||
"gravity": 1000, | |||
"ignoreDefaultControls": false, | |||
"jumpSpeed": 600, | |||
"jumpSustainTime": 0.1, | |||
"ladderClimbingSpeed": 150, | |||
"maxFallingSpeed": 700, | |||
"maxSpeed": 250, | |||
"roundCoordinates": true, | |||
"slopeMaxAngle": 60, | |||
"xGrabTolerance": 10, | |||
"yGrabOffset": 0 | |||
} | |||
], | |||
"effects": [] | |||
} | |||
], | |||
"behaviorsSharedData": [] | |||
"animations": [ | |||
{ | |||
"name": "Ожидание", | |||
"useMultipleDirections": false, | |||
"directions": [ | |||
{ | |||
"looping": false, | |||
"timeBetweenFrames": 0.08, | |||
"sprites": [ | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_неподвижен.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
} | |||
] | |||
} | |||
] | |||
}, | |||
{ | |||
"name": "Прыжок", | |||
"useMultipleDirections": false, | |||
"directions": [ | |||
{ | |||
"looping": false, | |||
"timeBetweenFrames": 0.08, | |||
"sprites": [ | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_прыжок.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
} | |||
] | |||
} | |||
] | |||
}, | |||
{ | |||
"name": "Движение", | |||
"useMultipleDirections": false, | |||
"directions": [ | |||
{ | |||
"looping": true, | |||
"timeBetweenFrames": 0.08, | |||
"sprites": [ | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_1.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_2.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_3.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_4.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_5.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_6.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_7.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_8.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_9.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_10.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_11.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_12.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_13.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_14.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_15.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_16.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение_17.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
}, | |||
{ | |||
"hasCustomCollisionMask": false, | |||
"image": "колобок/колобок_движение.png", | |||
"points": [], | |||
"originPoint": { | |||
"name": "origine", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"centerPoint": { | |||
"automatic": true, | |||
"name": "centre", | |||
"x": 0, | |||
"y": 0 | |||
}, | |||
"customCollisionMask": [] | |||
} | |||
] | |||
} | |||
] | |||
} | |||
] | |||
}, | |||
{ | |||
"height": 32, | |||
"name": "OCHOBA", | |||
"tags": "", | |||
"texture": "указатели/основа.png", | |||
"type": "TiledSpriteObject::TiledSprite", | |||
"width": 32, | |||
"variables": [], | |||
"behaviors": [ | |||
{ | |||
"name": "Platform", | |||
"type": "PlatformBehavior::PlatformBehavior", | |||
"canBeGrabbed": true, | |||
"platformType": "Jumpthru", | |||
"yGrabOffset": 0 | |||
} | |||
] | |||
} | |||
], | |||
"events": [ | |||
{ | |||
"colorB": 228, | |||
"colorG": 176, | |||
"colorR": 74, | |||
"creationTime": 0, | |||
"disabled": false, | |||
"folded": false, | |||
"name": "Пуск", | |||
"source": "", | |||
"type": "BuiltinCommonInstructions::Group", | |||
"events": [ | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "DepartScene" | |||
}, | |||
"parameters": [ | |||
"" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"actions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "SceneBackground" | |||
}, | |||
"parameters": [ | |||
"", | |||
"\"251;251;252\"" | |||
], | |||
"subInstructions": [] | |||
}, | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "Cache" | |||
}, | |||
"parameters": [ | |||
"OCHOBA" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"events": [] | |||
} | |||
], | |||
"parameters": [] | |||
}, | |||
{ | |||
"colorB": 228, | |||
"colorG": 176, | |||
"colorR": 74, | |||
"creationTime": 0, | |||
"disabled": false, | |||
"folded": true, | |||
"name": "Отладка", | |||
"source": "", | |||
"type": "BuiltinCommonInstructions::Group", | |||
"events": [ | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::JsCode", | |||
"inlineCode": "var OT = runtimeScene.getVariables().get(\"Отладка\");\nvar OT0 = OT.getChild(\"0\");\nvar OT1 = OT.getChild(\"1\");\nif (OT0.getAsString() != OT1.getAsString())\n{\n OT0.setString(OT1.getAsString());\n console.debug(\"Отладка:\", OT0.getAsString());\n}", | |||
"parameterObjects": "", | |||
"useStrict": true, | |||
"eventsSheetExpanded": false | |||
} | |||
], | |||
"parameters": [] | |||
}, | |||
{ | |||
"colorB": 228, | |||
"colorG": 176, | |||
"colorR": 74, | |||
"creationTime": 0, | |||
"disabled": false, | |||
"folded": false, | |||
"name": "Колобок", | |||
"source": "", | |||
"type": "BuiltinCommonInstructions::Group", | |||
"events": [ | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [], | |||
"actions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "CameraX" | |||
}, | |||
"parameters": [ | |||
"", | |||
"=", | |||
"lerp(CameraX(), KO.X(), 0.1)", | |||
"", | |||
"" | |||
], | |||
"subInstructions": [] | |||
}, | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "CameraY" | |||
}, | |||
"parameters": [ | |||
"", | |||
"=", | |||
"lerp(CameraY(), KO.Y(), 0.1)", | |||
"", | |||
"" | |||
], | |||
"subInstructions": [] | |||
}, | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "ModVarSceneTxt" | |||
}, | |||
"parameters": [ | |||
"Отладка.1", | |||
"=", | |||
"ToString(KO.Variable(Направление))" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"events": [] | |||
}, | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "DepartScene" | |||
}, | |||
"parameters": [ | |||
"" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"actions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "ModVarObjet" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"Направление", | |||
"=", | |||
"555" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"events": [] | |||
}, | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "PlatformBehavior::IsMoving" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"PlatformerObject" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"actions": [], | |||
"events": [] | |||
}, | |||
{ | |||
"disabled": false, | |||
"folded": false, | |||
"type": "BuiltinCommonInstructions::Standard", | |||
"conditions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "VarObjet" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"Направление", | |||
"<=", | |||
"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": "VarObjet" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"Направление", | |||
">", | |||
"0" | |||
], | |||
"subInstructions": [] | |||
} | |||
], | |||
"actions": [ | |||
{ | |||
"type": { | |||
"inverted": false, | |||
"value": "FlipX" | |||
}, | |||
"parameters": [ | |||
"KO", | |||
"no" | |||
], | |||
"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": [ | |||
{ | |||
"name": "Platform", | |||
"type": "PlatformBehavior::PlatformBehavior" | |||
}, | |||
{ | |||
"name": "PlatformerObject", | |||
"type": "PlatformBehavior::PlatformerObjectBehavior" | |||
} | |||
] | |||
} | |||
], | |||
"externalEvents": [], | |||