Dofensmirtsz 9 lat temu
rodzic
commit
9fccd71521

+ 2 - 0
CrystalPoint.vcxproj

@@ -184,6 +184,8 @@
   <ItemGroup>
     <None Include="worlds\fire.json" />
     <None Include="worlds\ice.json" />
+    <None Include="worlds\maze.json" />
+    <None Include="worlds\small.json" />
     <None Include="worlds\worlds.json" />
   </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

+ 6 - 0
CrystalPoint.vcxproj.filters

@@ -118,5 +118,11 @@
     <None Include="worlds\ice.json">
       <Filter>Source Files\json</Filter>
     </None>
+    <None Include="worlds\small.json">
+      <Filter>Source Files\json</Filter>
+    </None>
+    <None Include="worlds\maze.json">
+      <Filter>Source Files\json</Filter>
+    </None>
   </ItemGroup>
 </Project>

+ 37 - 0
worlds/maze.json

@@ -0,0 +1,37 @@
+{
+   "world": {
+    "heightmap": "worlds/maze.png",
+    "texture": "worlds/mazeTexture.png",
+    "scale": 1,
+	    "object-templates": [
+			  {
+				  "color": 25,
+				  "file": "models/boom/Boom.obj"
+			  },
+			  {
+				  "color": 23,
+				  "file": "models/boom/Boom.obj"
+			  }
+	    ]
+   },
+  "player": {
+    "startposition": [ 200, 40, 200 ]
+  },
+  "objects": [
+    {
+      "file": "models/boom/Boom.obj",
+      "pos": [ 4, 0, -4 ]
+    },
+	{
+      "file": "models/boom/Boom.obj",
+      "pos": [ -4, 0, -4 ]
+    }
+  ],
+  "enemies": [
+    {
+      "file": "models/squid/Blooper.obj",
+      "pos": [ 1, 2, -10 ],
+      "scale": 0.01
+    }
+  ]
+}

BIN
worlds/maze.png


BIN
worlds/mazeTexture.png


+ 2 - 1
worlds/worlds.json

@@ -2,6 +2,7 @@
 	"worlds": [
 			"worlds/small.json",
 			"worlds/ice.json",
-			"worlds/fire.json"
+      "worlds/fire.json",
+      "worlds/maze.json"
 	]
 }