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

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

461. 性能测试-卡通人物2 [ 54%]

...is, gameLoop); })(); function createCharacters() { var char; var charSkin; for (var i = 0; i = 0; i--) { characters[i].update(); } if (Laya.timer.currFrame % 60 === 0) { text.text = Stat.FPS.toString(); } } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Stat = Laya.Sta...

来源: Laya_示例 发布时间: 20251209

462. 用正则的方式检验打成APP会有问题 [ 54%]

...,"i");              if(param!=null){                 for(var i:int=0;i<param.length;i++){                     if(param[i][1]!=""){                         if(pat.test(param[i][1])==false)                            {    ...

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

463. Ignored attempt to cancel a touchmove event with cancelable=false [ 54%]

...解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2020-05-12 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复...

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

464. [0]Timer的偶发性Bug [ 54%]

...rget) { this.timers.length = 0; return; } var length = this.timers.length; for (var i = 0; i < length; i++) { var t: TimerLite = this.timers[i]; if (t.target == target) { t.destory(); } } } 2023-11-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被...

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

465. 动态切换帧率会导致黑屏吗 [ 54%]

...目最近改为动态切换帧率后就出现这个报错了  [.Offscreen-For-WebGL-080E3858]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. VM72  2017-09-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

466. 分享:开启增量自动编译 [ 54%]

...编译后,输出面板会看到11:38:21 - Compilation complete. Watching for file changes.//表示增量编译已经成功开启 4、我们一起看下效果(修改脚本后,Ctrl+S保存,即可直接看到编译过后的效果,无需再次编译)   切记:在使用增量编译之前...

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

467. PNG压缩没效果 [ 54%]

...HtmlDivElement添加下划线效果不对 基本效果已经实现,想用for批量绑定事件 问题状态 最新活动: 2018-09-12 10:02 浏览: 1011 关注: 2 人 Laya_Aaron • 2018-09-12 14:18 压缩png 是为了减少空间,但是这种尺寸的图片在内存中占的位置不是400kb 付...

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

468. 关于protobuf读取的问题,js的lists.toArrayBuffer() 该如何读取? [ 54%]

...16(); 那么如果我这样: this.byte.writeInt32(5000); var lists = []; for(var i = 0;i < 5;i++){   var obj= new Object();   obj.uid = 122;   obj.sort = 133;   lists.push(obj); } var buffer = lists.toArrayBuffer(); this.byte.writeArrayBuffer(buffer); this.socket.send(this.byte.buffer) 然...

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

469. Ignored attempt to cancel a touchmove event with cancelable=false [ 54%]

...解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2020-05-12 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复...

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

470. 如何获取HTMLDivElement对象的文本值 [ 54%]

...          var tHTMLElement:HTMLElement;                 for(var i:int = 0,n:int = _html._childs.length;i < n;i++)                 {                     tHTMLElement = _html.getChildAt(i) as HTMLElement;                     if(tHTMLEleme...

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