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

大约有 476 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0043 秒)

401. 手指点击list中的一个Item点击没反应 反复测试 发现 就是 手指稍微动一点就会点不住 手指 肯定没有鼠标精确度高 [ 47%]

...             //TODO vison 2019/5/9             if (Math.abs(this._lastOffset *(this.isVertical ? Laya.stage._canvasTransform.getScaleY():Laya.stage._canvasTransform.getScaleX()))> 20){ 把1改成20 2019-05-09 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...

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

402. iOS平台,WiFi连网正常,4G下经常失败 [ 47%]

...idStr = (yield asyncs.downloadSync(urlpath + 'update/assetsid.txt?rand=' + Math.random() * Date.now(), false, null)); console.log("assetsid old:" + curassets + " new:" + assetsidStr); if (!assetsidStr) { if (curassets && curassets != "") { if (window["onLayaInitError"]) { isDccOk = false; wi...

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

403. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 47%]

...调***/ private function onChange(value:Number):void { trace("进度:" + Math.floor(value * 100) + "%"); } } } ```

来源: Laya2.0_文档 发布时间: 20210715

404. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 47%]

...; var cellZ = this.terrainSprite.depth / this.aStarMap.height; var gridX = Math.floor((x - minX) / cellX); var gridZ = Math.floor((z - minZ) / cellZ); var boundWidth = this.aStarMap.width - 1; var boundHeight = this.aStarMap.height - 1; (gridX > boundWidth) && (gridX = boundWidth); (gridZ...

来源: Laya3.0_文档 发布时间: 20230303

405. Laya ide 1.83 导出apk 加载场景失败 [ 47%]

...ead property 'width' of undefined 05-18 09:55:36.987: I/0(27649): minWidth=Math.min(minWidth,image.width); 05-18 09:55:36.987: I/0(27649):                                    ^ 05-18 09:55:36.987: I/0(27649): TypeError: Cannot read property 'width' of undefined 05-18 09:55:36.987: I...

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

406. 动画-图集动画 [ 47%]

...ge { import laya.display.Animation; import laya.display.Stage; import laya.maths.Rectangle; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Animation_Altas { private const AniConfPath:String = "../../res/fighter/fighter.json"; publi...

来源: Laya2.0_示例 发布时间: 20250311

407. 动画-图集动画 [ 47%]

...ge { import laya.display.Animation; import laya.display.Stage; import laya.maths.Rectangle; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Animation_Altas { private const AniConfPath:String = "../../../../res/fighter/fighter.json";...

来源: Laya_示例 发布时间: 20250311

408. 发布微信小游戏,sprite的graphics.drawPoly安卓平台会引起花屏 [ 47%]

...nts.push(0, h); g.drawPoly(0, 0, points, "#FFFFFF"); this._fguiPro.value = Math.floor(this._index / w * 100); this._index += 8; //移动到这里 if (this._index >= 642) { this._index = 0; } ceshiDemo.zip 2022-11-17 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...

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

409. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...; for(var i=0;i<10000;i++) { this.text=new Laya.Text(); this.text.text=(Math.random()*100).toFixed(0); this.text.color="#CCCCCC"; this.text.x=Math.random()*550; this.text.y=Math.random()*400; textBox.addChild(this.text); } Laya.stage.addChild(textBox); } } 下面是笔者电脑上的运行时截...

来源: Laya3.0_文档 发布时间: 20240910

410. 物体随着鼠标滑动旋转脚本 [ 47%]

...unction () {     var yprElem = this.yawPitchRoll.elements;     if (Math.abs(yprElem[1]) < 1.50) {         Laya.Quaternion.createFromYawPitchRoll(yprElem[0], yprElem[1], yprElem[2], this.tempRotationZ);         this.Obj.transform.localRotation = this.tempRotationZ;     ...

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