some stuff
This commit is contained in:
parent
3f230e446a
commit
f71db7a456
BIN
assets/images/icons/window.png
Normal file
BIN
assets/images/icons/window.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 504 B |
@ -3,90 +3,90 @@
|
||||
"filename": "Sprite-0002 0.aseprite",
|
||||
"frame": { "x": 140, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 1.aseprite",
|
||||
"frame": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 2.aseprite",
|
||||
"frame": { "x": 140, "y": 320, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 3.aseprite",
|
||||
"frame": { "x": 0, "y": 320, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 4.aseprite",
|
||||
"frame": { "x": 840, "y": 160, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 5.aseprite",
|
||||
"frame": { "x": 700, "y": 160, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 6.aseprite",
|
||||
"frame": { "x": 560, "y": 160, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 7.aseprite",
|
||||
"frame": { "x": 420, "y": 160, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 8.aseprite",
|
||||
"frame": { "x": 280, "y": 160, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 9.aseprite",
|
||||
"frame": { "x": 140, "y": 160, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -94,8 +94,8 @@
|
||||
"frame": { "x": 280, "y": 320, "w": 140, "h": 150 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -103,8 +103,8 @@
|
||||
"frame": { "x": 420, "y": 320, "w": 140, "h": 150 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -112,8 +112,8 @@
|
||||
"frame": { "x": 0, "y": 620, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -121,8 +121,8 @@
|
||||
"frame": { "x": 840, "y": 610, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -130,8 +130,8 @@
|
||||
"frame": { "x": 700, "y": 610, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -139,8 +139,8 @@
|
||||
"frame": { "x": 560, "y": 610, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -148,8 +148,8 @@
|
||||
"frame": { "x": 420, "y": 610, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -157,8 +157,8 @@
|
||||
"frame": { "x": 420, "y": 610, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -166,8 +166,8 @@
|
||||
"frame": { "x": 280, "y": 610, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -175,8 +175,8 @@
|
||||
"frame": { "x": 140, "y": 480, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -184,8 +184,8 @@
|
||||
"frame": { "x": 0, "y": 480, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -193,8 +193,8 @@
|
||||
"frame": { "x": 840, "y": 470, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -202,8 +202,8 @@
|
||||
"frame": { "x": 700, "y": 470, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -211,8 +211,8 @@
|
||||
"frame": { "x": 560, "y": 470, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -220,8 +220,8 @@
|
||||
"frame": { "x": 140, "y": 620, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -229,8 +229,8 @@
|
||||
"frame": { "x": 420, "y": 470, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -238,8 +238,8 @@
|
||||
"frame": { "x": 840, "y": 320, "w": 140, "h": 150 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -247,116 +247,116 @@
|
||||
"frame": { "x": 700, "y": 320, "w": 140, "h": 150 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 28.aseprite",
|
||||
"frame": { "x": 280, "y": 160, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 500
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 29.aseprite",
|
||||
"frame": { "x": 280, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 500
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 30.aseprite",
|
||||
"frame": { "x": 420, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 200
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 31.aseprite",
|
||||
"frame": { "x": 560, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 200
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 32.aseprite",
|
||||
"frame": { "x": 700, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 200
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 33.aseprite",
|
||||
"frame": { "x": 420, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 200
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 34.aseprite",
|
||||
"frame": { "x": 420, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 200
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 35.aseprite",
|
||||
"frame": { "x": 840, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 200
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 36.aseprite",
|
||||
"frame": { "x": 0, "y": 160, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 200
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 37.aseprite",
|
||||
"frame": { "x": 420, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 200
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 38.aseprite",
|
||||
"frame": { "x": 280, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 65535
|
||||
},
|
||||
{
|
||||
"filename": "Sprite-0002 39.aseprite",
|
||||
"frame": { "x": 280, "y": 0, "w": 140, "h": 160 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"trimmed": false,
|
||||
"spriteSourceSize": { "x": 0, "y": 0, "w": 140, "h": 160 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -364,8 +364,8 @@
|
||||
"frame": { "x": 560, "y": 320, "w": 140, "h": 150 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 10, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 10, "w": 140, "h": 150 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -373,8 +373,8 @@
|
||||
"frame": { "x": 280, "y": 470, "w": 140, "h": 140 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 20, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 20, "w": 140, "h": 140 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -382,8 +382,8 @@
|
||||
"frame": { "x": 280, "y": 750, "w": 140, "h": 130 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 30, "w": 140, "h": 130 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 30, "w": 140, "h": 130 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -391,8 +391,8 @@
|
||||
"frame": { "x": 420, "y": 750, "w": 140, "h": 120 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 40, "w": 140, "h": 120 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 40, "w": 140, "h": 120 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -400,8 +400,8 @@
|
||||
"frame": { "x": 560, "y": 750, "w": 140, "h": 110 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 50, "w": 140, "h": 110 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 50, "w": 140, "h": 110 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -409,8 +409,8 @@
|
||||
"frame": { "x": 700, "y": 750, "w": 140, "h": 100 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 60, "w": 140, "h": 100 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 60, "w": 140, "h": 100 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -418,8 +418,8 @@
|
||||
"frame": { "x": 840, "y": 750, "w": 140, "h": 90 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 70, "w": 140, "h": 90 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 70, "w": 140, "h": 90 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -427,8 +427,8 @@
|
||||
"frame": { "x": 0, "y": 760, "w": 140, "h": 80 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 80, "w": 140, "h": 80 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 80, "w": 140, "h": 80 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -436,8 +436,8 @@
|
||||
"frame": { "x": 140, "y": 760, "w": 140, "h": 70 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 10, "y": 90, "w": 140, "h": 70 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 0, "y": 90, "w": 140, "h": 70 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -445,8 +445,8 @@
|
||||
"frame": { "x": 140, "y": 830, "w": 120, "h": 60 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 20, "y": 100, "w": 120, "h": 60 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 10, "y": 100, "w": 120, "h": 60 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -454,8 +454,8 @@
|
||||
"frame": { "x": 0, "y": 840, "w": 100, "h": 50 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 30, "y": 110, "w": 100, "h": 50 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 20, "y": 110, "w": 100, "h": 50 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -463,8 +463,8 @@
|
||||
"frame": { "x": 840, "y": 840, "w": 100, "h": 40 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 30, "y": 120, "w": 100, "h": 40 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 20, "y": 120, "w": 100, "h": 40 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -472,8 +472,8 @@
|
||||
"frame": { "x": 700, "y": 850, "w": 60, "h": 30 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 50, "y": 130, "w": 60, "h": 30 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 40, "y": 130, "w": 60, "h": 30 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -481,8 +481,8 @@
|
||||
"frame": { "x": 760, "y": 850, "w": 60, "h": 20 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 50, "y": 140, "w": 60, "h": 20 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 40, "y": 140, "w": 60, "h": 20 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
},
|
||||
{
|
||||
@ -490,8 +490,8 @@
|
||||
"frame": { "x": 560, "y": 860, "w": 60, "h": 10 },
|
||||
"rotated": false,
|
||||
"trimmed": true,
|
||||
"spriteSourceSize": { "x": 50, "y": 150, "w": 60, "h": 10 },
|
||||
"sourceSize": { "w": 160, "h": 160 },
|
||||
"spriteSourceSize": { "x": 40, "y": 150, "w": 60, "h": 10 },
|
||||
"sourceSize": { "w": 140, "h": 160 },
|
||||
"duration": 1
|
||||
}
|
||||
],
|
||||
|
@ -6,7 +6,6 @@ game.title = "Weeeeeeeee"
|
||||
game.version = "0.0.1"
|
||||
game.fullscreen = false
|
||||
game.level = 1
|
||||
game.die_animation_elapsed = false
|
||||
|
||||
return {
|
||||
game = game
|
||||
|
@ -1,9 +1,11 @@
|
||||
local player = {}
|
||||
player.x = 0
|
||||
player.y = 500
|
||||
player.width = 160
|
||||
player.width = 140
|
||||
player.height = 160
|
||||
player.speed = 200
|
||||
player.speed_jumping = 400
|
||||
player.speed_walking = 200
|
||||
player.jump_height = 500
|
||||
player.state = "idle"
|
||||
player.direction = "right"
|
||||
@ -53,7 +55,7 @@ player.die = function(self, dt)
|
||||
self.state = "die"
|
||||
self.animation = self.spritesheets["player_die"]
|
||||
self.sound_effects["die"]:play()
|
||||
die_animation_elapsed = false
|
||||
self.spritesheets["player_die"]:setFrame(1)
|
||||
end
|
||||
end
|
||||
player.revive = function(self, dt)
|
||||
@ -62,7 +64,8 @@ player.revive = function(self, dt)
|
||||
self.state = "idle"
|
||||
self.animation = self.spritesheets["player_default"]
|
||||
self.sound_effects["revive"]:play()
|
||||
die_animation_elapsed = false
|
||||
self.spritesheets["player_die"]:setFrame(1)
|
||||
|
||||
end
|
||||
end
|
||||
player.idle = function(self, dt)
|
||||
|
@ -6,10 +6,8 @@ end
|
||||
|
||||
local function update(dt)
|
||||
--update player_animation
|
||||
if spritesheets["player_die"]:getFrame() ~= 16 and not game.die_animation_elapsed then
|
||||
if spritesheets["player_die"]:getFrame() ~= 16 then
|
||||
spritesheets["player_die"]:update(dt)
|
||||
else
|
||||
game.die_animation_elapsed = true
|
||||
end
|
||||
if player.alive then
|
||||
spritesheets["player_jump"]:update(dt)
|
||||
@ -21,30 +19,35 @@ local function update(dt)
|
||||
|
||||
--get keyboard
|
||||
local key = love.keyboard.isDown
|
||||
player:idle(dt)
|
||||
--move player
|
||||
if key("d") then
|
||||
player:walk_right(dt)
|
||||
elseif key("a") then
|
||||
player:walk_left(dt)
|
||||
else
|
||||
player:idle(dt)
|
||||
end
|
||||
--jump player
|
||||
if key("w") then
|
||||
player:jump(dt)
|
||||
player.speed = player.speed_jumping
|
||||
else
|
||||
player.speed = player.speed_walking
|
||||
end
|
||||
if game.debug then
|
||||
if key("s") then
|
||||
player:down(dt)
|
||||
player.speed = player.speed_jumping
|
||||
else
|
||||
player.speed = player.speed_walking
|
||||
end
|
||||
if key("f") then
|
||||
--die
|
||||
player.spritesheets["player_die"]:setFrame(1)
|
||||
player:die(dt)
|
||||
game.die_animation_elapsed = false
|
||||
elseif key("g") then
|
||||
--revive player
|
||||
player.spritesheets["player_die"]:setFrame(1)
|
||||
player:revive(dt)
|
||||
game.die_animation_elapsed = false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user