Skip to content

Commit 7d33c5d

Browse files
committed
Tom Game
1 parent 1c6ad68 commit 7d33c5d

29 files changed

+32633
-18359
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"liveServer.settings.port": 5501
3+
}
8.35 KB
Loading

public/assets/games/tom/bomb.png

302 Bytes
Loading
3.53 MB
Binary file not shown.

public/assets/games/tom/draw.mp3

13.6 KB
Binary file not shown.

public/assets/games/tom/floor.png

1.28 KB
Loading

public/assets/games/tom/font.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"image": "font",
3+
"width": 16,
4+
"height": 16,
5+
"chars": "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ:",
6+
"offset": {
7+
"x": 0,
8+
"y": 0
9+
},
10+
"spacing": {
11+
"x": 0,
12+
"y": 0
13+
},
14+
"charsPerRow": 13
15+
}

public/assets/games/tom/font.png

1.22 KB
Loading
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"image": "font",
3+
"width": 16,
4+
"height": 16,
5+
"chars": "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ:",
6+
"offset": {
7+
"x": 0,
8+
"y": 0
9+
},
10+
"spacing": {
11+
"x": 0,
12+
"y": 0
13+
},
14+
"charsPerRow": 13
15+
}

public/assets/games/tom/font/font.png

1.22 KB
Loading

public/assets/games/tom/life.png

151 Bytes
Loading

public/assets/games/tom/logo.png

677 Bytes
Loading

public/assets/games/tom/pop.mp3

8.75 KB
Binary file not shown.
1.94 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
{
2+
"anims": [
3+
{
4+
"key": "tomato_walk",
5+
"type": "frames",
6+
"repeat": -1,
7+
"frameRate": 12,
8+
"frames": [
9+
{
10+
"key": "tomato",
11+
"frame": "tomato_walk_0"
12+
},
13+
{
14+
"key": "tomato",
15+
"frame": "tomato_walk_1"
16+
},
17+
{
18+
"key": "tomato",
19+
"frame": "tomato_walk_2"
20+
},
21+
{
22+
"key": "tomato",
23+
"frame": "tomato_walk_3"
24+
},
25+
{
26+
"key": "tomato",
27+
"frame": "tomato_walk_4"
28+
},
29+
{
30+
"key": "tomato",
31+
"frame": "tomato_walk_5"
32+
},
33+
{
34+
"key": "tomato",
35+
"frame": "tomato_walk_6"
36+
},
37+
{
38+
"key": "tomato",
39+
"frame": "tomato_walk_7"
40+
}
41+
]
42+
},
43+
{
44+
"key": "tomato_idle",
45+
"type": "frames",
46+
"repeat": -1,
47+
"frameRate": 9,
48+
"frames": [
49+
{
50+
"key": "tomato",
51+
"frame": "tomato_idle_0"
52+
},
53+
{
54+
"key": "tomato",
55+
"frame": "tomato_idle_1"
56+
},
57+
{
58+
"key": "tomato",
59+
"frame": "tomato_idle_2"
60+
},
61+
{
62+
"key": "tomato",
63+
"frame": "tomato_idle_3"
64+
},
65+
{
66+
"key": "tomato",
67+
"frame": "tomato_idle_4"
68+
},
69+
{
70+
"key": "tomato",
71+
"frame": "tomato_idle_5"
72+
},
73+
{
74+
"key": "tomato",
75+
"frame": "tomato_idle_6"
76+
},
77+
{
78+
"key": "tomato",
79+
"frame": "tomato_idle_7"
80+
}
81+
]
82+
},
83+
{
84+
"key": "tomato_jump",
85+
"type": "frames",
86+
"repeat": 1,
87+
"frameRate": 12,
88+
"frames": [
89+
{
90+
"key": "tomato",
91+
"frame": "tomato_jump_0"
92+
}
93+
]
94+
},
95+
{
96+
"key": "tomato_down",
97+
"type": "frames",
98+
"repeat": -1,
99+
"frameRate": 8,
100+
"frames": [
101+
{
102+
"key": "tomato",
103+
"frame": "tomato_down_0"
104+
},
105+
{
106+
"key": "tomato",
107+
"frame": "tomato_down_1"
108+
},
109+
{
110+
"key": "tomato",
111+
"frame": "tomato_down_2"
112+
},
113+
{
114+
"key": "tomato",
115+
"frame": "tomato_down_3"
116+
},
117+
{
118+
"key": "tomato",
119+
"frame": "tomato_down_4"
120+
},
121+
{
122+
"key": "tomato",
123+
"frame": "tomato_down_5"
124+
}
125+
]
126+
}
127+
]
128+
}

0 commit comments

Comments
 (0)