прыгать по коту почти

This commit is contained in:
kornerr committed 2021-04-04 21:44:56 +03:00
1 parent 536e920699
commit ca54872be8
2 files changed
+221 -70

No files matched your search

+220 -69
View File
@@ -18812,7 +18812,7 @@
"width": 49, "width": 49,
"x": 695, "x": 695,
"y": 394, "y": 394,
"zOrder": 19, "zOrder": 21,
"numberProperties": [], "numberProperties": [],
"stringProperties": [], "stringProperties": [],
"initialVariables": [] "initialVariables": []
@@ -18988,7 +18988,7 @@
"width": 212, "width": 212,
"x": 670, "x": 670,
"y": 105, "y": 105,
"zOrder": 20, "zOrder": 19,
"numberProperties": [], "numberProperties": [],
"stringProperties": [], "stringProperties": [],
"initialVariables": [] "initialVariables": []
@@ -19068,7 +19068,7 @@
"width": 103, "width": 103,
"x": 437, "x": 437,
"y": 556, "y": 556,
"zOrder": 19, "zOrder": 20,
"numberProperties": [], "numberProperties": [],
"stringProperties": [], "stringProperties": [],
"initialVariables": [] "initialVariables": []
@@ -19120,6 +19120,22 @@
"numberProperties": [], "numberProperties": [],
"stringProperties": [], "stringProperties": [],
"initialVariables": [] "initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 15,
"layer": "",
"locked": false,
"name": "HAD_KPbILLIKOu",
"persistentUuid": "21979f85-29a7-48d0-8e08-d1ca0e88191e",
"width": 127,
"x": 360,
"y": 520,
"zOrder": 25,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
} }
], ],
"objects": [ "objects": [
@@ -25283,7 +25299,7 @@
"timeBetweenFrames": 0.33329999446868896, "timeBetweenFrames": 0.33329999446868896,
"sprites": [ "sprites": [
{ {
"hasCustomCollisionMask": false, "hasCustomCollisionMask": true,
"image": "животные/кот/кот_лижет/кот_208.png", "image": "животные/кот/кот_лижет/кот_208.png",
"points": [], "points": [],
"originPoint": { "originPoint": {
@@ -25297,10 +25313,29 @@
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
"customCollisionMask": [] "customCollisionMask": [
[
{
"x": 53,
"y": 80
},
{
"x": 195,
"y": 80
},
{
"x": 195,
"y": 165
},
{
"x": 53,
"y": 165
}
]
]
}, },
{ {
"hasCustomCollisionMask": false, "hasCustomCollisionMask": true,
"image": "животные/кот/кот_лижет/кот_209.png", "image": "животные/кот/кот_лижет/кот_209.png",
"points": [], "points": [],
"originPoint": { "originPoint": {
@@ -25314,7 +25349,26 @@
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
"customCollisionMask": [] "customCollisionMask": [
[
{
"x": 53,
"y": 80
},
{
"x": 195,
"y": 80
},
{
"x": 195,
"y": 165
},
{
"x": 53,
"y": 165
}
]
]
} }
] ]
} }
@@ -25329,7 +25383,7 @@
"timeBetweenFrames": 0.08, "timeBetweenFrames": 0.08,
"sprites": [ "sprites": [
{ {
"hasCustomCollisionMask": false, "hasCustomCollisionMask": true,
"image": "животные/кот/кот_лежит-не-сопит/кот_188.png", "image": "животные/кот/кот_лежит-не-сопит/кот_188.png",
"points": [], "points": [],
"originPoint": { "originPoint": {
@@ -25343,7 +25397,26 @@
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
"customCollisionMask": [] "customCollisionMask": [
[
{
"x": 53,
"y": 80
},
{
"x": 195,
"y": 80
},
{
"x": 195,
"y": 165
},
{
"x": 53,
"y": 165
}
]
]
} }
] ]
} }
@@ -25427,6 +25500,24 @@
"width": 32, "width": 32,
"variables": [], "variables": [],
"behaviors": [] "behaviors": []
},
{
"height": 32,
"name": "HAD_KPbILLIKOu",
"tags": "",
"texture": "указатели/основа.png",
"type": "TiledSpriteObject::TiledSprite",
"width": 32,
"variables": [],
"behaviors": [
{
"name": "Platform",
"type": "PlatformBehavior::PlatformBehavior",
"canBeGrabbed": true,
"platformType": "Jumpthru",
"yGrabOffset": 0
}
]
} }
], ],
"events": [ "events": [
@@ -26468,6 +26559,28 @@
], ],
"subInstructions": [] "subInstructions": []
}, },
{
"type": {
"inverted": false,
"value": "Cache"
},
"parameters": [
"HAD_KPbILLIKOu"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ActivateBehavior"
},
"parameters": [
"HAD_KPbILLIKOu",
"Platform",
""
],
"subInstructions": []
},
{ {
"type": { "type": {
"inverted": false, "inverted": false,
@@ -27133,28 +27246,42 @@
"\"Лижет\"" "\"Лижет\""
], ],
"subInstructions": [] "subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ActivateBehavior"
},
"parameters": [
"HAD_KPbILLIKOu",
"Platform",
"yes"
],
"subInstructions": []
} }
], ],
"events": [] "events": []
}, },
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Comment",
"color": {
"b": 109,
"g": 230,
"r": 255,
"textB": 0,
"textG": 0,
"textR": 0
},
"comment": "3.1.6. Удивляемся, когда Колобок прыгает по нам",
"comment2": ""
},
{ {
"disabled": false, "disabled": false,
"folded": false, "folded": false,
"type": "BuiltinCommonInstructions::Standard", "type": "BuiltinCommonInstructions::Standard",
"conditions": [ "conditions": [
{
"type": {
"inverted": false,
"value": "VarObjet"
},
"parameters": [
"KOT",
"Внизу",
"=",
"2"
],
"subInstructions": []
},
{ {
"type": { "type": {
"inverted": false, "inverted": false,
@@ -27172,22 +27299,20 @@
{ {
"type": { "type": {
"inverted": false, "inverted": false,
"value": "BuiltinCommonInstructions::Once" "value": "AnimationName"
}, },
"parameters": [], "parameters": [
"KOT",
"\"Лижет\""
],
"subInstructions": [] "subInstructions": []
}, },
{ {
"type": { "type": {
"inverted": false, "inverted": false,
"value": "VarObjet" "value": "BuiltinCommonInstructions::Once"
}, },
"parameters": [ "parameters": [],
"KOT",
"Прыжки",
"<",
"5"
],
"subInstructions": [] "subInstructions": []
} }
], ],
@@ -27195,52 +27320,78 @@
{ {
"type": { "type": {
"inverted": false, "inverted": false,
"value": "PlatformBehavior::SimulateJumpKey" "value": "SetAnimationName"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::SetCanJump"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarObjet"
}, },
"parameters": [ "parameters": [
"KOT", "KOT",
"Прыжки", "\"Лежит-Не-Сопит\""
"+",
"1"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "ModVarSceneTxt"
},
"parameters": [
"Отладка.1",
"=",
"ToString(KOT.Variable(Прыжки))"
], ],
"subInstructions": [] "subInstructions": []
} }
], ],
"events": [] "events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": true,
"value": "CollisionNP"
},
"parameters": [
"KO",
"KOT",
"",
"",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "AnimationName"
},
"parameters": [
"KOT",
"\"Лежит-Не-Сопит\""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "BuiltinCommonInstructions::Once"
},
"parameters": [],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "SetAnimationName"
},
"parameters": [
"KOT",
"\"Лижет\""
],
"subInstructions": []
}
],
"events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [],
"events": []
} }
] ]
} }
+1 -1
View File
@@ -1 +1 @@
{"firstLayout":"","gdVersion":{"build":99,"major":4,"minor":0,"revision":0},"properties":{"adaptGameResolutionAtRuntime":true,"folderProject":false,"orientation":"landscape","packageName":"org.opengamestudio.kolobok","projectUuid":"4b1368f4-5c1e-4f2a-937f-a5837ddf200b","scaleMode":"linear","sizeOnStartupMode":"adaptWidth","useExternalSourceFiles":false,"version":"0.1.0","name":"КОЛОБОК","author":"Михаил Капелько","windowWidth":800,"windowHeight":600,"latestCompilationDirectory":"","maxFPS":60,"minFPS":20,"verticalSync":false,"platformSpecificAssets":{},"loadingScreen":{"showGDevelopSplash":false},"extensionProperties":[],"extensions":[{"name":"BuiltinObject"},{"name":"BuiltinAudio"},{"name":"BuiltinVariables"},{"name":"BuiltinTime"},{"name":"BuiltinMouse"},{"name":"BuiltinKeyboard"},{"name":"BuiltinJoystick"},{"name":"BuiltinCamera"},{"name":"BuiltinWindow"},{"name":"BuiltinFile"},{"name":"BuiltinNetwork"},{"name":"BuiltinScene"},{"name":"BuiltinAdvanced"},{"name":"Sprite"},{"name":"BuiltinCommonInstructions"},{"name":"BuiltinCommonConversions"},{"name":"BuiltinStringInstructions"},{"name":"BuiltinMathematicalTools"},{"name":"BuiltinExternalLayouts"}],"platforms":[{"name":"GDevelop JS platform"}],"currentPlatform":"GDevelop JS platform"},"resources":{"resources":[{"alwaysLoaded":false,"file":"дерево_01.png","kind":"image","metadata":"","name":"дерево_01.png","smoothed":true,"userAdded":false},{"alwaysLoaded":false,"file":"дерево_02.png","kind":"image","metadata":"","name":"дерево_02.png","smoothed":true,"userAdded":false},{"alwaysLoaded":false,"file":"пол.jpg","kind":"image","metadata":"","name":"пол.jpg","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":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":"колоLine truncated {"firstLayout":"","gdVersion":{"build":99,"major":4,"minor":0,"revision":0},"properties":{"adaptGameResolutionAtRuntime":true,"folderProject":false,"orientation":"landscape","packageName":"org.opengamestudio.kolobok","projectUuid":"4b1368f4-5c1e-4f2a-937f-a5837ddf200b","scaleMode":"linear","sizeOnStartupMode":"adaptWidth","useExternalSourceFiles":false,"version":"0.1.0","name":"КОЛОБОК","author":"Михаил Капелько","windowWidth":800,"windowHeight":600,"latestCompilationDirectory":"","maxFPS":60,"minFPS":20,"verticalSync":false,"platformSpecificAssets":{},"loadingScreen":{"showGDevelopSplash":false},"extensionProperties":[],"extensions":[{"name":"BuiltinObject"},{"name":"BuiltinAudio"},{"name":"BuiltinVariables"},{"name":"BuiltinTime"},{"name":"BuiltinMouse"},{"name":"BuiltinKeyboard"},{"name":"BuiltinJoystick"},{"name":"BuiltinCamera"},{"name":"BuiltinWindow"},{"name":"BuiltinFile"},{"name":"BuiltinNetwork"},{"name":"BuiltinScene"},{"name":"BuiltinAdvanced"},{"name":"Sprite"},{"name":"BuiltinCommonInstructions"},{"name":"BuiltinCommonConversions"},{"name":"BuiltinStringInstructions"},{"name":"BuiltinMathematicalTools"},{"name":"BuiltinExternalLayouts"}],"platforms":[{"name":"GDevelop JS platform"}],"currentPlatform":"GDevelop JS platform"},"resources":{"resources":[{"alwaysLoaded":false,"file":"дерево_01.png","kind":"image","metadata":"","name":"дерево_01.png","smoothed":true,"userAdded":false},{"alwaysLoaded":false,"file":"дерево_02.png","kind":"image","metadata":"","name":"дерево_02.png","smoothed":true,"userAdded":false},{"alwaysLoaded":false,"file":"пол.jpg","kind":"image","metadata":"","name":"пол.jpg","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":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":"колоLine truncated