• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)

491. spine动画真机错位 [ 78%]

...染,可以在初始化时调用Laya.init(1000,800,laya.webgl.WebGL);--><script type="text/javascript" src="libs/laya.webgl.js"></script> 赵飞 • 2019-01-09 11:22 问一下,在微信小游戏里是好的,打成APP包却错位了是要怎么改?

来源: Laya_社区 发布时间: 20180823

492. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 78%]

... 200; div.style.color = "#000000"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl,'<img src="res/ChatFace/face'+i+'.png" style="width:28px;height:28px;"></img>'); } div.pos(30,5); div.innerHTML = txt; div.width = div.contextWidth; if(div.contextWidth ...

来源: Laya_社区 发布时间: 20170911

493. tween对Text的缩放,为何会抖动呢? [ 78%]

..."#ff0000";     txt.fontSize = 30;     txt.pos(Laya.stage.width >> 1, Laya.stage.height >> 1);     Laya.stage.addChild(txt);          Laya.Tween.to(txt, { scaleX: 2, scaleY: 2 }, 5000);   5秒钟把文本放大2倍,感觉是 fontSize在不平滑的增...

来源: Laya_社区 发布时间: 20200410

494. 角色碰撞器添加复合型碰撞形状,报错Qt[a[((a[(t >> 2)] + 8) >> 2)]] is not a function [ 78%]

角色碰撞器添加复合型碰撞形状,报错Qt[a[((a[(t >> 2)] + 8) >> 2)]] is not a function        <<<<<<<<报错: //飞机 let plane = scene.getChildByName("plane") as Laya.MeshSprite3D; let character: Laya.CharacterController = plane.addComponent...

来源: Laya_社区 发布时间: 20210101

495. Laya.Geolocation.enableHighAccuracy = true; 报错 [ 78%]

...没有添加 <script type="text/javascript" src="libs/laya.device.js"></script> 2018-03-06 0 0 分享 微博 QZONE 微信 qian 赞同来自: 最好上传一下项目   2018-03-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无...

来源: Laya_社区 发布时间: 20180305

496. rev-path的nodejs库被修改了,导致版本管理失效 [ 78%]

...odifyFilename = require('modify-filename'); module.exports = (pth, hash) => { if (!(pth && hash)) { throw new Error('`path` and `hash` required'); } return modifyFilename(pth, (filename, ext) => `${filename}-${hash}${ext}`); }; module.exports.revert = (pth, hash) => { if (!(pth &amp...

来源: Laya_社区 发布时间: 20200831

497. laya.utils.Browser [ 78%]

...多个属性值优先级为:window.innerHeight(包含滚动条高度) > document.body.clientHeight(不包含滚动条高度) > document.documentElement.clientHeight(不包含滚动条高度),如果前者为0或为空,则选择后者。 Browser  clientWidth : Number[static] [read-only] ...

来源: laya_api 发布时间: 20170929

498. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 78%]

...olean, param?: any, complete?: any, progress?: any): Promise<Laya.Scene> { if (typeof (complete) === "function") { progress = complete; complete = null; } if (typeof (param) === "function") complete = param; if (progress instanceof Handler) { let h = progress; progress = (value: number) => ...

来源: Laya_社区 发布时间: 20250609

499. 关于横竖屏问题 [ 78%]

...可视区域的width和height,当width<height时为竖屏,当width>height时为横屏 2016-11-08 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 shuiyue654 相关问题 发起问题须知,必看!!!不按提问规则的...

来源: Laya_社区 发布时间: 20161108

500. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 78%]

...ex); _colorSpr.cacheAs = "bitmap"; _colorSpr.pos((1024 - _colorTex.width) >> 1, (768 - _colorTex.height) >> 1); _colorSpr.size(_colorTex.width, _colorTex.height); Laya.stage.addChild(_colorSpr); _initPixelCount = getPixel(_colorTex); addEvent(); } private function addEvent():void { _colo...

来源: Laya_社区 发布时间: 20180302