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

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

171. SCALE_FIXED_WIDTH适配屏幕的问题 [ 70%]

...         Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }         private loadGame(): void {             var resArray = [                 { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS },        ...

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

172. tween [ 70%]

...oop); Laya.scaleTimer.clear(this,this._doEase); 以下是Tween类里面的 create 函数的代码段 BUG就出在 Laya.scaleTimer.once(delay,this,this.firstStart,[target,props,isTo]); if (runNow){ if (delay <=0)this.firstStart(target,props,isTo); else Laya.scaleTimer.once(delay,this,this.firstSta...

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

173. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 70%]

...ne3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox...

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

174. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 70%]

...ne3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox...

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

175. 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 [ 70%]

...         Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }         private loadGame(): void {             var resArray = [                 { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS },        ...

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

176. laya.resource.Texture_API3.0 [ 70%]

...y Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy disposeBitmap event getCachedClip getPixels getTexturePixels hasListener isCreateFromURL load off offAll offAllCaller on once recoverBitmap setTo create createFromTexture destroyUnusedResources...

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

177. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 70%]

...a.Animation(); this.body.loadAtlas(config[this.type].imgBang, Laya.Handler.create(this, this.onLoad)); this.body.width = config[this.type].width this.body.height = config[this.type].height onLoad(){ Tween.to(this.body, { x: (config[this.type].width / 2) + 10, y: (config[this.type].heightp / 2) + 45 ...

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

178. list只能显示一个图片 [ 70%]

...lBarSkin = "comp/hscroll.png"; this.list1.renderHandler = new Laya.Handler.create(this,this.onRenderList); this.list1.selectHandler = new Laya.Handler.create(this,this.onListSelect)设置renderHandler和selectHandler, _proto.onListSelect = function(index){ console.log(index + ' selected'); } _proto....

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

179. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 69%]

...t Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Handler.create(this,function(res:Scene3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); ...

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

180. tween有这个一个bug [ 69%]

...画 Laya.Tween.to(point,{x:point.x,y:point.y,alpha:1,update:Laya.Handler.create(point,function(){ this.visible = true; })},800,Laya.Ease.backOut,null,i*400); timeline在一开始还在正常执行, 当有一半左右的ui元素进入到场景时, timeline循环卡住不动了, 等所有ui动画执...

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