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

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

91. Laya.MovieClip() new的时候崩溃了,在线等,很急!!!! [ 69%]

...但不是必现的这是代码 //swf动画 createSWFAnimoton(strSWF,strImg,state):any{ this.swfAni = new Laya.MovieClip(); this.swfAni.load(strSWF,true,strImg); this.swfAni.x = (Laya.stage.width -1900) / 2; this.swfAni.y = (Laya.stage.height - 1200) / 2; this.swfAni.zOrder = 3; this.swfAni.loop = fa...

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

92. list 添加引发问题,求助! [ 68%]

...数组,数据输出信息没问题。 stuName是JSON对象用户名 signState是JSON对象签到状态 name_txt是list名字文本 sign_btn是list签到按钮 state_txt是list签到文本 var arr:Array = [];//JSON数据录入 for (var i:int = 0; i < studentArr.length; i++) { var ob:Object = s...

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

93. socket无法连接服务器 [ 68%]

...         return NetSocket._instance;         }         private state_: EConnectionState = EConnectionState.eDistconnected;         private initSocket(): void {             this.on(Laya.Event.OPEN, this, this.onConected);             this.on(Laya.Event.ERROR, this, this.on...

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

94. laya.spine.js问题以及spine.core.js问题 [ 68%]

...              spine-core-3.7.js问题: 代理里有语法错误,state  !== status   }, (state, responseText) => { this.errors[path] = `Couldn't load texture atlas ${path}: status ${status}, ${responseText}`; if (error) error(path, `Couldn't load texture atlas ${path}: status ${status...

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

95. laya.ani.AnimationPlayer_API3.0 [ 66%]

...urrentTime destroyed overallDuration paused playDuration playEnd playStart state templet Methods event hasListener off offAll offAllCaller on once play playByFrame stop Constructors constructor new AnimationPlayer(): AnimationPlayer Defined in laya/ani/AnimationPlayer.ts:268 创建一个 AnimationPl...

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

96. Laya构建App后AndroidStudio中用真机调试模式下运行,App打开了,但是不能打开游戏的问题。 [ 66%]

...go/logo.png 06-20 19:10:19.941 5371-5400/com.ReleaseTest.Four E/MALI: gles_state_set_error_internal:56: GLES ctx: 0xdfeb4008, error code:0x501 06-20 19:10:19.987 5371-5400/com.ReleaseTest.Four E/MALI: gles_state_set_error_internal:56: GLES ctx: 0xdfeb4008, error code:0x501 06-20 19:10:20.035 5371-54...

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

97. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 65%]

...cleSystem(owner:ShuriKenParticle3D)ShurikenParticleSystem  _beforeRender(state:RenderState):BooleanShurikenParticleSystem  _getIndexBuffer():IndexBuffer3DShurikenParticleSystem  _getVertexBuffer(index:int = 0):VertexBuffer3DShurikenParticleSystem  _renderRuntime(conchGraphics3D:*, renderElem...

来源: laya_api 发布时间: 20170929

98. 如何把加载好的二进制数据转成Texture? [ 65%]

...(res.texture, image.u, image.v, image.w, image.h, image.x, image.y); } res.state = Res.STATE_OK; }); } var blobType = { type: "application/octet-binary" }; var blobFragment = []; function loadBytes(fragment: ArrayBuffer, onload: any = null): Laya.HTMLImage { var blob; try { blobFragment[0]...

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

99. laya.ani.AnimationPlayer [ 63%]

...r  returnToZeroStopped : Boolean 停止时是否归零AnimationPlayer  state : int[read-only] 获取当前播放状态 AnimationPlayer  templet : AnimationTemplet 获取动画数据模板 AnimationPlayerPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined B...

来源: Laya2.0_api 发布时间: 20190513

100. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 63%]

...素材切片? /** *@private *改变对象的状态。 */ __proto.changeState=function(){ this._stateChanged=false; this.runCallLater(this.changeClips); var index=this._state < this._stateNum ? this._state :this._stateNum-1; this._sources && (this._bitmap.source=this._sources[index]); if...

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