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

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

1571. HTTP以POST发送Byte字节流,服务器无法解析 [ 62%]

...e.log("starConnection"); conn=new HttpRequest(); conn.once(Event.PROGRESS, this, onHttpRequestProgress); conn.once(Event.COMPLETE, this, onHttpRequestComplete); conn.once(Event.ERROR, this, onHttpRequestError); var buffBody=new Byte(); buffBody.endian=Byte.BIG_ENDIAN; buffBody.writeInt32(9); buffBod...

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

1572. laya.utils.Tween [ 62%]

...属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。  duration:int — 花费的时间,单位毫秒。  ease:Function (default = null) — 缓动类型,默认为匀速运动。  complete:Handler (default = null) ...

来源: laya_api 发布时间: 20170929

1573. 用Geolocation获取地理位置信息(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 62%]

...// 尝试获取当前位置 Geolocation.getCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.ac...

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

1574. 3D骨骼动画卡在某一帧不再执行动作 [ 62%]

...layAction(act:string):void {     var animationclip:Laya.AnimationClip = this.animator.getClip(action);     if(animationclip){        this.animator.play(act);    } }   现象描述:角色正在挂机放技能打怪,当挂机时间过长后,角色卡在动作的某一帧上,不再...

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

1575. 循环复制了三次,scence打印出来也只有三个sprite,但是显示了五个 [ 61%]

...ransform.localPositionZ); GameUI.instance.sences.addChild(aa); console.log(this.owner); 2019-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

1576. 3D动画无法播放 [ 61%]

...成后播放站立动画             shared.on(Event.COMPLETE,this,onAniComplete,[ani]);             //播放攻击动画             ani.play(); 在unity里测试正常,导出的时候也生成了 lani文件,和Lm同放在上面的网络地址里,同一个...

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

1577. 华为手机SoundManage.playSound有问题 [ 61%]

... 华为手机 SoundManager.playSound("GameSound/aa/bb.mp3", 1,new Handler(this,soundComplete,[aa,bb])); 没有音效  上面执行完毕后 不会 执行soundComplete private function soundComplete(aa,bb):void { //执行代码 }   2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

1578. 关于图集打包问题及其解决方法 [ 61%]

...playerAnim.loadAtlas("/desktop/atlasSource/playerAtlas",Laya.Handle.create(this,this.onAtlasLoad),"playerAnim"); function onAtlasLoad(){     console.log("图集加载完毕");     Laya.stage.addChild(playerAnim); }   所以我使用json是需要更多的设置吗 2018-06-20 添加评论 免费...

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

1579. Laya3D场景加载问题 [ 61%]

...ctor() { super(); }     onAwake(): void {         Laya.loader.create(this.resource, Laya.Handler.create(this, this.onPreLoadFinish));     }     onPreLoadFinish() {         //初始化3D场景         let test = Laya.Loader.getRes("gate/Conventional/Test.ls")         let scene =...

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

1580. unity导出来的粒子特效 播放效果不对 [ 61%]

...d(Sprite3D.load("part.lh")) as Sprite3D; part.once(Event.HIERARCHY_LOADED, this, function():void{        part.transform.localScale = new Vector3(3, 3, 3);  });   我按照这个调整粒子大小,不起作用啊 2018-07-09 0 6 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: effect.once(L...

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