|
|
|
@ -78,7 +78,7 @@ QMUtil = function () { |
|
|
|
//debug 参数 相机坐标/ 镜头方向
|
|
|
|
this.guiOptions = { cameraX: 0, cameraY: 220, cameraZ: 220, targatX: 0, targatY: 0, targatZ: 0 }; //this.button = function() {};
|
|
|
|
|
|
|
|
this.sceneGap = { x: 0, y: 0, z: 0, scale: dir ? 0.15 : 0.055 }; //改变地图位置,大小
|
|
|
|
this.sceneGap = { x: 0, y: 0, z: 0, scale: dir ? 0.15 : 0.06 }; //改变地图位置,大小
|
|
|
|
|
|
|
|
this.selectBuild = 0; |
|
|
|
this.selectFloor = 0; |
|
|
|
@ -4845,7 +4845,7 @@ MainMap_QM.prototype = { |
|
|
|
} |
|
|
|
|
|
|
|
let zo = 2, tz = 2, boxT = 0, boxZ = 0; |
|
|
|
let add = Map_QM.util.options.showStyle ? 80 : 40; |
|
|
|
let add = Map_QM.util.options.showStyle ? 120 : 40; |
|
|
|
Map_QM.util._indexPathFloor++; |
|
|
|
let toFloor = parseInt(Map_QM.forShopArr[Map_QM.util._indexPathFloor].floor); |
|
|
|
Map_QM.util.selectFloor = toFloor; |
|
|
|
@ -4861,6 +4861,7 @@ MainMap_QM.prototype = { |
|
|
|
document.getElementById('moveFloor').style.bottom = zo + "px"; |
|
|
|
document.getElementById('moveFloor').style.width = add + "px"; |
|
|
|
document.getElementById('moveFloor').style.height = add + "px"; |
|
|
|
document.getElementById('moveFloor').style.left = "4px"; |
|
|
|
Map_QM.moveFloorbg.element.style.visibility = "visible"; |
|
|
|
Map_QM.moveFloorbg.element.style.width = (add + 8) + "px"; |
|
|
|
Map_QM.moveFloorbg.element.style.height = (floorArr.length * add) + "px"; |
|
|
|
@ -5341,7 +5342,7 @@ FloorMap_QM.prototype = { |
|
|
|
alphaTest: 0.1 |
|
|
|
}); |
|
|
|
let sprite = new MySprite_QM(spriteMaterial); |
|
|
|
sprite.scale.set(64, 64, 1); |
|
|
|
sprite.scale.set(128, 128, 1); |
|
|
|
sprite.imgUrl = url; |
|
|
|
sprite.center = new THREE.Vector2(0.5, 0); |
|
|
|
sprite.userData = item; |
|
|
|
|