Kziwws há 3 dias atrás
pai
commit
384e01fc50

+ 1 - 1
assets/scripts/data/Constants.ts

@@ -2,7 +2,7 @@ import { Enemy } from "../game/Enemy";
 
 const Constants = {
     //是否是测试包
-    isDebug: false,
+    isDebug: true,
     //游戏名字
     gameName: "GunfightShoot",
 

+ 4 - 1
assets/scripts/game/GMap.ts

@@ -193,7 +193,10 @@ export class GMap extends BaseExp {
             //随机返回一个可用站位点 当所有点位都被占用时,随机返回任意一个
             let isAddRandom: boolean = availablePoints.length <= 0;
             let points: MPos[] = availablePoints.length > 0 ? availablePoints : standPosArr;
-            let pos: Vec3 = Utils.randomArray(points)[0].pos;
+            //随机一个坐标点
+            let p:MPos = Utils.randomArray(points)[0];
+            p.isVacancy = true;
+            let pos: Vec3 = p.pos;
             if(isAddRandom){
                 pos.x += Utils.getRandomFloat(-0.5,0.5);
                 pos.z += Utils.getRandomFloat(-0.5,0.5);

+ 1 - 1
profiles/v2/packages/reference-image.json

@@ -3,6 +3,6 @@
   "config": {
     "images": [],
     "sceneUUID": {},
-    "scene": "10795865-5525-41fc-8bf7-0e8d6983b214"
+    "scene": "99b412e6-33d6-4baf-87f9-25502bc99057"
   }
 }