diff --git a/assets/resources/game/map/map_rpg.prefab b/assets/resources/game/map/map_rpg.prefab index a81cc964..0a70d2a2 100644 --- a/assets/resources/game/map/map_rpg.prefab +++ b/assets/resources/game/map/map_rpg.prefab @@ -454,8 +454,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.7, + "y": 0.7, "z": 1 }, "_mobility": 0, @@ -595,13 +595,13 @@ "_restitution": 0, "_offset": { "__type__": "cc.Vec2", - "x": 9.3, - "y": -386.9 + "x": 310, + "y": -459.8 }, "_size": { "__type__": "cc.Size", - "width": 1177.9, - "height": 835.9 + "width": 3260.8, + "height": 981.7 }, "_id": "" }, @@ -629,8 +629,8 @@ "_restitution": 0, "_offset": { "__type__": "cc.Vec2", - "x": 796.8, - "y": -30.2 + "x": 983.4, + "y": -22.4 }, "_size": { "__type__": "cc.Size", @@ -663,8 +663,8 @@ "_restitution": 0, "_offset": { "__type__": "cc.Vec2", - "x": -720, - "y": -20.1 + "x": -883.7, + "y": -16.2 }, "_size": { "__type__": "cc.Size", diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 314edef1..0fc40e6f 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -763,7 +763,7 @@ "a": 255 }, "_string": "dps", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, "_actualFontSize": 20, "_fontSize": 20, @@ -1479,7 +1479,7 @@ "a": 255 }, "_string": "dps", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, "_actualFontSize": 20, "_fontSize": 20, @@ -2195,7 +2195,7 @@ "a": 255 }, "_string": "dps", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, "_actualFontSize": 20, "_fontSize": 20, @@ -2911,7 +2911,7 @@ "a": 255 }, "_string": "dps", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, "_actualFontSize": 20, "_fontSize": 20, @@ -3627,7 +3627,7 @@ "a": 255 }, "_string": "dps", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, "_actualFontSize": 20, "_fontSize": 20, @@ -4343,7 +4343,7 @@ "a": 255 }, "_string": "dps", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, "_actualFontSize": 20, "_fontSize": 20, diff --git a/assets/script/game/map/view/MapViewComp.ts b/assets/script/game/map/view/MapViewComp.ts index 9b286dbf..51f35001 100644 --- a/assets/script/game/map/view/MapViewComp.ts +++ b/assets/script/game/map/view/MapViewComp.ts @@ -24,7 +24,7 @@ export class MapViewComp extends CCComp { /** 当前地图数据 */ current_map: any; /** 转场碰撞点对象集合 */ - + private game_timer: Timer = new Timer(1); private monster_refresh_rtimer: Timer = new Timer(3); private mapLoaded() { @@ -56,6 +56,9 @@ export class MapViewComp extends CCComp { if (this.monster_refresh_rtimer.update(dt)) { this.monster_refresh() } + if (this.game_timer.update(dt)) { + smc.vm_data.game.g_time += 1; + } // this.shuaxin(dt) this.gold_add(dt) }