浏览代码

Maze init

Dofensmirtsz 9 年之前
父节点
当前提交
638c507276
共有 2 个文件被更改,包括 19 次插入7 次删除
  1. 19 7
      worlds/maze.json
  2. 二进制
      worlds/maze.png

+ 19 - 7
worlds/maze.json

@@ -1,11 +1,23 @@
 {
-   "world": {
+  "world": {
     "heightmap": "worlds/maze.png",
-    "texture": "worlds/mazeTexture.png",
+    //"texture": "worlds/mazeTexture.png",
     "scale": 1,
-  "player": {
-    "startposition": [ 200, 40, 200 ]
+    "object-templates": [
+      {
+        "color": 100,
+        "file": "models/boom/Boom.obj"
+      },
+      {
+        "color": 200,
+        "file": "models/Teleporter/Teleporter.obj"
+      }
+    ]
   },
-  "objects": [],
-  "enemies": []
-}
+    "player": {
+      "startposition": [ 200, 40, 200 ]
+    },
+    "objects": [ ],
+    "enemies": [ ]
+}
+

二进制
worlds/maze.png