From 3392c554a5e76a75a1daf4a9261be0d794043b5d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 09 十二月 2024 16:17:27 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/map/player.js | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/zy-acs-flow/src/map/player.js b/zy-acs-flow/src/map/player.js
index 8aff09e..a828a64 100644
--- a/zy-acs-flow/src/map/player.js
+++ b/zy-acs-flow/src/map/player.js
@@ -1,7 +1,8 @@
import * as PIXI from 'pixi.js';
import * as TWEEDLE from 'tweedle.js';
import * as Tool from './tool';
-import star from '/img/map/star.png'
+import star from '/img/map/star.png';
+import { DEVICE_TYPE } from './constants';
export default class Player {
@@ -152,7 +153,15 @@
this.mapContainer.scale.set(this.scale);
this.mapContainer.children.forEach(child => {
- // child.scale.set(1 / this.scale); // 闃叉鍥炬爣鍙樺皬
+ // child.scale.set(1 / (this.scale * 1)); // 闃叉鍥炬爣鍙樺皬
+
+ // switch (child.data?.type) {
+ // case DEVICE_TYPE.POINT:
+ // child.scale.set(1 / (this.scale * 20));
+ // break
+ // default:
+ // break
+ // }
});
});
}
--
Gitblit v1.9.1