Skip to content

Commit a120e10

Browse files
committed
fix npc sprites build
1 parent 285f9ff commit a120e10

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+536
-548
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
This project came from this Medium post: https://javascript.plainenglish.io/i-made-a-top-down-game-version-of-my-blog-with-phaser-and-react-faf5c28cf768
44

5-
<img src="/sources/game_sample.gif?raw=true" width="890px" />
5+
<img src="/source_files/game_sample.gif?raw=true" width="890px" />
66

77
# Features
88
- Create React App
99
- Phaser 3
1010
- Redux
11+
- Material UI
1112
- React 17 as game UI
1213
- Arcade physics
1314
- Grid Engine for grid movements

package-lock.json

Lines changed: 160 additions & 173 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"devDependencies": {
77
"@babel/eslint-parser": "^7.16.3",
88
"@babel/eslint-plugin": "^7.14.5",
9-
"@testing-library/jest-dom": "^5.15.1",
9+
"@testing-library/jest-dom": "^5.16.1",
1010
"@testing-library/react": "^12.1.2",
1111
"@testing-library/user-event": "^13.5.0",
1212
"eslint": "^7.32.0",
@@ -27,17 +27,17 @@
2727
"eslint-plugin-unused-imports": "^1.1.5",
2828
"free-tex-packer-core": "^0.3.4",
2929
"node-fetch": "^3.1.0",
30-
"npm-check-updates": "^12.0.2"
30+
"npm-check-updates": "^12.0.3"
3131
},
3232
"dependencies": {
3333
"@craco/craco": "^6.4.2",
3434
"@emotion/react": "^11.7.0",
3535
"@emotion/styled": "^11.6.0",
3636
"@mui/core": "^5.0.0-alpha.54",
37-
"@mui/icons-material": "^5.2.0",
38-
"@mui/lab": "^5.0.0-alpha.57",
39-
"@mui/material": "^5.2.1",
40-
"@mui/styles": "^5.2.1",
37+
"@mui/icons-material": "^5.2.1",
38+
"@mui/lab": "^5.0.0-alpha.59",
39+
"@mui/material": "^5.2.3",
40+
"@mui/styles": "^5.2.3",
4141
"classnames": "^2.3.1",
4242
"grid-engine": "^2.12.0",
4343
"is-mobile": "^3.0.0",
File renamed without changes.
Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
11
{
2-
"textures": [
3-
{
4-
"image": "coin.png",
5-
"format": "RGBA8888",
6-
"size": {
7-
"w": 12,
8-
"h": 24
9-
},
10-
"scale": 1,
11-
"frames": [
12-
{
13-
"filename": "coin_idle_01",
14-
"rotated": false,
15-
"trimmed": true,
16-
"sourceSize": {
17-
"w": 16,
18-
"h": 16
19-
},
20-
"spriteSourceSize": {
21-
"x": 2,
22-
"y": 2,
23-
"w": 12,
24-
"h": 12
25-
},
26-
"frame": {
27-
"x": 0,
28-
"y": 0,
29-
"w": 12,
30-
"h": 12
31-
}
32-
},
33-
{
34-
"filename": "coin_idle_02",
35-
"rotated": false,
36-
"trimmed": true,
37-
"sourceSize": {
38-
"w": 16,
39-
"h": 16
40-
},
41-
"spriteSourceSize": {
42-
"x": 4,
43-
"y": 2,
44-
"w": 8,
45-
"h": 12
46-
},
47-
"frame": {
48-
"x": 0,
49-
"y": 12,
50-
"w": 8,
51-
"h": 12
52-
}
53-
}
54-
]
55-
}
56-
],
57-
"meta": {
58-
"app": "http://github.com/odrick/free-tex-packer-core",
59-
"version": "0.3.4"
60-
}
2+
"textures": [
3+
{
4+
"image": "coin.png",
5+
"format": "RGBA8888",
6+
"size": {
7+
"w": 12,
8+
"h": 24
9+
},
10+
"scale": 1,
11+
"frames": [
12+
{
13+
"filename": "coin_idle_01",
14+
"rotated": false,
15+
"trimmed": true,
16+
"sourceSize": {
17+
"w": 16,
18+
"h": 16
19+
},
20+
"spriteSourceSize": {
21+
"x": 2,
22+
"y": 2,
23+
"w": 12,
24+
"h": 12
25+
},
26+
"frame": {
27+
"x": 0,
28+
"y": 0,
29+
"w": 12,
30+
"h": 12
31+
}
32+
},
33+
{
34+
"filename": "coin_idle_02",
35+
"rotated": false,
36+
"trimmed": true,
37+
"sourceSize": {
38+
"w": 16,
39+
"h": 16
40+
},
41+
"spriteSourceSize": {
42+
"x": 4,
43+
"y": 2,
44+
"w": 8,
45+
"h": 12
46+
},
47+
"frame": {
48+
"x": 0,
49+
"y": 12,
50+
"w": 8,
51+
"h": 12
52+
}
53+
}
54+
]
55+
}
56+
],
57+
"meta": {
58+
"app": "http://github.com/odrick/free-tex-packer-core",
59+
"version": "0.3.4"
60+
}
6161
}

0 commit comments

Comments
 (0)