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

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

1161. 红米K20pro 多个手指同时按下就会报这个错 object has in SimpleSingletonList [ 49%]

...性会被覆盖 微信关系链开发,如果在开放域那边使用Laya.loader.load加载就会出错 Tween移动多个坐标 列如沿着正方形边线移动 问题状态 最新活动: 2020-03-28 11:29 浏览: 6852 关注: 6 人 峯 • 2020-02-07 12:50 引擎版本2.3.1 峯 • 2020-02-07 12:5...

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

1162. CPU优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 49%]

...正确获取宽高。 1. **直接调用size设置:** ```javascript Laya.loader.load("res/apes/monkey2.png",Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.png"); var sp=new Laya.Sprite(); sp.graphics.drawTexture(texture,0,0); sp.size(texture.width,texture.height);...

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

1163. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 49%]

... ```javascript //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas", Laya.Handler.create(this, onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```javascript //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 ...

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

1164. ui编辑器编辑了一个面板,面板里有个button, 编辑好以后,正常加载ui 面板,button的图片资源没找到,导致button无法正常显示 [ 48%]

...相关的链接 提交 3 个回复 jiaoxueoo 赞同来自: cuixueying Laya.loader.load(url, completeFun)加载 在completeFun里才创建你那个UI编辑器里编辑的界面 2017-04-02 1 0 分享 微博 QZONE 微信 kongbu0621 赞同来自: 注意调试控制台的输出,   lose skin mj/Button_...

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

1165. Panel使用文档(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 48%]

...est() { //初始化引擎 Laya.init(800,600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,onLoaded)); } private function onLoaded():void { //实例化Panel组件 var panel:Panel = new Panel(); //给panel添加背景色 panel.graphics.drawRect(0,0,100,100,"#ffc...

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

1166. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 48%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(["res/ui/progressBar.png", "res/ui/progressBar$bar.png"], Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { this.progressBar = new ProgressBar("res/ui/progressBar.png"); this.progressB...

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

1167. textinput(type=password)手机打开华为安全键盘后,无法关闭(官网的例子) [ 48%]

..../res/ui/input (3).png", "../../res/ui/input (4).png"];         Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资源。     })();     function onLoadComplete()     {         for (var i = 0; i < skins.length; ++i)         {             v...

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

1168. 模拟器分辨率问题 [ 48%]

...候,会出现stage的宽高变化了:   printScreenInfo("aaa"); Laya.loader.load(resArr, Handler.create(this, this.onResLoaded, [this.mainuiView, winName, zOrder])); printScreenInfo("bbb"); private onResLoaded(parent:Laya.Node, winName:string, zOrder:number):void {     printScreenInfo("ccc");...

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

1169. 内置骨骼动画 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...Start() { console.log("Game start"); //加载内置骨骼动画资源 Laya.loader.load("skeleton/Dragon/Dragon.sk").then((templet: Laya.Templet) => { //创建模式为1,可以启用换装 this.mArmature = templet.buildArmature(0); this.mArmature.x = 300; this.mArmature.y = 350; this.mArmature.s...

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

1170. 设置自动竖屏后 打包APP 安装到手机后显示黑屏 不设置自动竖屏又正常 [ 48%]

...],建议开始页面单独建立文件夹打包)             Laya.loader.load("res/atlas/gameUI.atlas",Handler.create(this,this.gameStart));                                   } 2018-01-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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