двигать молоко

This commit is contained in:
2021-03-22 15:17:51 +03:00
parent 72393c3571
commit 22b39579a4
3 changed files with 806 additions and 60 deletions

View File

@@ -3834,6 +3834,38 @@
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 20,
"layer": "",
"locked": false,
"name": "BnPABO",
"persistentUuid": "d74cd723-b1b0-47cf-b6d3-8e2f35fea041",
"width": 249,
"x": 128,
"y": 410,
"zOrder": 21,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 20,
"layer": "",
"locked": false,
"name": "BJIEBO",
"persistentUuid": "8a2027ac-223c-486b-b9ac-a7ab0ece1a3e",
"width": 262,
"x": 183,
"y": 439,
"zOrder": 22,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
}
],
"objects": [
@@ -5120,6 +5152,84 @@
]
}
]
},
{
"name": "BnPABO",
"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": "BJIEBO",
"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": [
@@ -5436,7 +5546,7 @@
"colorR": 74,
"creationTime": 0,
"disabled": false,
"folded": true,
"folded": false,
"name": "Колобок",
"source": "",
"type": "BuiltinCommonInstructions::Group",
@@ -6240,7 +6350,7 @@
"colorR": 74,
"creationTime": 0,
"disabled": false,
"folded": false,
"folded": true,
"name": "Стрела",
"source": "",
"type": "BuiltinCommonInstructions::Group",
@@ -6863,7 +6973,7 @@
"colorR": 74,
"creationTime": 0,
"disabled": false,
"folded": true,
"folded": false,
"name": "Молоко",
"source": "",
"type": "BuiltinCommonInstructions::Group",
@@ -7953,6 +8063,250 @@
}
],
"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": [
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsOnFloor"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "PlatformBehavior::IsMoving"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": true,
"value": "PlatformBehavior::IsFalling"
},
"parameters": [
"KO",
"PlatformerObject"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"KO",
"MOJIOKO",
"",
"",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "VarScene"
},
"parameters": [
"Молоко.Опрокинуто",
"=",
"0"
],
"subInstructions": []
}
],
"actions": [],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"MOJIOKO",
"BnPABO",
"",
"",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "VarScene"
},
"parameters": [
"KO_HA",
">=",
"0"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "AddForceXY"
},
"parameters": [
"MOJIOKO",
"KO.PlatformerObject::CurrentSpeed()",
"0",
""
],
"subInstructions": []
}
],
"events": []
},
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "CollisionNP"
},
"parameters": [
"MOJIOKO",
"BJIEBO",
"",
"",
""
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "VarScene"
},
"parameters": [
"KO_HA",
"<",
"0"
],
"subInstructions": []
}
],
"actions": [
{
"type": {
"inverted": false,
"value": "AddForceXY"
},
"parameters": [
"MOJIOKO",
"KO.PlatformerObject::CurrentSpeed()",
"0",
""
],
"subInstructions": []
}
],
"events": []
}
]
}
],
"parameters": []
},
{
"colorB": 228,
"colorG": 176,
"colorR": 74,
"creationTime": 0,
"disabled": false,
"folded": false,
"name": "Пуск 发射 Startup",
"source": "",
"type": "BuiltinCommonInstructions::Group",
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [
{
"type": {
"inverted": false,
"value": "DepartScene"
},
"parameters": [
""
],
"subInstructions": []
}
],
"actions": [],
"events": [
{
"disabled": false,
"folded": false,
"type": "BuiltinCommonInstructions::Standard",
"conditions": [],
"actions": [
{
"type": {
"inverted": false,
"value": "Cache"
},
"parameters": [
"BnPABO"
],
"subInstructions": []
},
{
"type": {
"inverted": false,
"value": "Cache"
},
"parameters": [
"BJIEBO"
],
"subInstructions": []
}
],
"events": []
}
]
}
],
"parameters": []
}
],
"layers": [