Skip to content

Commit a53d012

Browse files
author
Matt Colman
committed
initial commit
0 parents  commit a53d012

Some content is hidden

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

55 files changed

+10370
-0
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015"]
3+
}

.eslintrc.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "standard",
3+
"parserOptions": {
4+
"ecmaVersion": 6,
5+
"sourceType": "module"
6+
}
7+
}

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
dist/
3+
.vscode/
4+
*.atlas
5+
*.fnt

LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
The MIT License (MIT)
3+
4+
Copyright (c) 2016 Matt Colman.
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy of
7+
this software and associated documentation files (the "Software"), to deal in
8+
the Software without restriction, including without limitation the rights to
9+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10+
the Software, and to permit persons to whom the Software is furnished to do so,
11+
subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# **WORK IN PROGRESS**
2+
3+
4+
# Phaser Manifest Loader
5+
6+
## Install
7+
`npm i phaser-manifest-loader --save`
8+
9+
## Usage
10+
// TODO
11+
12+
## Run demo
13+
`npm run dev`
14+
15+
## Build
16+
`npm run build`
17+
18+
### Credits
19+
https://github.com/lean/phaser-es6-webpack

assets/animations/anim1.json

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{"frames": [
2+
3+
{
4+
"filename": "blue",
5+
"frame": {"x":1,"y":1,"w":100,"h":100},
6+
"rotated": false,
7+
"trimmed": false,
8+
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":100},
9+
"sourceSize": {"w":100,"h":100}
10+
},
11+
{
12+
"filename": "green",
13+
"frame": {"x":1,"y":103,"w":100,"h":100},
14+
"rotated": false,
15+
"trimmed": false,
16+
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":100},
17+
"sourceSize": {"w":100,"h":100}
18+
},
19+
{
20+
"filename": "red",
21+
"frame": {"x":103,"y":1,"w":100,"h":100},
22+
"rotated": false,
23+
"trimmed": false,
24+
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":100},
25+
"sourceSize": {"w":100,"h":100}
26+
},
27+
{
28+
"filename": "yellow_circle",
29+
"frame": {"x":103,"y":103,"w":96,"h":96},
30+
"rotated": false,
31+
"trimmed": true,
32+
"spriteSourceSize": {"x":2,"y":1,"w":96,"h":96},
33+
"sourceSize": {"w":100,"h":100}
34+
}],
35+
"meta": {
36+
"app": "http://www.codeandweb.com/texturepacker",
37+
"version": "1.0",
38+
"image": "anim1.png",
39+
"format": "RGBA8888",
40+
"size": {"w":256,"h":256},
41+
"scale": "0.5",
42+
"smartupdate": "$TexturePacker:SmartUpdate:6fdebc7be884cbff58694e70d911ed0f:96a2214d44da0cb369078414d2aff74d:ba725e23b17bdafc8a4887ccb05da110$"
43+
}
44+
}

assets/animations/anim1.png

1.85 KB
Loading

assets/animations/anim1_2x.json

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{"frames": [
2+
3+
{
4+
"filename": "blue",
5+
"frame": {"x":1,"y":1,"w":200,"h":200},
6+
"rotated": false,
7+
"trimmed": false,
8+
"spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
9+
"sourceSize": {"w":200,"h":200}
10+
},
11+
{
12+
"filename": "green",
13+
"frame": {"x":1,"y":203,"w":200,"h":200},
14+
"rotated": false,
15+
"trimmed": false,
16+
"spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
17+
"sourceSize": {"w":200,"h":200}
18+
},
19+
{
20+
"filename": "red",
21+
"frame": {"x":203,"y":1,"w":200,"h":200},
22+
"rotated": false,
23+
"trimmed": false,
24+
"spriteSourceSize": {"x":0,"y":0,"w":200,"h":200},
25+
"sourceSize": {"w":200,"h":200}
26+
},
27+
{
28+
"filename": "yellow_circle",
29+
"frame": {"x":203,"y":203,"w":189,"h":189},
30+
"rotated": false,
31+
"trimmed": true,
32+
"spriteSourceSize": {"x":6,"y":4,"w":189,"h":189},
33+
"sourceSize": {"w":200,"h":200}
34+
}],
35+
"meta": {
36+
"app": "http://www.codeandweb.com/texturepacker",
37+
"version": "1.0",
38+
"image": "anim1_2x.png",
39+
"format": "RGBA8888",
40+
"size": {"w":512,"h":512},
41+
"scale": "1",
42+
"smartupdate": "$TexturePacker:SmartUpdate:6fdebc7be884cbff58694e70d911ed0f:96a2214d44da0cb369078414d2aff74d:ba725e23b17bdafc8a4887ccb05da110$"
43+
}
44+
}

