Skip to content

Commit 6abb244

Browse files
committed
assetLoader
1 parent ca47d54 commit 6abb244

File tree

10 files changed

+237
-160
lines changed

10 files changed

+237
-160
lines changed

assets/assetLoader.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"snowflake1":{
3+
"path":"assets/images/snowflakes/snowflake1.png",
4+
"type":"texture"
5+
},
6+
"snowflake2":{
7+
"path":"assets/images/snowflakes/snowflake2.png",
8+
"type":"texture"
9+
},
10+
"snowflake3":{
11+
"path":"assets/images/snowflakes/snowflake3.png",
12+
"type":"texture"
13+
},
14+
"snowflake4":{
15+
"path":"assets/images/snowflakes/snowflake4.png",
16+
"type":"texture"
17+
},
18+
"snowflake5":{
19+
"path":"assets/images/snowflakes/snowflake5.png",
20+
"type":"texture"
21+
},
22+
"steve":{
23+
"path":"assets/textures/steve.png",
24+
"type":"texture"
25+
},
26+
"ghast":{
27+
"path":"assets/textures/ghast.png",
28+
"type":"texture"
29+
},
30+
"textureMappingJson":{
31+
"path":"assets/textureMapping.json",
32+
"type":"text"
33+
},
34+
"blocks":{
35+
"path":"assets/blocks.json",
36+
"type":"text",
37+
"dynamic":true
38+
},
39+
"textureAtlasX":{
40+
"path":"assets/textures/textureAtlasX.png",
41+
"type":"image"
42+
},
43+
"textureMappingX":{
44+
"path":"assets/textureMappingX.json",
45+
"type":"text"
46+
},
47+
"clouds":{
48+
"path":"assets/models/clouds/clouds.fbx",
49+
"type":"fbx"
50+
},
51+
"ghastF":{
52+
"path":"assets/models/ghast/ghast.fbx",
53+
"type":"fbx"
54+
},
55+
"player":{
56+
"path":"assets/models/player/player.fbx",
57+
"type":"fbx"
58+
}
59+
}

assets/textures/textureAtlas.png

-230 KB
Binary file not shown.

css/main.css renamed to cdn/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ canvas {
3838
background-size: 100px;
3939
background-repeat: repeat;
4040
background-image:
41-
url(../assets/images/dirt.jpg);
41+
url(../../assets/images/dirt.jpg);
4242
box-shadow: inset 0px 0px 400px 110px rgba(0, 0, 0, .7);
4343
}
4444

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)