w405651948 4 năm trước cách đây
mục cha
commit
25f5e9e55a
5 tập tin đã thay đổi với 86 bổ sung58 xóa
  1. BIN
      Sample/excel/Car.xlsx
  2. BIN
      Sample/excel/Level.xlsx
  3. BIN
      Sample/excel/Levels.xlsx
  4. 84 30
      Sample/json/Car.json
  5. 2 28
      Sample/json/Levels.json

BIN
Sample/excel/Car.xlsx


BIN
Sample/excel/Level.xlsx


BIN
Sample/excel/Levels.xlsx


+ 84 - 30
Sample/json/Car.json

@@ -1,44 +1,98 @@
 [
     {
         "id": 10101,
-        "name": "老爷车",
-        "speed": 10,
-        "turnSpeed": 10,
-        "dropSpeed": 60,
-        "sprintSpeed": 30,
-        "sprintTime": 2,
-        "sprintCDTime": 3,
-        "width": 2,
-        "height": 2,
+        "name": "超级跑车",
+        "speed": 40,
+        "turnSpeed": 40,
+        "dropSpeed": 40,
+        "sprintSpeed": 80,
+        "sprintTime": 0.5,
+        "sprintCDTime": 1.5,
+        "sprintAnimation": "Sprint",
+        "width": 1,
+        "height": 1,
         "packageName": "cars",
-        "prefab": "car001/Car001"
+        "icon": "icons/101",
+        "prefab": "Car000/Car_101"
     },
     {
         "id": 10102,
-        "name": "老爷车2号",
-        "speed": 10,
-        "turnSpeed": 10,
-        "dropSpeed": 60,
-        "sprintSpeed": 36,
-        "sprintTime": 2,
-        "sprintCDTime": 3,
-        "width": 2,
-        "height": 2,
+        "name": "超级跑车",
+        "speed": 40,
+        "turnSpeed": 40,
+        "dropSpeed": 40,
+        "sprintSpeed": 80,
+        "sprintTime": 0.5,
+        "sprintCDTime": 1.5,
+        "sprintAnimation": "Sprint",
+        "width": 1,
+        "height": 1,
         "packageName": "cars",
-        "prefab": "car001/Car001"
+        "icon": "icons/102",
+        "prefab": "Car000/Car_102"
     },
     {
         "id": 10103,
-        "name": "老爷车3号",
-        "speed": 10,
-        "turnSpeed": 10,
-        "dropSpeed": 60,
-        "sprintSpeed": 42,
-        "sprintTime": 2,
-        "sprintCDTime": 3,
-        "width": 2,
-        "height": 2,
+        "name": "超级跑车",
+        "speed": 40,
+        "turnSpeed": 40,
+        "dropSpeed": 40,
+        "sprintSpeed": 80,
+        "sprintTime": 0.5,
+        "sprintCDTime": 1.5,
+        "sprintAnimation": "Sprint",
+        "width": 1,
+        "height": 1,
         "packageName": "cars",
-        "prefab": "car001/Car001"
+        "icon": "icons/103",
+        "prefab": "Car000/Car_103"
+    },
+    {
+        "id": 10104,
+        "name": "超级跑车",
+        "speed": 40,
+        "turnSpeed": 40,
+        "dropSpeed": 40,
+        "sprintSpeed": 80,
+        "sprintTime": 0.5,
+        "sprintCDTime": 1.5,
+        "sprintAnimation": "Sprint",
+        "width": 1,
+        "height": 1,
+        "packageName": "cars",
+        "icon": "icons/201",
+        "prefab": "Car000/Car_201"
+    },
+    {
+        "id": 10105,
+        "name": "超级跑车",
+        "speed": 40,
+        "turnSpeed": 40,
+        "dropSpeed": 40,
+        "sprintSpeed": 80,
+        "sprintTime": 0.5,
+        "sprintCDTime": 1.5,
+        "sprintAnimation": "Sprint",
+        "width": 1,
+        "height": 1,
+        "packageName": "cars",
+        "icon": "icons/202",
+        "prefab": "Car000/Car_202"
+    },
+    {
+        "id": 10106,
+        "name": "超级跑车",
+        "speed": 40,
+        "turnSpeed": 40,
+        "dropSpeed": 40,
+        "sprintSpeed": 80,
+        "sprintTime": 0.5,
+        "sprintCDTime": 1.5,
+        "sprintAnimation": "Sprint",
+        "width": 1,
+        "height": 1,
+        "packageName": "cars",
+        "icon": "icons/203",
+        "prefab": "Car000/Car_203"
     }
 ]

+ 2 - 28
Sample/json/Levels.json

@@ -4,35 +4,9 @@
         "side": 10,
         "angle": 30,
         "count": 12,
-        "levelLength": 320,
+        "levelLength": 960,
         "startPos": 10,
-        "endPos": 300,
-        "packageName": "polygons",
-        "polygonPrefab": "polygon001/Polygon001",
-        "physicsConfig": "Level001",
-        "background": "background001"
-    },
-    {
-        "id": 2,
-        "side": 10,
-        "angle": 30,
-        "count": 12,
-        "levelLength": 320,
-        "startPos": 10,
-        "endPos": 300,
-        "packageName": "polygons",
-        "polygonPrefab": "polygon001/Polygon001",
-        "physicsConfig": "Level001",
-        "background": "background001"
-    },
-    {
-        "id": 3,
-        "side": 10,
-        "angle": 30,
-        "count": 12,
-        "levelLength": 320,
-        "startPos": 10,
-        "endPos": 300,
+        "endPos": 950,
         "packageName": "polygons",
         "polygonPrefab": "polygon001/Polygon001",
         "physicsConfig": "Level001",