assets/animations/anim1_2x.png

2.99 KB
Loading

assets/audio/blip.mp3

6.94 KB
Binary file not shown.

assets/audio/blup.mp3

2.24 KB
Binary file not shown.

assets/audio/bottle_pop.mp3

7.35 KB
Binary file not shown.

assets/audio/cancel.mp3

5.45 KB
Binary file not shown.

assets/audio/click_slip.mp3

2.25 KB
Binary file not shown.

assets/audio/select.mp3

3.47 KB
Binary file not shown.

assets/audio/swoosh_fast.mp3

3.18 KB
Binary file not shown.

assets/audio/swoosh_short.mp3

3.97 KB
Binary file not shown.

assets/bitmap_fonts/bebas_bold.png

9.39 KB
Loading

assets/bitmap_fonts/bebas_bold.xml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version='1.0'?>
2+
<font>
3+
<info aa='1' size='28' smooth='1' stretchH='100' bold='0' padding='0,0,0,0' spacing='0,0' charset='' italic='0' unicode='0' face='Bebas Neue'/>
4+
<common scaleW='128' packed='0' pages='1' lineHeight='28' scaleH='128' base='21'/>
5+
<pages>
6+
<page id='0' file='bebas_bold.png'/>
7+
</pages>
8+
<chars count='31'>
9+
<char xadvance='4' x='16' chnl='0' yoffset='22' y='47' xoffset='0' id='32' page='0' height='0' width='0'/>
10+
<char xadvance='14' x='105' chnl='0' yoffset='9' y='24' xoffset='1' id='45' page='0' height='6' width='8'/>
11+
<char xadvance='6' x='114' chnl='0' yoffset='18' y='24' xoffset='2' id='46' page='0' height='6' width='6'/>
12+
<char xadvance='12' x='35' chnl='0' yoffset='2' y='1' xoffset='1' id='65' page='0' height='22' width='14'/>
13+
<char xadvance='12' x='85' chnl='0' yoffset='2' y='24' xoffset='2' id='66' page='0' height='22' width='12'/>
14+
<char xadvance='11' x='33' chnl='0' yoffset='0' y='24' xoffset='1' id='67' page='0' height='24' width='12'/>
15+
<char xadvance='12' x='72' chnl='0' yoffset='2' y='24' xoffset='2' id='68' page='0' height='22' width='12'/>
16+
<char xadvance='11' x='59' chnl='0' yoffset='2' y='24' xoffset='2' id='69' page='0' height='22' width='12'/>
17+
<char xadvance='10' x='46' chnl='0' yoffset='2' y='24' xoffset='2' id='70' page='0' height='22' width='12'/>
18+
<char xadvance='11' x='20' chnl='0' yoffset='0' y='99' xoffset='1' id='71' page='0' height='24' width='12'/>
19+
<char xadvance='12' x='33' chnl='0' yoffset='2' y='95' xoffset='2' id='72' page='0' height='22' width='12'/>
20+
<char xadvance='6' x='98' chnl='0' yoffset='2' y='24' xoffset='2' id='73' page='0' height='22' width='6'/>
21+
<char xadvance='8' x='115' chnl='0' yoffset='2' y='1' xoffset='1' id='74' page='0' height='22' width='8'/>
22+
<char xadvance='12' x='20' chnl='0' yoffset='2' y='1' xoffset='2' id='75' page='0' height='22' width='14'/>
23+
<char xadvance='10' x='33' chnl='0' yoffset='2' y='72' xoffset='2' id='76' page='0' height='22' width='12'/>
24+
<char xadvance='16' x='1' chnl='0' yoffset='2' y='24' xoffset='2' id='77' page='0' height='22' width='16'/>
25+
<char xadvance='12' x='33' chnl='0' yoffset='2' y='49' xoffset='2' id='78' page='0' height='22' width='12'/>
26+
<char xadvance='12' x='20' chnl='0' yoffset='0' y='74' xoffset='1' id='79' page='0' height='24' width='12'/>
27+
<char xadvance='11' x='102' chnl='0' yoffset='2' y='1' xoffset='2' id='80' page='0' height='22' width='12'/>
28+
<char xadvance='12' x='20' chnl='0' yoffset='1' y='49' xoffset='1' id='81' page='0' height='24' width='12'/>
29+
<char xadvance='12' x='89' chnl='0' yoffset='2' y='1' xoffset='2' id='82' page='0' height='22' width='12'/>
30+
<char xadvance='11' x='20' chnl='0' yoffset='0' y='24' xoffset='1' id='83' page='0' height='24' width='12'/>
31+
<char xadvance='10' x='76' chnl='0' yoffset='2' y='1' xoffset='1' id='84' page='0' height='22' width='12'/>
32+
<char xadvance='12' x='63' chnl='0' yoffset='2' y='1' xoffset='1' id='85' page='0' height='22' width='12'/>
33+
<char xadvance='12' x='1' chnl='0' yoffset='2' y='93' xoffset='1' id='86' page='0' height='22' width='14'/>
34+
<char xadvance='16' x='1' chnl='0' yoffset='2' y='1' xoffset='1' id='87' page='0' height='22' width='18'/>
35+
<char xadvance='13' x='1' chnl='0' yoffset='2' y='70' xoffset='1' id='88' page='0' height='22' width='14'/>
36+
<char xadvance='12' x='1' chnl='0' yoffset='2' y='47' xoffset='1' id='89' page='0' height='22' width='14'/>
37+
<char xadvance='11' x='50' chnl='0' yoffset='2' y='1' xoffset='1' id='90' page='0' height='22' width='12'/>
38+
<char xadvance='6' x='33' chnl='0' yoffset='2' y='118' xoffset='2' id='39' page='0' height='8' width='6'/>
39+
<char xadvance='14' x='1' chnl='0' yoffset='18' y='116' xoffset='2' id='8230' page='0' height='6' width='14'/>
40+
</chars>
41+
<kernings count="0">
42+
</kernings>
43+
</font>

