Browse Source

40,50,0

master
parent
commit
28823ef75c
6 changed files with 258 additions and 6 deletions
  1. +109
    -3
      game.json
  2. +109
    -3
      game.json.autosave
  3. BIN
      вещи/забор_40,50,0.png
  4. BIN
      вещи/забор_40,50,0.xcf
  5. BIN
      вещи/перекладины_40,50,0.xcf
  6. +40
    -0
      вращать-изображение.html

+ 109
- 3
game.json View File

@@ -3307,6 +3307,15 @@
"name": "вещи/пугало.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "вещи/забор_40,50,0.png",
"kind": "image",
"metadata": "",
"name": "вещи/забор_40,50,0.png",
"smoothed": true,
"userAdded": true
}
],
"resourceFolders": []
@@ -12109,7 +12118,7 @@
"gridWidth": 32,
"snap": true,
"windowMask": false,
"zoomFactor": 1.059
"zoomFactor": 1.0434
},
"objectsGroups": [],
"variables": [],
@@ -12187,8 +12196,8 @@
"name": "CTEHA",
"persistentUuid": "ec04bbea-cdb1-4bc0-a3cd-8cb85a0a887e",
"width": 8,
"x": 41,
"y": -118,
"x": -268,
"y": -115,
"zOrder": 51,
"numberProperties": [],
"stringProperties": [],
@@ -12821,6 +12830,64 @@
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "_3A6OP_HAKJIOH",
"persistentUuid": "7175bda4-f0f2-42b8-98dd-57231e3c6e5c",
"width": 0,
"x": -374,
"y": 277,
"zOrder": 10,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 202,
"layer": "",
"locked": false,
"name": "nODCOJIHYX",
"persistentUuid": "c70faea4-46c8-44e0-b6ba-5cf302c9243d",
"width": 91,
"x": -443,
"y": 438,
"zOrder": 11,
"numberProperties": [],
"stringProperties": [],
"initialVariables": [
{
"name": "Перевернуть",
"value": "1"
}
]
},
{
"angle": 0,
"customSize": true,
"height": 202,
"layer": "",
"locked": false,
"name": "nODCOJIHYX",
"persistentUuid": "4d851ffd-a270-4a53-9139-9501699aea2e",
"width": 91,
"x": -381,
"y": 400,
"zOrder": 11,
"numberProperties": [],
"stringProperties": [],
"initialVariables": [
{
"name": "Перевернуть",
"value": ""
}
]
}
],
"objects": [
@@ -15927,6 +15994,45 @@
]
}
]
},
{
"name": "_3A6OP_HAKJIOH",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": false,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 0.08,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "вещи/забор_40,50,0.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
}
],
"events": [


+ 109
- 3
game.json.autosave View File

@@ -3307,6 +3307,15 @@
"name": "вещи/пугало.png",
"smoothed": true,
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "вещи/забор_40,50,0.png",
"kind": "image",
"metadata": "",
"name": "вещи/забор_40,50,0.png",
"smoothed": true,
"userAdded": true
}
],
"resourceFolders": []
@@ -12109,7 +12118,7 @@
"gridWidth": 32,
"snap": true,
"windowMask": false,
"zoomFactor": 1.059
"zoomFactor": 1.0434
},
"objectsGroups": [],
"variables": [],
@@ -12187,8 +12196,8 @@
"name": "CTEHA",
"persistentUuid": "ec04bbea-cdb1-4bc0-a3cd-8cb85a0a887e",
"width": 8,
"x": 41,
"y": -118,
"x": -268,
"y": -115,
"zOrder": 51,
"numberProperties": [],
"stringProperties": [],
@@ -12821,6 +12830,64 @@
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": false,
"height": 0,
"layer": "",
"locked": false,
"name": "_3A6OP_HAKJIOH",
"persistentUuid": "7175bda4-f0f2-42b8-98dd-57231e3c6e5c",
"width": 0,
"x": -374,
"y": 277,
"zOrder": 10,
"numberProperties": [],
"stringProperties": [],
"initialVariables": []
},
{
"angle": 0,
"customSize": true,
"height": 202,
"layer": "",
"locked": false,
"name": "nODCOJIHYX",
"persistentUuid": "c70faea4-46c8-44e0-b6ba-5cf302c9243d",
"width": 91,
"x": -443,
"y": 438,
"zOrder": 11,
"numberProperties": [],
"stringProperties": [],
"initialVariables": [
{
"name": "Перевернуть",
"value": "1"
}
]
},
{
"angle": 0,
"customSize": true,
"height": 202,
"layer": "",
"locked": false,
"name": "nODCOJIHYX",
"persistentUuid": "4d851ffd-a270-4a53-9139-9501699aea2e",
"width": 91,
"x": -381,
"y": 400,
"zOrder": 11,
"numberProperties": [],
"stringProperties": [],
"initialVariables": [
{
"name": "Перевернуть",
"value": ""
}
]
}
],
"objects": [
@@ -15927,6 +15994,45 @@
]
}
]
},
{
"name": "_3A6OP_HAKJIOH",
"tags": "",
"type": "Sprite",
"updateIfNotVisible": false,
"variables": [],
"behaviors": [],
"animations": [
{
"name": "",
"useMultipleDirections": false,
"directions": [
{
"looping": false,
"timeBetweenFrames": 0.08,
"sprites": [
{
"hasCustomCollisionMask": false,
"image": "вещи/забор_40,50,0.png",
"points": [],
"originPoint": {
"name": "origine",
"x": 0,
"y": 0
},
"centerPoint": {
"automatic": true,
"name": "centre",
"x": 0,
"y": 0
},
"customCollisionMask": []
}
]
}
]
}
]
}
],
"events": [


BIN
вещи/забор_40,50,0.png View File

Before After
Width: 384  |  Height: 540  |  Size: 132KB

BIN
вещи/забор_40,50,0.xcf View File


BIN
вещи/перекладины_40,50,0.xcf View File


+ 40
- 0
вращать-изображение.html View File

@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<p>X: <input id="x" type="number" min="-360" max="360" value="0"></p>
<p>Y: <input id="y" type="number" min="-360" max="360" value="0"></p>
<p>Z: <input id="z" type="number" min="-360" max="360" value="0"></p>
<br>
<br>
<br>
<br>
<p><img id="изо" src="вещи/перекладины.png"></p>
<script>
function rotate3D()
{
var x = document.getElementById("x").value;
var y = document.getElementById("y").value;
var z = document.getElementById("z").value;
var изо = document.getElementById("изо");
изо.style.transform = `rotateX(${x}deg) rotateY(${y}deg) rotateZ(${z}deg)`;
}
var x = document.getElementById("x");
x.oninput = function() {
rotate3D();
}
var y = document.getElementById("y");
y.oninput = function() {
rotate3D();
}
var z = document.getElementById("z");
z.oninput = function() {
rotate3D();
}

rotate3D();
</script>
</body>
</html>

Loading…
Cancel
Save