переходы между избой и двором

This commit is contained in:
2021-03-11 23:01:15 +03:00
parent 726f768be8
commit a9750ac57f
2 changed files with 2178 additions and 914 deletions

836
game.json
View File

@@ -10,14 +10,14 @@
"adaptGameResolutionAtRuntime": true, "adaptGameResolutionAtRuntime": true,
"folderProject": false, "folderProject": false,
"orientation": "landscape", "orientation": "landscape",
"packageName": "com.example.gamename", "packageName": "org.opengamestudio.kolobok",
"projectUuid": "4b1368f4-5c1e-4f2a-937f-a5837ddf200b", "projectUuid": "4b1368f4-5c1e-4f2a-937f-a5837ddf200b",
"scaleMode": "linear", "scaleMode": "linear",
"sizeOnStartupMode": "adaptWidth", "sizeOnStartupMode": "adaptWidth",
"useExternalSourceFiles": false, "useExternalSourceFiles": false,
"version": "1.0.0", "version": "0.1.0",
"name": "Проект", "name": "КОЛОБОК",
"author": "", "author": "Михаил Капелько",
"windowWidth": 800, "windowWidth": 800,
"windowHeight": 600, "windowHeight": 600,
"latestCompilationDirectory": "", "latestCompilationDirectory": "",
@@ -3304,7 +3304,16 @@
}, },
"objects": [], "objects": [],
"objectsGroups": [], "objectsGroups": [],
"variables": [], "variables": [
{
"name": "Изба",
"value": "0"
},
{
"name": "Двор",
"value": "0"
}
],
"layouts": [ "layouts": [
{ {
"b": 209, "b": 209,
@@ -6697,8 +6706,89 @@
"subInstructions": [] "subInstructions": []
} }
], ],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "MettreXY"
},
"parameters": [
"KO",
"=",
"1320",
"=",
"206"
],
"subInstructions": []
}
],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Двор",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "Delete"
},
"parameters": [
"CTPEJIA",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "SetAnimationName"
},
"parameters": [
"TETEBA",
"\"Разряд\""
],
"subInstructions": []
}
],
"events": []
}
]
},
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -6736,6 +6826,14 @@
], ],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [],
"events": []
},
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -6766,6 +6864,17 @@
], ],
"subInstructions": [] "subInstructions": []
}, },
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsJumping"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{ {
"type": { "type": {
"inverted": false, "inverted": false,
@@ -6816,6 +6925,18 @@
"" ""
], ],
"subInstructions": [] "subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
} }
], ],
"events": [] "events": []
@@ -7630,7 +7751,7 @@
"colorR": 74, "colorR": 74,
"creationTime": 0, "creationTime": 0,
"disabled": false, "disabled": false,
"folded": true, "folded": false,
"name": "Стрела", "name": "Стрела",
"source": "", "source": "",
"type": "BuiltinCommonInstructions::Group", "type": "BuiltinCommonInstructions::Group",
@@ -7939,7 +8060,28 @@
"1" "1"
], ],
"subInstructions": [] "subInstructions": []
}
],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
}, },
"parameters": [
"Изба",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [
{ {
"type": { "type": {
"inverted": false, "inverted": false,
@@ -7957,6 +8099,65 @@
], ],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "Delete"
},
"parameters": [
"CTPEJIA",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarGlobal"
},
"parameters": [
"Двор",
"=",
"1"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Шаг",
"=",
"3"
],
"subInstructions": []
}
],
"events": []
}
]
},
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -8278,8 +8479,86 @@
"subInstructions": [] "subInstructions": []
} }
], ],
"events": [] "events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
}, },
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "Montre"
},
"parameters": [
"JIYIIIA",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "MettreY"
},
"parameters": [
"MOJIOKO",
"=",
"Variable(Молоко.Конец.Y)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "SetAngle"
},
"parameters": [
"MOJIOKO",
"=",
"Variable(Молоко.Конец.Угол)"
],
"subInstructions": []
}
],
"events": []
}
]
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [],
"events": [
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -8520,6 +8799,8 @@
], ],
"events": [] "events": []
} }
]
}
], ],
"parameters": [] "parameters": []
}, },
@@ -8588,8 +8869,155 @@
"subInstructions": [] "subInstructions": []
} }
], ],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Кот.Внизу",
"=",
"1"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "MettreY"
},
"parameters": [
"KOT",
"=",
"Variable(Кот.Цель.Y)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "SetAnimationName"
},
"parameters": [
"KOT",
"\"Лижет\""
],
"subInstructions": []
}
],
"events": []
}
]
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarScene"
},
"parameters": [
"Кот.Внизу",
"=",
"1"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsFalling"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"KO",
"KOT",
"",
"",
""
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SetCanJump"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SimulateJumpKey"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
}
],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [],
"events": [
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -8690,75 +9118,8 @@
} }
], ],
"events": [] "events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarScene"
},
"parameters": [
"Кот.Внизу",
"=",
"1"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsFalling"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"KO",
"KOT",
"",
"",
""
],
"subInstructions": []
} }
], ]
"actions": [
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SetCanJump"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SimulateJumpKey"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
}
],
"events": []
} }
], ],
"parameters": [] "parameters": []
@@ -8818,10 +9179,24 @@
{ {
"type": { "type": {
"inverted": false, "inverted": false,
"value": "Cache" "value": "ModVarScene"
}, },
"parameters": [ "parameters": [
"OKHO_PA36uTO" "Окно.Цель.Угол",
"=",
"-100"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Цель.Y",
"=",
"473"
], ],
"subInstructions": [] "subInstructions": []
}, },
@@ -8834,10 +9209,121 @@
"OKHO_BbIJIOMAHO" "OKHO_BbIJIOMAHO"
], ],
"subInstructions": [] "subInstructions": []
},
{
"type": {
"inverted": false,
"value": "Cache"
},
"parameters": [
"OKHO_PA36uTO"
],
"subInstructions": []
}
],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "Montre"
},
"parameters": [
"OKHO_BbIJIOMAHO",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "Montre"
},
"parameters": [
"OKHO_PA36uTO",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "SetAngle"
},
"parameters": [
"OKHO_PA36uTO",
"=",
"Variable(Окно.Цель.Угол)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "MettreY"
},
"parameters": [
"OKHO_PA36uTO",
"=",
"Variable(Окно.Цель.Y)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Шаг",
"=",
"3"
],
"subInstructions": []
} }
], ],
"events": [] "events": []
}
]
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [],
"events": [
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -8901,30 +9387,6 @@
} }
], ],
"actions": [ "actions": [
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Цель.Угол",
"=",
"-100"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Цель.Y",
"=",
"473"
],
"subInstructions": []
},
{ {
"type": { "type": {
"inverted": false, "inverted": false,
@@ -8998,6 +9460,8 @@
], ],
"events": [] "events": []
} }
]
}
], ],
"parameters": [] "parameters": []
} }
@@ -11636,7 +12100,7 @@
"gridWidth": 32, "gridWidth": 32,
"snap": true, "snap": true,
"windowMask": false, "windowMask": false,
"zoomFactor": 1.3522 "zoomFactor": 1.059
}, },
"objectsGroups": [], "objectsGroups": [],
"variables": [], "variables": [],
@@ -12168,6 +12632,38 @@
"numberProperties": [], "numberProperties": [],
"stringProperties": [], "stringProperties": [],
"initialVariables": [] "initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 65,
"layer": "",
"locked": false,
"name": "CKAMEuKA",
"persistentUuid": "a6f921f0-0a21-4d0b-8039-cfadc74f5c93",
"width": 222,
"x": 1270,
"y": 518,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 8,
"layer": "",
"locked": false,
"name": "OCHOBA",
"persistentUuid": "d4c72ac6-fc9a-4a07-9abe-8018d500d713",
"width": 215,
"x": 1273,
"y": 520,
"zOrder": 54,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
} }
], ],
"objects": [ "objects": [
@@ -15089,6 +15585,45 @@
] ]
} }
] ]
},
{
"name": "CKAMEuKA",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": false,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 0.08,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "стол.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
} }
], ],
"events": [ "events": [
@@ -15139,6 +15674,20 @@
"OCHOBA" "OCHOBA"
], ],
"subInstructions": [] "subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlaySound"
},
"parameters": [
"",
"звуки/555803__ddmyzik__sunset-loop.wav",
"yes",
"",
""
],
"subInstructions": []
} }
], ],
"events": [] "events": []
@@ -15180,6 +15729,89 @@
], ],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"KO",
"OKHO_BbIJIOMAHO",
"",
"",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsFalling"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsJumping"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "PlatformBehavior::Gravity"
},
"parameters": [
"KO",
"PlatformerObject",
"=",
"0"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IgnoreDefaultControls"
},
"parameters": [
"KO",
"PlatformerObject",
"yes"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "Scene"
},
"parameters": [
"",
"\"Изба\"",
"no"
],
"subInstructions": []
}
],
"events": []
},
{ {
"colorB": 228, "colorB": 228,
"colorG": 176, "colorG": 176,

View File

@@ -10,14 +10,14 @@
"adaptGameResolutionAtRuntime": true, "adaptGameResolutionAtRuntime": true,
"folderProject": false, "folderProject": false,
"orientation": "landscape", "orientation": "landscape",
"packageName": "com.example.gamename", "packageName": "org.opengamestudio.kolobok",
"projectUuid": "4b1368f4-5c1e-4f2a-937f-a5837ddf200b", "projectUuid": "4b1368f4-5c1e-4f2a-937f-a5837ddf200b",
"scaleMode": "linear", "scaleMode": "linear",
"sizeOnStartupMode": "adaptWidth", "sizeOnStartupMode": "adaptWidth",
"useExternalSourceFiles": false, "useExternalSourceFiles": false,
"version": "1.0.0", "version": "0.1.0",
"name": "Проект", "name": "КОЛОБОК",
"author": "", "author": "Михаил Капелько",
"windowWidth": 800, "windowWidth": 800,
"windowHeight": 600, "windowHeight": 600,
"latestCompilationDirectory": "", "latestCompilationDirectory": "",
@@ -3304,7 +3304,16 @@
}, },
"objects": [], "objects": [],
"objectsGroups": [], "objectsGroups": [],
"variables": [], "variables": [
{
"name": "Изба",
"value": "0"
},
{
"name": "Двор",
"value": "0"
}
],
"layouts": [ "layouts": [
{ {
"b": 209, "b": 209,
@@ -6697,8 +6706,89 @@
"subInstructions": [] "subInstructions": []
} }
], ],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "MettreXY"
},
"parameters": [
"KO",
"=",
"1320",
"=",
"206"
],
"subInstructions": []
}
],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Двор",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "Delete"
},
"parameters": [
"CTPEJIA",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "SetAnimationName"
},
"parameters": [
"TETEBA",
"\"Разряд\""
],
"subInstructions": []
}
],
"events": []
}
]
},
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -6736,6 +6826,14 @@
], ],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [],
"events": []
},
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -6766,6 +6864,17 @@
], ],
"subInstructions": [] "subInstructions": []
}, },
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsJumping"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{ {
"type": { "type": {
"inverted": false, "inverted": false,
@@ -6816,6 +6925,18 @@
"" ""
], ],
"subInstructions": [] "subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
} }
], ],
"events": [] "events": []
@@ -7630,7 +7751,7 @@
"colorR": 74, "colorR": 74,
"creationTime": 0, "creationTime": 0,
"disabled": false, "disabled": false,
"folded": true, "folded": false,
"name": "Стрела", "name": "Стрела",
"source": "", "source": "",
"type": "BuiltinCommonInstructions::Group", "type": "BuiltinCommonInstructions::Group",
@@ -7939,7 +8060,28 @@
"1" "1"
], ],
"subInstructions": [] "subInstructions": []
}
],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
}, },
"parameters": [
"Изба",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [
{ {
"type": { "type": {
"inverted": false, "inverted": false,
@@ -7957,6 +8099,65 @@
], ],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "Delete"
},
"parameters": [
"CTPEJIA",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarGlobal"
},
"parameters": [
"Двор",
"=",
"1"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Шаг",
"=",
"3"
],
"subInstructions": []
}
],
"events": []
}
]
},
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -8278,8 +8479,86 @@
"subInstructions": [] "subInstructions": []
} }
], ],
"events": [] "events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
}, },
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "Montre"
},
"parameters": [
"JIYIIIA",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "MettreY"
},
"parameters": [
"MOJIOKO",
"=",
"Variable(Молоко.Конец.Y)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "SetAngle"
},
"parameters": [
"MOJIOKO",
"=",
"Variable(Молоко.Конец.Угол)"
],
"subInstructions": []
}
],
"events": []
}
]
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [],
"events": [
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -8520,6 +8799,8 @@
], ],
"events": [] "events": []
} }
]
}
], ],
"parameters": [] "parameters": []
}, },
@@ -8588,8 +8869,155 @@
"subInstructions": [] "subInstructions": []
} }
], ],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Кот.Внизу",
"=",
"1"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "MettreY"
},
"parameters": [
"KOT",
"=",
"Variable(Кот.Цель.Y)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "SetAnimationName"
},
"parameters": [
"KOT",
"\"Лижет\""
],
"subInstructions": []
}
],
"events": []
}
]
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarScene"
},
"parameters": [
"Кот.Внизу",
"=",
"1"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsFalling"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"KO",
"KOT",
"",
"",
""
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SetCanJump"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SimulateJumpKey"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
}
],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [],
"events": [
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -8690,75 +9118,8 @@
} }
], ],
"events": [] "events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarScene"
},
"parameters": [
"Кот.Внизу",
"=",
"1"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsFalling"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"KO",
"KOT",
"",
"",
""
],
"subInstructions": []
} }
], ]
"actions": [
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SetCanJump"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SimulateJumpKey"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
}
],
"events": []
} }
], ],
"parameters": [] "parameters": []
@@ -8818,10 +9179,24 @@
{ {
"type": { "type": {
"inverted": false, "inverted": false,
"value": "Cache" "value": "ModVarScene"
}, },
"parameters": [ "parameters": [
"OKHO_PA36uTO" "Окно.Цель.Угол",
"=",
"-100"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Цель.Y",
"=",
"473"
], ],
"subInstructions": [] "subInstructions": []
}, },
@@ -8834,10 +9209,121 @@
"OKHO_BbIJIOMAHO" "OKHO_BbIJIOMAHO"
], ],
"subInstructions": [] "subInstructions": []
},
{
"type": {
"inverted": false,
"value": "Cache"
},
"parameters": [
"OKHO_PA36uTO"
],
"subInstructions": []
}
],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"1"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "Montre"
},
"parameters": [
"OKHO_BbIJIOMAHO",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "Montre"
},
"parameters": [
"OKHO_PA36uTO",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "SetAngle"
},
"parameters": [
"OKHO_PA36uTO",
"=",
"Variable(Окно.Цель.Угол)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "MettreY"
},
"parameters": [
"OKHO_PA36uTO",
"=",
"Variable(Окно.Цель.Y)"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Шаг",
"=",
"3"
],
"subInstructions": []
} }
], ],
"events": [] "events": []
}
]
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "VarGlobal"
},
"parameters": [
"Изба",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [],
"events": [
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
@@ -8901,30 +9387,6 @@
} }
], ],
"actions": [ "actions": [
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Цель.Угол",
"=",
"-100"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarScene"
},
"parameters": [
"Окно.Цель.Y",
"=",
"473"
],
"subInstructions": []
},
{ {
"type": { "type": {
"inverted": false, "inverted": false,
@@ -8998,6 +9460,8 @@
], ],
"events": [] "events": []
} }
]
}
], ],
"parameters": [] "parameters": []
} }
@@ -11636,7 +12100,7 @@
"gridWidth": 32, "gridWidth": 32,
"snap": true, "snap": true,
"windowMask": false, "windowMask": false,
"zoomFactor": 1.3522 "zoomFactor": 1.059
}, },
"objectsGroups": [], "objectsGroups": [],
"variables": [], "variables": [],
@@ -12168,6 +12632,38 @@
"numberProperties": [], "numberProperties": [],
"stringProperties": [], "stringProperties": [],
"initialVariables": [] "initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 65,
"layer": "",
"locked": false,
"name": "CKAMEuKA",
"persistentUuid": "a6f921f0-0a21-4d0b-8039-cfadc74f5c93",
"width": 222,
"x": 1270,
"y": 518,
"zOrder": 4,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 8,
"layer": "",
"locked": false,
"name": "OCHOBA",
"persistentUuid": "d4c72ac6-fc9a-4a07-9abe-8018d500d713",
"width": 215,
"x": 1273,
"y": 520,
"zOrder": 54,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
} }
], ],
"objects": [ "objects": [
@@ -15089,6 +15585,45 @@
] ]
} }
] ]
},
{
"name": "CKAMEuKA",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": false,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 0.08,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "стол.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
} }
], ],
"events": [ "events": [
@@ -15139,6 +15674,20 @@
"OCHOBA" "OCHOBA"
], ],
"subInstructions": [] "subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlaySound"
},
"parameters": [
"",
"звуки/555803__ddmyzik__sunset-loop.wav",
"yes",
"",
""
],
"subInstructions": []
} }
], ],
"events": [] "events": []
@@ -15180,6 +15729,89 @@
], ],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"KO",
"OKHO_BbIJIOMAHO",
"",
"",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsFalling"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsJumping"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "PlatformBehavior::Gravity"
},
"parameters": [
"KO",
"PlatformerObject",
"=",
"0"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IgnoreDefaultControls"
},
"parameters": [
"KO",
"PlatformerObject",
"yes"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "Scene"
},
"parameters": [
"",
"\"Изба\"",
"no"
],
"subInstructions": []
}
],
"events": []
},
{ {
"colorB": 228, "colorB": 228,
"colorG": 176, "colorG": 176,