assets/bitmap_fonts/bebas_bold_2x.png

18.4 KB
Loading

assets/bitmap_fonts/bebas_bold_2x.xml

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<?xml version='1.0'?>
2+
<font>
3+
<info aa='1' size='56' smooth='1' stretchH='100' bold='0' padding='0,0,0,0' spacing='0,0' charset='' italic='0' unicode='0' face='Bebas Neue'/>
4+
<common scaleW='256' packed='0' pages='1' lineHeight='57' scaleH='256' base='43'/>
5+
<pages>
6+
<page id='0' file='bebas_bold_2x.png'/>
7+
</pages>
8+
<chars count='31'>
9+
<char xadvance='9' x='32' chnl='0' yoffset='43' y='46' xoffset='0' id='32' page='0' height='0' width='0'/>
10+
<char xadvance='22' x='2' chnl='0' yoffset='20' y='236' xoffset='2' id='45' page='0' height='8' width='14'/>
11+
<char xadvance='11' x='26' chnl='0' yoffset='37' y='150' xoffset='3' id='46' page='0' height='8' width='8'/>
12+
<char xadvance='23' x='88' chnl='0' yoffset='3' y='2' xoffset='1' id='65' page='0' height='42' width='24'/>
13+
<char xadvance='23' x='60' chnl='0' yoffset='3' y='178' xoffset='3' id='66' page='0' height='42' width='22'/>
14+
<char xadvance='22' x='36' chnl='0' yoffset='1' y='184' xoffset='2' id='67' page='0' height='44' width='22'/>
15+
<char xadvance='23' x='60' chnl='0' yoffset='3' y='134' xoffset='3' id='68' page='0' height='42' width='22'/>
16+
<char xadvance='21' x='128' chnl='0' yoffset='3' y='46' xoffset='3' id='69' page='0' height='42' width='20'/>
17+
<char xadvance='20' x='106' chnl='0' yoffset='3' y='46' xoffset='3' id='70' page='0' height='42' width='20'/>
18+
<char xadvance='22' x='36' chnl='0' yoffset='1' y='138' xoffset='2' id='71' page='0' height='44' width='22'/>
19+
<char xadvance='24' x='60' chnl='0' yoffset='3' y='90' xoffset='3' id='72' page='0' height='42' width='22'/>
20+
<char xadvance='11' x='150' chnl='0' yoffset='3' y='46' xoffset='3' id='73' page='0' height='42' width='10'/>
21+
<char xadvance='15' x='234' chnl='0' yoffset='3' y='2' xoffset='1' id='74' page='0' height='42' width='14'/>
22+
<char xadvance='24' x='62' chnl='0' yoffset='3' y='2' xoffset='3' id='75' page='0' height='42' width='24'/>
23+
<char xadvance='19' x='84' chnl='0' yoffset='3' y='46' xoffset='3' id='76' page='0' height='42' width='20'/>
24+
<char xadvance='31' x='2' chnl='0' yoffset='3' y='46' xoffset='3' id='77' page='0' height='42' width='28'/>
25+
<char xadvance='24' x='60' chnl='0' yoffset='3' y='46' xoffset='3' id='78' page='0' height='42' width='22'/>
26+
<char xadvance='23' x='36' chnl='0' yoffset='1' y='92' xoffset='2' id='79' page='0' height='44' width='22'/>
27+
<char xadvance='22' x='210' chnl='0' yoffset='3' y='2' xoffset='3' id='80' page='0' height='42' width='22'/>
28+
<char xadvance='23' x='2' chnl='0' yoffset='1' y='134' xoffset='2' id='81' page='0' height='46' width='22'/>
29+
<char xadvance='23' x='186' chnl='0' yoffset='3' y='2' xoffset='3' id='82' page='0' height='42' width='22'/>
30+
<char xadvance='21' x='36' chnl='0' yoffset='1' y='46' xoffset='2' id='83' page='0' height='44' width='22'/>
31+
<char xadvance='20' x='162' chnl='0' yoffset='3' y='2' xoffset='1' id='84' page='0' height='42' width='22'/>
32+
<char xadvance='23' x='138' chnl='0' yoffset='3' y='2' xoffset='2' id='85' page='0' height='42' width='22'/>
33+
<char xadvance='23' x='36' chnl='0' yoffset='3' y='2' xoffset='1' id='86' page='0' height='42' width='24'/>
34+
<char xadvance='32' x='2' chnl='0' yoffset='3' y='2' xoffset='1' id='87' page='0' height='42' width='32'/>
35+
<char xadvance='25' x='2' chnl='0' yoffset='3' y='90' xoffset='1' id='88' page='0' height='42' width='26'/>
36+
<char xadvance='23' x='2' chnl='0' yoffset='3' y='182' xoffset='1' id='89' page='0' height='42' width='24'/>
37+
<char xadvance='21' x='114' chnl='0' yoffset='3' y='2' xoffset='2' id='90' page='0' height='42' width='22'/>
38+
<char xadvance='11' x='26' chnl='0' yoffset='3' y='134' xoffset='3' id='39' page='0' height='14' width='8'/>
39+
<char xadvance='27' x='2' chnl='0' yoffset='37' y='226' xoffset='3' id='8230' page='0' height='8' width='26'/>
40+
</chars>
41+
<kernings count="16">
42+
<kerning first="89" second="46" amount="-1"/>
43+
<kerning first="46" second="84" amount="-1"/>
44+
<kerning first="46" second="86" amount="-1"/>
45+
<kerning first="46" second="89" amount="-1"/>
46+
<kerning first="80" second="46" amount="-1"/>
47+
<kerning first="89" second="8230" amount="-1"/>
48+
<kerning first="86" second="8230" amount="-1"/>
49+
<kerning first="84" second="46" amount="-1"/>
50+
<kerning first="84" second="8230" amount="-1"/>
51+
<kerning first="80" second="8230" amount="-1"/>
52+
<kerning first="8230" second="84" amount="-1"/>
53+
<kerning first="86" second="46" amount="-1"/>
54+
<kerning first="8230" second="86" amount="-1"/>
55+
<kerning first="8230" second="89" amount="-1"/>
56+
<kerning first="70" second="8230" amount="-1"/>
57+
<kerning first="70" second="46" amount="-1"/>
58+
</kernings>
59+
</font>

0 commit comments

Comments
 (0)