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

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

1081. Laya native 有时候会卡在logo这个页面 [ 53%]

...index.js 里面有处理加载js失败的代码 t.onerror = function () { if (window["onLayaInitError"]) { window["onLayaInitError"]("Load script error"); } };自己重载  onLayaInitError函数进行提示吧 2018-06-13 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你是用layaplayer调...

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

1082. layabox 程序 访问index.html?key='aaa' key参数启动类怎么获取? [ 53%]

...;]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r != null) { return (r[2]); } else { return null; } } 2018-06-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****207 相关问题 请问有没有方法...

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

1083. 发布QQ玩一玩,使用VScode,windows环境下打包问题。 [ 53%]

...       __proto._setClipChanged=function(){             if (!this._clipChanged){                 this._clipChanged=true;                 this.callLater(this.changeClip);             }         } 2018-10-27 0 0 分享 微博 QZONE ...

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

1084. Touch接口缺少stageX,stageY [ 53%]

...         var touches: Array<any> = e.touches;             if (touches && touches.length == 2) {                 this.preRadian = Math.atan2(                     touches[0].stageY - touches[1].stageY,                     touches[0].stageX - touches[...

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

1085. IDE时间轴动画帧数乱序导致的bug [ 53%]

...bug class FrameAnimation extends AnimationBase { constructor() { super(); if (FrameAnimation._sortIndexFun === null) { FrameAnimation._sortIndexFun = MathUtil.sortByKey("index", false, true); } }   FrameAnimation初始化时_sortIndexFun 方法没有被赋值   导致_calculateKeyFrames中 tKeyFra...

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

1086. layaAir里面,如何让一个多个动画重复执行? [ 53%]

...监听一个计时器,对Animation的播放帧数进行判断,譬如 if(ani.index==200) {      延迟执行;  } 2017-04-05 0 0 分享 微博 QZONE 微信 playa 赞同来自: 请问多个ani播放有例子吗 2017-12-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...

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

1087. 对于PC的DXT5格式,texture_ps并没有对alpha进行处理 [ 53%]

...re_ps并没有对alpha进行处理; texture_ps中有以下片段:    if(v_useTex<=0.)color = vec4(1.,1.,1.,1.);    color.a*=v_color.w;    //color.rgb*=v_color.w;    color.rgb*=v_color.rgb;    gl_FragColor=color;   不知道引擎是否支持dxt5? 附件 : --> 2021-12-20 添加评...

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

1088. 继续咨询String转XML的相关问题 [ 53%]

...咨询String转XML的相关问题 var xml:*;             __JS__('if(window.ActiveXObject)')             __JS__('{')             __JS__('xml=new ActiveXObject("Microsoft.XMLDOM");')             __JS__('xml.loadXML(value);')             __JS__('}')     ...

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

1089. 苹果审核被打回 [ 53%]

...ous behavior and can lead to removal from the Apple Developer Program. Specifically, your app contains functionality to load a webview of external content within the app for the purpose of third-party game streaming. If you feel that we have misunderstood how your app functions and that your app is ...

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

1090. 微信小游戏怎么加载本地的配置文件 [ 53%]

...e(this,this.loadConfigCallBack)) } public loadConfigCallBack(str:boolean){ if(str){ var config; config=laya.net.Loader.getRes("res/config/playerCard.json"); PlayerCardManager.instance.initConfig(config); } } 加载到,但是发布为小游戏的话,会报错 2018-01-17 添加评论 免费帖 -->...

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