Spaces:
Sleeping
Sleeping
upload spritsheets
Browse files- patches/convex/engine/abstractGame.ts +1 -0
- patches/data/animations/campfire.json +45 -0
- patches/data/animations/gentlesparkle.json +37 -0
- patches/data/animations/gentlesplash.json +61 -0
- patches/data/animations/gentlewaterfall.json +61 -0
- patches/data/animations/windmill.json +78 -0
- patches/data/spritesheets/f1.ts +75 -0
- patches/data/spritesheets/f2.ts +75 -0
- patches/data/spritesheets/f3.ts +75 -0
- patches/data/spritesheets/f4.ts +75 -0
- patches/data/spritesheets/f5.ts +75 -0
- patches/data/spritesheets/f6.ts +75 -0
- patches/data/spritesheets/f7.ts +75 -0
- patches/data/spritesheets/f8.ts +75 -0
- patches/data/spritesheets/p1.ts +59 -0
- patches/data/spritesheets/p2.ts +59 -0
- patches/data/spritesheets/p3.ts +59 -0
- patches/data/spritesheets/player.ts +59 -0
patches/convex/engine/abstractGame.ts
CHANGED
@@ -143,6 +143,7 @@ export async function engineInsertInput(
|
|
143 |
.order('desc')
|
144 |
.first();
|
145 |
const number = prevInput ? prevInput.number + 1 : 0;
|
|
|
146 |
const inputId = await ctx.db.insert('inputs', {
|
147 |
engineId,
|
148 |
number,
|
|
|
143 |
.order('desc')
|
144 |
.first();
|
145 |
const number = prevInput ? prevInput.number + 1 : 0;
|
146 |
+
console.log("args",args)
|
147 |
const inputId = await ctx.db.insert('inputs', {
|
148 |
engineId,
|
149 |
number,
|
patches/data/animations/campfire.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"frames": {
|
2 |
+
|
3 |
+
"pixels_large1.png":
|
4 |
+
{
|
5 |
+
"frame": {"x":0,"y":0,"w":32,"h":32},
|
6 |
+
"rotated": false,
|
7 |
+
"trimmed": true,
|
8 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
|
9 |
+
"sourceSize": {"w":32,"h":32}
|
10 |
+
},
|
11 |
+
"pixels_large2.png":
|
12 |
+
{
|
13 |
+
"frame": {"x":32,"y":0,"w":32,"h":32},
|
14 |
+
"rotated": false,
|
15 |
+
"trimmed": true,
|
16 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
|
17 |
+
"sourceSize": {"w":32,"h":32}
|
18 |
+
},
|
19 |
+
"pixels_large3.png":
|
20 |
+
{
|
21 |
+
"frame": {"x":64,"y":0,"w":32,"h":32},
|
22 |
+
"rotated": false,
|
23 |
+
"trimmed": true,
|
24 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
|
25 |
+
"sourceSize": {"w":32,"h":32}
|
26 |
+
},
|
27 |
+
"pixels_large4.png":
|
28 |
+
{
|
29 |
+
"frame": {"x":96,"y":0,"w":32,"h":32},
|
30 |
+
"rotated": false,
|
31 |
+
"trimmed": true,
|
32 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
|
33 |
+
"sourceSize": {"w":32,"h":32}
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"animations": {
|
37 |
+
"pixels_large": ["pixels_large1.png","pixels_large2.png","pixels_large3.png","pixels_large4.png"]
|
38 |
+
},
|
39 |
+
"meta": {
|
40 |
+
"image": "./spritesheets/campfire.png",
|
41 |
+
"format": "RGBA8888",
|
42 |
+
"size": {"w":128,"h":32},
|
43 |
+
"scale": "1"
|
44 |
+
}
|
45 |
+
}
|
patches/data/animations/gentlesparkle.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"frames": {
|
2 |
+
|
3 |
+
"pixels_large1.png":
|
4 |
+
{
|
5 |
+
"frame": {"x":0,"y":0,"w":32,"h":32},
|
6 |
+
"rotated": false,
|
7 |
+
"trimmed": true,
|
8 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
|
9 |
+
"sourceSize": {"w":32,"h":32}
|
10 |
+
},
|
11 |
+
"pixels_large2.png":
|
12 |
+
{
|
13 |
+
"frame": {"x":32,"y":0,"w":32,"h":32},
|
14 |
+
"rotated": false,
|
15 |
+
"trimmed": true,
|
16 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
|
17 |
+
"sourceSize": {"w":32,"h":32}
|
18 |
+
},
|
19 |
+
"pixels_large3.png":
|
20 |
+
{
|
21 |
+
"frame": {"x":64,"y":0,"w":32,"h":32},
|
22 |
+
"rotated": false,
|
23 |
+
"trimmed": true,
|
24 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
|
25 |
+
"sourceSize": {"w":32,"h":32}
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"animations": {
|
29 |
+
"pixels_large": ["pixels_large1.png","pixels_large2.png","pixels_large3.png"]
|
30 |
+
},
|
31 |
+
"meta": {
|
32 |
+
"image": "./spritesheets/gentlesparkle32.png",
|
33 |
+
"format": "RGBA8888",
|
34 |
+
"size": {"w":192,"h":320},
|
35 |
+
"scale": "1"
|
36 |
+
}
|
37 |
+
}
|
patches/data/animations/gentlesplash.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"frames": {
|
2 |
+
|
3 |
+
"pixels_large1.png":
|
4 |
+
{
|
5 |
+
"frame": {"x":0,"y":192,"w":32,"h":64},
|
6 |
+
"rotated": false,
|
7 |
+
"trimmed": true,
|
8 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":64},
|
9 |
+
"sourceSize": {"w":32,"h":64}
|
10 |
+
},
|
11 |
+
"pixels_large2.png":
|
12 |
+
{
|
13 |
+
"frame": {"x":32,"y":192,"w":32,"h":64},
|
14 |
+
"rotated": false,
|
15 |
+
"trimmed": true,
|
16 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":64},
|
17 |
+
"sourceSize": {"w":32,"h":64}
|
18 |
+
},
|
19 |
+
"pixels_large3.png":
|
20 |
+
{
|
21 |
+
"frame": {"x":64,"y":192,"w":32,"h":64},
|
22 |
+
"rotated": false,
|
23 |
+
"trimmed": true,
|
24 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":64},
|
25 |
+
"sourceSize": {"w":32,"h":64}
|
26 |
+
},
|
27 |
+
"pixels_large4.png":
|
28 |
+
{
|
29 |
+
"frame": {"x":64,"y":192,"w":32,"h":64},
|
30 |
+
"rotated": false,
|
31 |
+
"trimmed": true,
|
32 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":64},
|
33 |
+
"sourceSize": {"w":32,"h":64}
|
34 |
+
},
|
35 |
+
"pixels_large5.png":
|
36 |
+
{
|
37 |
+
"frame": {"x":128,"y":192,"w":32,"h":64},
|
38 |
+
"rotated": false,
|
39 |
+
"trimmed": true,
|
40 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":64},
|
41 |
+
"sourceSize": {"w":32,"h":64}
|
42 |
+
},
|
43 |
+
"pixels_large6.png":
|
44 |
+
{
|
45 |
+
"frame": {"x":160,"y":192,"w":32,"h":64},
|
46 |
+
"rotated": false,
|
47 |
+
"trimmed": true,
|
48 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":64},
|
49 |
+
"sourceSize": {"w":32,"h":64}
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"animations": {
|
53 |
+
"pixels_large": ["pixels_large1.png","pixels_large2.png","pixels_large3.png","pixels_large4.png","pixels_large5.png","pixels_large6.png"]
|
54 |
+
},
|
55 |
+
"meta": {
|
56 |
+
"image": "./spritesheets/gentlewaterfall32.png",
|
57 |
+
"format": "RGBA8888",
|
58 |
+
"size": {"w":192,"h":320},
|
59 |
+
"scale": "1"
|
60 |
+
}
|
61 |
+
}
|
patches/data/animations/gentlewaterfall.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"frames": {
|
2 |
+
|
3 |
+
"pixels_large1.png":
|
4 |
+
{
|
5 |
+
"frame": {"x":0,"y":32,"w":32,"h":96},
|
6 |
+
"rotated": false,
|
7 |
+
"trimmed": true,
|
8 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":96},
|
9 |
+
"sourceSize": {"w":32,"h":96}
|
10 |
+
},
|
11 |
+
"pixels_large2.png":
|
12 |
+
{
|
13 |
+
"frame": {"x":32,"y":32,"w":32,"h":96},
|
14 |
+
"rotated": false,
|
15 |
+
"trimmed": true,
|
16 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":96},
|
17 |
+
"sourceSize": {"w":32,"h":96}
|
18 |
+
},
|
19 |
+
"pixels_large3.png":
|
20 |
+
{
|
21 |
+
"frame": {"x":64,"y":32,"w":32,"h":96},
|
22 |
+
"rotated": false,
|
23 |
+
"trimmed": true,
|
24 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":96},
|
25 |
+
"sourceSize": {"w":32,"h":96}
|
26 |
+
},
|
27 |
+
"pixels_large4.png":
|
28 |
+
{
|
29 |
+
"frame": {"x":96,"y":32,"w":32,"h":96},
|
30 |
+
"rotated": false,
|
31 |
+
"trimmed": true,
|
32 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":96},
|
33 |
+
"sourceSize": {"w":32,"h":96}
|
34 |
+
},
|
35 |
+
"pixels_large5.png":
|
36 |
+
{
|
37 |
+
"frame": {"x":128,"y":32,"w":32,"h":96},
|
38 |
+
"rotated": false,
|
39 |
+
"trimmed": true,
|
40 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":96},
|
41 |
+
"sourceSize": {"w":32,"h":96}
|
42 |
+
},
|
43 |
+
"pixels_large6.png":
|
44 |
+
{
|
45 |
+
"frame": {"x":160,"y":32,"w":32,"h":96},
|
46 |
+
"rotated": false,
|
47 |
+
"trimmed": true,
|
48 |
+
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":96},
|
49 |
+
"sourceSize": {"w":32,"h":96}
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"animations": {
|
53 |
+
"pixels_large": ["pixels_large1.png","pixels_large2.png","pixels_large3.png","pixels_large4.png","pixels_large5.png","pixels_large6.png"]
|
54 |
+
},
|
55 |
+
"meta": {
|
56 |
+
"image": "./spritesheets/gentlewaterfall32.png",
|
57 |
+
"format": "RGBA8888",
|
58 |
+
"size": {"w":192,"h":320},
|
59 |
+
"scale": "1"
|
60 |
+
}
|
61 |
+
}
|
patches/data/animations/windmill.json
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"frames": {
|
3 |
+
"pixels_large1.png": {
|
4 |
+
"frame": { "x": 0, "y": 0, "w": 208, "h": 208 },
|
5 |
+
"rotated": false,
|
6 |
+
"trimmed": true,
|
7 |
+
"spriteSourceSize": { "x": 0, "y": 0, "w": 208, "h": 208 },
|
8 |
+
"sourceSize": { "w": 208, "h": 208 }
|
9 |
+
},
|
10 |
+
"pixels_large2.png": {
|
11 |
+
"frame": { "x": 208, "y": 0, "w": 208, "h": 208 },
|
12 |
+
"rotated": false,
|
13 |
+
"trimmed": true,
|
14 |
+
"spriteSourceSize": { "x": 0, "y": 0, "w": 208, "h": 208 },
|
15 |
+
"sourceSize": { "w": 208, "h": 208 }
|
16 |
+
},
|
17 |
+
"pixels_large3.png": {
|
18 |
+
"frame": { "x": 416, "y": 0, "w": 208, "h": 208 },
|
19 |
+
"rotated": false,
|
20 |
+
"trimmed": true,
|
21 |
+
"spriteSourceSize": { "x": 0, "y": 0, "w": 208, "h": 208 },
|
22 |
+
"sourceSize": { "w": 208, "h": 208 }
|
23 |
+
},
|
24 |
+
"pixels_large4.png": {
|
25 |
+
"frame": { "x": 0, "y": 208, "w": 208, "h": 208 },
|
26 |
+
"rotated": false,
|
27 |
+
"trimmed": true,
|
28 |
+
"spriteSourceSize": { "x": 0, "y": 0, "w": 208, "h": 208 },
|
29 |
+
"sourceSize": { "w": 208, "h": 208 }
|
30 |
+
},
|
31 |
+
"pixels_large5.png": {
|
32 |
+
"frame": { "x": 208, "y": 208, "w": 208, "h": 208 },
|
33 |
+
"rotated": false,
|
34 |
+
"trimmed": true,
|
35 |
+
"spriteSourceSize": { "x": 0, "y": 0, "w": 208, "h": 208 },
|
36 |
+
"sourceSize": { "w": 208, "h": 208 }
|
37 |
+
},
|
38 |
+
"pixels_large6.png": {
|
39 |
+
"frame": { "x": 416, "y": 208, "w": 208, "h": 208 },
|
40 |
+
"rotated": false,
|
41 |
+
"trimmed": true,
|
42 |
+
"spriteSourceSize": { "x": 0, "y": 0, "w": 208, "h": 208 },
|
43 |
+
"sourceSize": { "w": 208, "h": 208 }
|
44 |
+
},
|
45 |
+
"pixels_large7.png": {
|
46 |
+
"frame": { "x": 0, "y": 416, "w": 208, "h": 208 },
|
47 |
+
"rotated": false,
|
48 |
+
"trimmed": true,
|
49 |
+
"spriteSourceSize": { "x": 0, "y": 0, "w": 208, "h": 208 },
|
50 |
+
"sourceSize": { "w": 208, "h": 208 }
|
51 |
+
},
|
52 |
+
"pixels_large8.png": {
|
53 |
+
"frame": { "x": 208, "y": 416, "w": 208, "h": 208 },
|
54 |
+
"rotated": false,
|
55 |
+
"trimmed": true,
|
56 |
+
"spriteSourceSize": { "x": 0, "y": 0, "w": 208, "h": 208 },
|
57 |
+
"sourceSize": { "w": 208, "h": 208 }
|
58 |
+
}
|
59 |
+
},
|
60 |
+
"animations": {
|
61 |
+
"pixels_large": [
|
62 |
+
"pixels_large1.png",
|
63 |
+
"pixels_large2.png",
|
64 |
+
"pixels_large3.png",
|
65 |
+
"pixels_large4.png",
|
66 |
+
"pixels_large5.png",
|
67 |
+
"pixels_large6.png",
|
68 |
+
"pixels_large7.png",
|
69 |
+
"pixels_large8.png"
|
70 |
+
]
|
71 |
+
},
|
72 |
+
"meta": {
|
73 |
+
"image": "./spritesheets/windmill.png",
|
74 |
+
"format": "RGBA8888",
|
75 |
+
"size": { "w": 624, "h": 624 },
|
76 |
+
"scale": "1"
|
77 |
+
}
|
78 |
+
}
|
patches/data/spritesheets/f1.ts
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
left: {
|
6 |
+
frame: { x: 0, y: 32, w: 32, h: 32 },
|
7 |
+
sourceSize: { w: 32, h: 32 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
left2: {
|
11 |
+
frame: { x: 32, y: 32, w: 32, h: 32 },
|
12 |
+
sourceSize: { w: 32, h: 32 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
left3: {
|
16 |
+
frame: { x: 64, y: 32, w: 32, h: 32 },
|
17 |
+
sourceSize: { w: 32, h: 32 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
right: {
|
21 |
+
frame: { x: 0, y: 64, w: 32, h: 32 },
|
22 |
+
sourceSize: { w: 32, h: 32 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
right2: {
|
26 |
+
frame: { x: 32, y: 64, w: 32, h: 32 },
|
27 |
+
sourceSize: { w: 32, h: 32 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
right3: {
|
31 |
+
frame: { x: 64, y: 64, w: 32, h: 32 },
|
32 |
+
sourceSize: { w: 32, h: 32 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
up: {
|
36 |
+
frame: { x: 0, y: 96, w: 32, h: 32 },
|
37 |
+
sourceSize: { w: 32, h: 32 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
up2: {
|
41 |
+
frame: { x: 32, y: 96, w: 32, h: 32 },
|
42 |
+
sourceSize: { w: 32, h: 32 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
up3: {
|
46 |
+
frame: { x: 64, y: 96, w: 32, h: 32 },
|
47 |
+
sourceSize: { w: 32, h: 32 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
down: {
|
51 |
+
frame: { x: 0, y: 0, w: 32, h: 32 },
|
52 |
+
sourceSize: { w: 32, h: 32 },
|
53 |
+
spriteSourceSize: { x: 0, y: 0 },
|
54 |
+
},
|
55 |
+
down2: {
|
56 |
+
frame: { x: 32, y: 0, w: 32, h: 32 },
|
57 |
+
sourceSize: { w: 32, h: 32 },
|
58 |
+
spriteSourceSize: { x: 0, y: 0 },
|
59 |
+
},
|
60 |
+
down3: {
|
61 |
+
frame: { x: 64, y: 0, w: 32, h: 32 },
|
62 |
+
sourceSize: { w: 32, h: 32 },
|
63 |
+
spriteSourceSize: { x: 0, y: 0 },
|
64 |
+
},
|
65 |
+
},
|
66 |
+
meta: {
|
67 |
+
scale: '1',
|
68 |
+
},
|
69 |
+
animations: {
|
70 |
+
left: ['left', 'left2', 'left3'],
|
71 |
+
right: ['right', 'right2', 'right3'],
|
72 |
+
up: ['up', 'up2', 'up3'],
|
73 |
+
down: ['down', 'down2', 'down3'],
|
74 |
+
},
|
75 |
+
};
|
patches/data/spritesheets/f2.ts
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
down: {
|
6 |
+
frame: { x: 96, y: 0, w: 32, h: 32 },
|
7 |
+
sourceSize: { w: 32, h: 32 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
down2: {
|
11 |
+
frame: { x: 128, y: 0, w: 32, h: 32 },
|
12 |
+
sourceSize: { w: 32, h: 32 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
down3: {
|
16 |
+
frame: { x: 160, y: 0, w: 32, h: 32 },
|
17 |
+
sourceSize: { w: 32, h: 32 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
left: {
|
21 |
+
frame: { x: 96, y: 32, w: 32, h: 32 },
|
22 |
+
sourceSize: { w: 32, h: 32 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
left2: {
|
26 |
+
frame: { x: 128, y: 32, w: 32, h: 32 },
|
27 |
+
sourceSize: { w: 32, h: 32 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
left3: {
|
31 |
+
frame: { x: 160, y: 32, w: 32, h: 32 },
|
32 |
+
sourceSize: { w: 32, h: 32 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
right: {
|
36 |
+
frame: { x: 96, y: 64, w: 32, h: 32 },
|
37 |
+
sourceSize: { w: 32, h: 32 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
right2: {
|
41 |
+
frame: { x: 128, y: 64, w: 32, h: 32 },
|
42 |
+
sourceSize: { w: 32, h: 32 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
right3: {
|
46 |
+
frame: { x: 160, y: 64, w: 32, h: 32 },
|
47 |
+
sourceSize: { w: 32, h: 32 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
up: {
|
51 |
+
frame: { x: 96, y: 96, w: 32, h: 32 },
|
52 |
+
sourceSize: { w: 32, h: 32 },
|
53 |
+
spriteSourceSize: { x: 0, y: 0 },
|
54 |
+
},
|
55 |
+
up2: {
|
56 |
+
frame: { x: 128, y: 96, w: 32, h: 32 },
|
57 |
+
sourceSize: { w: 32, h: 32 },
|
58 |
+
spriteSourceSize: { x: 0, y: 0 },
|
59 |
+
},
|
60 |
+
up3: {
|
61 |
+
frame: { x: 160, y: 96, w: 32, h: 32 },
|
62 |
+
sourceSize: { w: 32, h: 32 },
|
63 |
+
spriteSourceSize: { x: 0, y: 0 },
|
64 |
+
},
|
65 |
+
},
|
66 |
+
meta: {
|
67 |
+
scale: '1',
|
68 |
+
},
|
69 |
+
animations: {
|
70 |
+
left: ['left', 'left2', 'left3'],
|
71 |
+
right: ['right', 'right2', 'right3'],
|
72 |
+
up: ['up', 'up2', 'up3'],
|
73 |
+
down: ['down', 'down2', 'down3'],
|
74 |
+
},
|
75 |
+
};
|
patches/data/spritesheets/f3.ts
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
down: {
|
6 |
+
frame: { x: 192, y: 0, w: 32, h: 32 },
|
7 |
+
sourceSize: { w: 32, h: 32 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
down2: {
|
11 |
+
frame: { x: 224, y: 0, w: 32, h: 32 },
|
12 |
+
sourceSize: { w: 32, h: 32 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
down3: {
|
16 |
+
frame: { x: 256, y: 0, w: 32, h: 32 },
|
17 |
+
sourceSize: { w: 32, h: 32 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
left: {
|
21 |
+
frame: { x: 192, y: 32, w: 32, h: 32 },
|
22 |
+
sourceSize: { w: 32, h: 32 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
left2: {
|
26 |
+
frame: { x: 224, y: 32, w: 32, h: 32 },
|
27 |
+
sourceSize: { w: 32, h: 32 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
left3: {
|
31 |
+
frame: { x: 256, y: 32, w: 32, h: 32 },
|
32 |
+
sourceSize: { w: 32, h: 32 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
right: {
|
36 |
+
frame: { x: 192, y: 65, w: 32, h: 32 },
|
37 |
+
sourceSize: { w: 32, h: 32 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
right2: {
|
41 |
+
frame: { x: 224, y: 65, w: 32, h: 32 },
|
42 |
+
sourceSize: { w: 32, h: 32 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
right3: {
|
46 |
+
frame: { x: 256, y: 65, w: 32, h: 32 },
|
47 |
+
sourceSize: { w: 32, h: 32 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
up: {
|
51 |
+
frame: { x: 192, y: 96, w: 32, h: 32 },
|
52 |
+
sourceSize: { w: 32, h: 32 },
|
53 |
+
spriteSourceSize: { x: 0, y: 0 },
|
54 |
+
},
|
55 |
+
up2: {
|
56 |
+
frame: { x: 224, y: 96, w: 32, h: 32 },
|
57 |
+
sourceSize: { w: 32, h: 32 },
|
58 |
+
spriteSourceSize: { x: 0, y: 0 },
|
59 |
+
},
|
60 |
+
up3: {
|
61 |
+
frame: { x: 256, y: 96, w: 32, h: 32 },
|
62 |
+
sourceSize: { w: 32, h: 32 },
|
63 |
+
spriteSourceSize: { x: 0, y: 0 },
|
64 |
+
},
|
65 |
+
},
|
66 |
+
meta: {
|
67 |
+
scale: '1',
|
68 |
+
},
|
69 |
+
animations: {
|
70 |
+
left: ['left', 'left2', 'left3'],
|
71 |
+
right: ['right', 'right2', 'right3'],
|
72 |
+
up: ['up', 'up2', 'up3'],
|
73 |
+
down: ['down', 'down2', 'down3'],
|
74 |
+
},
|
75 |
+
};
|
patches/data/spritesheets/f4.ts
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
down: {
|
6 |
+
frame: { x: 288, y: 0, w: 32, h: 32 },
|
7 |
+
sourceSize: { w: 32, h: 32 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
down2: {
|
11 |
+
frame: { x: 320, y: 0, w: 32, h: 32 },
|
12 |
+
sourceSize: { w: 32, h: 32 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
down3: {
|
16 |
+
frame: { x: 352, y: 0, w: 32, h: 32 },
|
17 |
+
sourceSize: { w: 32, h: 32 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
left: {
|
21 |
+
frame: { x: 288, y: 32, w: 32, h: 32 },
|
22 |
+
sourceSize: { w: 32, h: 32 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
left2: {
|
26 |
+
frame: { x: 320, y: 32, w: 32, h: 32 },
|
27 |
+
sourceSize: { w: 32, h: 32 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
left3: {
|
31 |
+
frame: { x: 352, y: 32, w: 32, h: 32 },
|
32 |
+
sourceSize: { w: 32, h: 32 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
right: {
|
36 |
+
frame: { x: 288, y: 64, w: 32, h: 32 },
|
37 |
+
sourceSize: { w: 32, h: 32 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
right2: {
|
41 |
+
frame: { x: 320, y: 64, w: 32, h: 32 },
|
42 |
+
sourceSize: { w: 32, h: 32 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
right3: {
|
46 |
+
frame: { x: 352, y: 64, w: 32, h: 32 },
|
47 |
+
sourceSize: { w: 32, h: 32 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
up: {
|
51 |
+
frame: { x: 288, y: 96, w: 32, h: 32 },
|
52 |
+
sourceSize: { w: 32, h: 32 },
|
53 |
+
spriteSourceSize: { x: 0, y: 0 },
|
54 |
+
},
|
55 |
+
up2: {
|
56 |
+
frame: { x: 320, y: 96, w: 32, h: 32 },
|
57 |
+
sourceSize: { w: 32, h: 32 },
|
58 |
+
spriteSourceSize: { x: 0, y: 0 },
|
59 |
+
},
|
60 |
+
up3: {
|
61 |
+
frame: { x: 352, y: 96, w: 32, h: 32 },
|
62 |
+
sourceSize: { w: 32, h: 32 },
|
63 |
+
spriteSourceSize: { x: 0, y: 0 },
|
64 |
+
},
|
65 |
+
},
|
66 |
+
meta: {
|
67 |
+
scale: '1',
|
68 |
+
},
|
69 |
+
animations: {
|
70 |
+
left: ['left', 'left2', 'left3'],
|
71 |
+
right: ['right', 'right2', 'right3'],
|
72 |
+
up: ['up', 'up2', 'up3'],
|
73 |
+
down: ['down', 'down2', 'down3'],
|
74 |
+
},
|
75 |
+
};
|
patches/data/spritesheets/f5.ts
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
down: {
|
6 |
+
frame: { x: 0, y: 128, w: 32, h: 32 },
|
7 |
+
sourceSize: { w: 32, h: 32 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
down2: {
|
11 |
+
frame: { x: 32, y: 128, w: 32, h: 32 },
|
12 |
+
sourceSize: { w: 32, h: 32 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
down3: {
|
16 |
+
frame: { x: 64, y: 128, w: 32, h: 32 },
|
17 |
+
sourceSize: { w: 32, h: 32 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
left: {
|
21 |
+
frame: { x: 0, y: 160, w: 32, h: 32 },
|
22 |
+
sourceSize: { w: 32, h: 32 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
left2: {
|
26 |
+
frame: { x: 32, y: 160, w: 32, h: 32 },
|
27 |
+
sourceSize: { w: 32, h: 32 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
left3: {
|
31 |
+
frame: { x: 64, y: 160, w: 32, h: 32 },
|
32 |
+
sourceSize: { w: 32, h: 32 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
right: {
|
36 |
+
frame: { x: 0, y: 192, w: 32, h: 32 },
|
37 |
+
sourceSize: { w: 32, h: 32 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
right2: {
|
41 |
+
frame: { x: 32, y: 192, w: 32, h: 32 },
|
42 |
+
sourceSize: { w: 32, h: 32 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
right3: {
|
46 |
+
frame: { x: 64, y: 192, w: 32, h: 32 },
|
47 |
+
sourceSize: { w: 32, h: 32 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
up: {
|
51 |
+
frame: { x: 0, y: 224, w: 32, h: 32 },
|
52 |
+
sourceSize: { w: 32, h: 32 },
|
53 |
+
spriteSourceSize: { x: 0, y: 0 },
|
54 |
+
},
|
55 |
+
up2: {
|
56 |
+
frame: { x: 32, y: 224, w: 32, h: 32 },
|
57 |
+
sourceSize: { w: 32, h: 32 },
|
58 |
+
spriteSourceSize: { x: 0, y: 0 },
|
59 |
+
},
|
60 |
+
up3: {
|
61 |
+
frame: { x: 64, y: 224, w: 32, h: 32 },
|
62 |
+
sourceSize: { w: 32, h: 32 },
|
63 |
+
spriteSourceSize: { x: 0, y: 0 },
|
64 |
+
},
|
65 |
+
},
|
66 |
+
meta: {
|
67 |
+
scale: '1',
|
68 |
+
},
|
69 |
+
animations: {
|
70 |
+
left: ['left', 'left2', 'left3'],
|
71 |
+
right: ['right', 'right2', 'right3'],
|
72 |
+
up: ['up', 'up2', 'up3'],
|
73 |
+
down: ['down', 'down2', 'down3'],
|
74 |
+
},
|
75 |
+
};
|
patches/data/spritesheets/f6.ts
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
down: {
|
6 |
+
frame: { x: 96, y: 128, w: 32, h: 32 },
|
7 |
+
sourceSize: { w: 32, h: 32 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
down2: {
|
11 |
+
frame: { x: 128, y: 128, w: 32, h: 32 },
|
12 |
+
sourceSize: { w: 32, h: 32 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
down3: {
|
16 |
+
frame: { x: 160, y: 128, w: 32, h: 32 },
|
17 |
+
sourceSize: { w: 32, h: 32 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
left: {
|
21 |
+
frame: { x: 96, y: 160, w: 32, h: 32 },
|
22 |
+
sourceSize: { w: 32, h: 32 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
left2: {
|
26 |
+
frame: { x: 128, y: 160, w: 32, h: 32 },
|
27 |
+
sourceSize: { w: 32, h: 32 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
left3: {
|
31 |
+
frame: { x: 160, y: 160, w: 32, h: 32 },
|
32 |
+
sourceSize: { w: 32, h: 32 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
right: {
|
36 |
+
frame: { x: 96, y: 192, w: 32, h: 32 },
|
37 |
+
sourceSize: { w: 32, h: 32 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
right2: {
|
41 |
+
frame: { x: 128, y: 192, w: 32, h: 32 },
|
42 |
+
sourceSize: { w: 32, h: 32 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
right3: {
|
46 |
+
frame: { x: 160, y: 192, w: 32, h: 32 },
|
47 |
+
sourceSize: { w: 32, h: 32 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
up: {
|
51 |
+
frame: { x: 96, y: 224, w: 32, h: 32 },
|
52 |
+
sourceSize: { w: 32, h: 32 },
|
53 |
+
spriteSourceSize: { x: 0, y: 0 },
|
54 |
+
},
|
55 |
+
up2: {
|
56 |
+
frame: { x: 128, y: 224, w: 32, h: 32 },
|
57 |
+
sourceSize: { w: 32, h: 32 },
|
58 |
+
spriteSourceSize: { x: 0, y: 0 },
|
59 |
+
},
|
60 |
+
up3: {
|
61 |
+
frame: { x: 160, y: 224, w: 32, h: 32 },
|
62 |
+
sourceSize: { w: 32, h: 32 },
|
63 |
+
spriteSourceSize: { x: 0, y: 0 },
|
64 |
+
},
|
65 |
+
},
|
66 |
+
meta: {
|
67 |
+
scale: '1',
|
68 |
+
},
|
69 |
+
animations: {
|
70 |
+
left: ['left', 'left2', 'left3'],
|
71 |
+
right: ['right', 'right2', 'right3'],
|
72 |
+
up: ['up', 'up2', 'up3'],
|
73 |
+
down: ['down', 'down2', 'down3'],
|
74 |
+
},
|
75 |
+
};
|
patches/data/spritesheets/f7.ts
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
down: {
|
6 |
+
frame: { x: 192, y: 128, w: 32, h: 32 },
|
7 |
+
sourceSize: { w: 32, h: 32 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
down2: {
|
11 |
+
frame: { x: 224, y: 128, w: 32, h: 32 },
|
12 |
+
sourceSize: { w: 32, h: 32 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
down3: {
|
16 |
+
frame: { x: 256, y: 128, w: 32, h: 32 },
|
17 |
+
sourceSize: { w: 32, h: 32 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
left: {
|
21 |
+
frame: { x: 192, y: 160, w: 32, h: 32 },
|
22 |
+
sourceSize: { w: 32, h: 32 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
left2: {
|
26 |
+
frame: { x: 224, y: 160, w: 32, h: 32 },
|
27 |
+
sourceSize: { w: 32, h: 32 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
left3: {
|
31 |
+
frame: { x: 256, y: 160, w: 32, h: 32 },
|
32 |
+
sourceSize: { w: 32, h: 32 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
right: {
|
36 |
+
frame: { x: 192, y: 192, w: 32, h: 32 },
|
37 |
+
sourceSize: { w: 32, h: 32 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
right2: {
|
41 |
+
frame: { x: 224, y: 192, w: 32, h: 32 },
|
42 |
+
sourceSize: { w: 32, h: 32 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
right3: {
|
46 |
+
frame: { x: 256, y: 192, w: 32, h: 32 },
|
47 |
+
sourceSize: { w: 32, h: 32 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
up: {
|
51 |
+
frame: { x: 192, y: 224, w: 32, h: 32 },
|
52 |
+
sourceSize: { w: 32, h: 32 },
|
53 |
+
spriteSourceSize: { x: 0, y: 0 },
|
54 |
+
},
|
55 |
+
up2: {
|
56 |
+
frame: { x: 224, y: 224, w: 32, h: 32 },
|
57 |
+
sourceSize: { w: 32, h: 32 },
|
58 |
+
spriteSourceSize: { x: 0, y: 0 },
|
59 |
+
},
|
60 |
+
up3: {
|
61 |
+
frame: { x: 256, y: 224, w: 32, h: 32 },
|
62 |
+
sourceSize: { w: 32, h: 32 },
|
63 |
+
spriteSourceSize: { x: 0, y: 0 },
|
64 |
+
},
|
65 |
+
},
|
66 |
+
meta: {
|
67 |
+
scale: '1',
|
68 |
+
},
|
69 |
+
animations: {
|
70 |
+
left: ['left', 'left2', 'left3'],
|
71 |
+
right: ['right', 'right2', 'right3'],
|
72 |
+
up: ['up', 'up2', 'up3'],
|
73 |
+
down: ['down', 'down2', 'down3'],
|
74 |
+
},
|
75 |
+
};
|
patches/data/spritesheets/f8.ts
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
down: {
|
6 |
+
frame: { x: 288, y: 128, w: 32, h: 32 },
|
7 |
+
sourceSize: { w: 32, h: 32 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
down2: {
|
11 |
+
frame: { x: 320, y: 128, w: 32, h: 32 },
|
12 |
+
sourceSize: { w: 32, h: 32 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
down3: {
|
16 |
+
frame: { x: 352, y: 128, w: 32, h: 32 },
|
17 |
+
sourceSize: { w: 32, h: 32 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
left: {
|
21 |
+
frame: { x: 288, y: 160, w: 32, h: 32 },
|
22 |
+
sourceSize: { w: 32, h: 32 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
left2: {
|
26 |
+
frame: { x: 320, y: 160, w: 32, h: 32 },
|
27 |
+
sourceSize: { w: 32, h: 32 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
left3: {
|
31 |
+
frame: { x: 352, y: 160, w: 32, h: 32 },
|
32 |
+
sourceSize: { w: 32, h: 32 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
right: {
|
36 |
+
frame: { x: 288, y: 192, w: 32, h: 32 },
|
37 |
+
sourceSize: { w: 32, h: 32 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
right2: {
|
41 |
+
frame: { x: 320, y: 192, w: 32, h: 32 },
|
42 |
+
sourceSize: { w: 32, h: 32 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
right3: {
|
46 |
+
frame: { x: 352, y: 192, w: 32, h: 32 },
|
47 |
+
sourceSize: { w: 32, h: 32 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
up: {
|
51 |
+
frame: { x: 288, y: 224, w: 32, h: 32 },
|
52 |
+
sourceSize: { w: 32, h: 32 },
|
53 |
+
spriteSourceSize: { x: 0, y: 0 },
|
54 |
+
},
|
55 |
+
up2: {
|
56 |
+
frame: { x: 320, y: 224, w: 32, h: 32 },
|
57 |
+
sourceSize: { w: 32, h: 32 },
|
58 |
+
spriteSourceSize: { x: 0, y: 0 },
|
59 |
+
},
|
60 |
+
up3: {
|
61 |
+
frame: { x: 352, y: 224, w: 32, h: 32 },
|
62 |
+
sourceSize: { w: 32, h: 32 },
|
63 |
+
spriteSourceSize: { x: 0, y: 0 },
|
64 |
+
},
|
65 |
+
},
|
66 |
+
meta: {
|
67 |
+
scale: '1',
|
68 |
+
},
|
69 |
+
animations: {
|
70 |
+
left: ['left', 'left2', 'left3'],
|
71 |
+
right: ['right', 'right2', 'right3'],
|
72 |
+
up: ['up', 'up2', 'up3'],
|
73 |
+
down: ['down', 'down2', 'down3'],
|
74 |
+
},
|
75 |
+
};
|
patches/data/spritesheets/p1.ts
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
left: {
|
6 |
+
frame: { x: 16, y: 0, w: 16, h: 16 },
|
7 |
+
sourceSize: { w: 16, h: 16 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
left2: {
|
11 |
+
frame: { x: 64, y: 0, w: 16, h: 16 },
|
12 |
+
sourceSize: { w: 16, h: 16 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
left3: {
|
16 |
+
frame: { x: 112, y: 0, w: 16, h: 16 },
|
17 |
+
sourceSize: { w: 16, h: 16 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
up: {
|
21 |
+
frame: { x: 32, y: 0, w: 16, h: 16 },
|
22 |
+
sourceSize: { w: 16, h: 16 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
up2: {
|
26 |
+
frame: { x: 80, y: 0, w: 16, h: 16 },
|
27 |
+
sourceSize: { w: 16, h: 16 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
up3: {
|
31 |
+
frame: { x: 128, y: 0, w: 16, h: 16 },
|
32 |
+
sourceSize: { w: 16, h: 16 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
down: {
|
36 |
+
frame: { x: 0, y: 0, w: 16, h: 16 },
|
37 |
+
sourceSize: { w: 16, h: 16 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
down2: {
|
41 |
+
frame: { x: 48, y: 0, w: 16, h: 16 },
|
42 |
+
sourceSize: { w: 16, h: 16 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
down3: {
|
46 |
+
frame: { x: 96, y: 0, w: 16, h: 16 },
|
47 |
+
sourceSize: { w: 16, h: 16 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
},
|
51 |
+
meta: {
|
52 |
+
scale: '1',
|
53 |
+
},
|
54 |
+
animations: {
|
55 |
+
left: ['left', 'left2', 'left3'],
|
56 |
+
up: ['up', 'up2', 'up3'],
|
57 |
+
down: ['down', 'down2', 'down3'],
|
58 |
+
},
|
59 |
+
};
|
patches/data/spritesheets/p2.ts
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
left: {
|
6 |
+
frame: { x: 16, y: 16, w: 16, h: 16 },
|
7 |
+
sourceSize: { w: 16, h: 16 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
left2: {
|
11 |
+
frame: { x: 64, y: 16, w: 16, h: 16 },
|
12 |
+
sourceSize: { w: 16, h: 16 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
left3: {
|
16 |
+
frame: { x: 112, y: 16, w: 16, h: 16 },
|
17 |
+
sourceSize: { w: 16, h: 16 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
up: {
|
21 |
+
frame: { x: 32, y: 16, w: 16, h: 16 },
|
22 |
+
sourceSize: { w: 16, h: 16 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
up2: {
|
26 |
+
frame: { x: 80, y: 16, w: 16, h: 16 },
|
27 |
+
sourceSize: { w: 16, h: 16 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
up3: {
|
31 |
+
frame: { x: 128, y: 16, w: 16, h: 16 },
|
32 |
+
sourceSize: { w: 16, h: 16 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
down: {
|
36 |
+
frame: { x: 0, y: 16, w: 16, h: 16 },
|
37 |
+
sourceSize: { w: 16, h: 16 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
down2: {
|
41 |
+
frame: { x: 48, y: 16, w: 16, h: 16 },
|
42 |
+
sourceSize: { w: 16, h: 16 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
down3: {
|
46 |
+
frame: { x: 96, y: 16, w: 16, h: 16 },
|
47 |
+
sourceSize: { w: 16, h: 16 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
},
|
51 |
+
meta: {
|
52 |
+
scale: '1',
|
53 |
+
},
|
54 |
+
animations: {
|
55 |
+
left: ['left', 'left2', 'left3'],
|
56 |
+
up: ['up', 'up2', 'up3'],
|
57 |
+
down: ['down', 'down2', 'down3'],
|
58 |
+
},
|
59 |
+
};
|
patches/data/spritesheets/p3.ts
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
left: {
|
6 |
+
frame: { x: 16, y: 32, w: 16, h: 16 },
|
7 |
+
sourceSize: { w: 16, h: 16 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
left2: {
|
11 |
+
frame: { x: 64, y: 32, w: 16, h: 16 },
|
12 |
+
sourceSize: { w: 16, h: 16 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
left3: {
|
16 |
+
frame: { x: 112, y: 32, w: 16, h: 16 },
|
17 |
+
sourceSize: { w: 16, h: 16 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
up: {
|
21 |
+
frame: { x: 32, y: 32, w: 16, h: 16 },
|
22 |
+
sourceSize: { w: 16, h: 16 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
up2: {
|
26 |
+
frame: { x: 80, y: 32, w: 16, h: 16 },
|
27 |
+
sourceSize: { w: 16, h: 16 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
up3: {
|
31 |
+
frame: { x: 128, y: 32, w: 16, h: 16 },
|
32 |
+
sourceSize: { w: 16, h: 16 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
down: {
|
36 |
+
frame: { x: 0, y: 32, w: 16, h: 16 },
|
37 |
+
sourceSize: { w: 16, h: 16 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
down2: {
|
41 |
+
frame: { x: 48, y: 32, w: 16, h: 16 },
|
42 |
+
sourceSize: { w: 16, h: 16 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
down3: {
|
46 |
+
frame: { x: 96, y: 32, w: 16, h: 16 },
|
47 |
+
sourceSize: { w: 16, h: 16 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
},
|
51 |
+
meta: {
|
52 |
+
scale: '1',
|
53 |
+
},
|
54 |
+
animations: {
|
55 |
+
left: ['left', 'left2', 'left3'],
|
56 |
+
up: ['up', 'up2', 'up3'],
|
57 |
+
down: ['down', 'down2', 'down3'],
|
58 |
+
},
|
59 |
+
};
|
patches/data/spritesheets/player.ts
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { SpritesheetData } from './types';
|
2 |
+
|
3 |
+
export const data: SpritesheetData = {
|
4 |
+
frames: {
|
5 |
+
left: {
|
6 |
+
frame: { x: 0, y: 0, w: 16, h: 16 },
|
7 |
+
sourceSize: { w: 16, h: 16 },
|
8 |
+
spriteSourceSize: { x: 0, y: 0 },
|
9 |
+
},
|
10 |
+
left2: {
|
11 |
+
frame: { x: 16, y: 0, w: 16, h: 16 },
|
12 |
+
sourceSize: { w: 16, h: 16 },
|
13 |
+
spriteSourceSize: { x: 0, y: 0 },
|
14 |
+
},
|
15 |
+
left3: {
|
16 |
+
frame: { x: 32, y: 0, w: 16, h: 16 },
|
17 |
+
sourceSize: { w: 16, h: 16 },
|
18 |
+
spriteSourceSize: { x: 0, y: 0 },
|
19 |
+
},
|
20 |
+
up: {
|
21 |
+
frame: { x: 0, y: 16, w: 16, h: 16 },
|
22 |
+
sourceSize: { w: 16, h: 16 },
|
23 |
+
spriteSourceSize: { x: 0, y: 0 },
|
24 |
+
},
|
25 |
+
up2: {
|
26 |
+
frame: { x: 16, y: 16, w: 16, h: 16 },
|
27 |
+
sourceSize: { w: 16, h: 16 },
|
28 |
+
spriteSourceSize: { x: 0, y: 0 },
|
29 |
+
},
|
30 |
+
up3: {
|
31 |
+
frame: { x: 32, y: 16, w: 16, h: 16 },
|
32 |
+
sourceSize: { w: 16, h: 16 },
|
33 |
+
spriteSourceSize: { x: 0, y: 0 },
|
34 |
+
},
|
35 |
+
down: {
|
36 |
+
frame: { x: 0, y: 32, w: 16, h: 16 },
|
37 |
+
sourceSize: { w: 16, h: 16 },
|
38 |
+
spriteSourceSize: { x: 0, y: 0 },
|
39 |
+
},
|
40 |
+
down2: {
|
41 |
+
frame: { x: 16, y: 32, w: 16, h: 16 },
|
42 |
+
sourceSize: { w: 16, h: 16 },
|
43 |
+
spriteSourceSize: { x: 0, y: 0 },
|
44 |
+
},
|
45 |
+
down3: {
|
46 |
+
frame: { x: 32, y: 32, w: 16, h: 16 },
|
47 |
+
sourceSize: { w: 16, h: 16 },
|
48 |
+
spriteSourceSize: { x: 0, y: 0 },
|
49 |
+
},
|
50 |
+
},
|
51 |
+
meta: {
|
52 |
+
scale: '1',
|
53 |
+
},
|
54 |
+
animations: {
|
55 |
+
left: ['left', 'left2', 'left3'],
|
56 |
+
up: ['up', 'up2', 'up3'],
|
57 |
+
down: ['down', 'down2', 'down3'],
|
58 |
+
},
|
59 |
+
};
|