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

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

1461. 微信小游戏的50M物理缓存管理(TypeScript-小游戏适配文档-微信小游戏) [ 45%]

...ram fileUrl 文件地址(全路径) * @param fileType 文件类型(image、text、json、xml、arraybuffer、sound、atlas、font) * @param callBack 文件加载回调,回调内容[errorCode码(0成功,1失败,2加载进度) * @param encoding 文件编码默认 ascill,非图片文件加载需要...

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

1462. List组件拖动浏览时item会出现重叠的现象 [ 45%]

...} public set dataSource(path: string) { // this._img.skin = path; this._lb.text = path; } } } 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 lzgyy123 赞同来自: 已解决 2018-04-10 0 1 分享 微博...

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

1463. 内存释放问题 [ 45%]

...{ url: resourcesCenter.ResourcesPathStr.PROTO_FILE_PATH, type: Laya.Loader.TEXT } // 协议文件 ]; Laya.loader.load(uiResArray, Laya.Handler.create(this, onCompleted), Laya.Handler.create(this, ProgressPanel.showGameLoadingProgressPanel, null, false)); } /** * 显示一个模块面板 * 需要 资...

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

1464. laya.timer.clear这个定时器的回调函数到底怎么用啊?模拟器上不报错,真机运行会抱着个错 [ 45%]

...动画播放完后的回调时间 2.2.0beta4,微信上动态合批报错. Text类中竟然没有pos函数的api~ IDE通过.ui自动生成的ui代码报错 导微信小程序报错window.focus is not a function 关于shader中opengl函数问题 laya2 发布微信开放域工程,用微信开发者...

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

1465. js进度,进度,js场景进度效果 [ 44%]

... function() { this.Progress.schedule.value = num; this.Progress.percentage.text = (num * 100).toFixed() + '%'; if (num >= 1) { this.run(); } }); }; p.run = function() { Laya.timer.once(300, this, function() {//给一个延迟 1000ms进度场景 alert('进度加载完毕'); this.Progress.visible =...

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

1466. UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 [ 44%]

...e" skin="images/head/nt_n.png" height="150" editorInfo="compId=6"/> <TextInput y="95" x="255" width="313" var="nickName" valign="middle" text="NickName" skin="setting/t2_n.png" sizeGrid="14,14,14,14" prompt="Nick Name" padding="0,0,0,20" maxChars="20" height="58" fontSize="20" color="#e5c39f" ...

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

1467. 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 [ 44%]

分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 因为要用到的贴图并不是固定的,所以有这样的需求,之前问过,不过暂时没有结果:https://ask.layabox.com/question/5622   看不太懂官方的源码,所以用...

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

1468. laya.display.BitmapFont_API3.0 [ 44%]

...ediately dict fontSize letterSpacing lineHeight lock maxWidth name padding texture tint url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event...

来源: Laya3.0_api 发布时间: 20231115

1469. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 44%]

...width - w >> 1; //显示的字符串 var demoString = "LayaBox"; var letterText; for(var i = 0,len = demoString.length;i(动图2) 结合实例代码,然后通过图2的运动效果,我们可以看出,文本"Layabox"在初始位置(*y轴300*)出现之后,瞬间消失,然后从缓动...

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

1470. List滚动条问题 [ 43%]

...ddChild(this._goldButton); this.setGold = function(gold) { this._goldLabel.text = "×" + gold + "金豆"; }; this.setGoldImage = function(img) { this._goldImage.skin = img; this._goldImage.pos((312-this._goldImage.width)/2, (462-this._goldImage.height)/2); }; this.setPrice = function(price) { this._...

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