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

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

71. js发布问题 [ 81%]

js发布问题 在js代码里用for循环创建了很多Image,label等控件,放在panel里。。。在IDE里运行时没有任何问题。。很流畅。。但是发布后,手机浏览器进入游戏,程序走到这一步就会很卡。。不流畅。。请问有什么其它方法来替换...

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

72. 网络和格式-XML [ 80%]

...en(xml) { var rootNode = xml.firstChild ; var nodes = rootNode.childNodes; for (var i = 0; i item aitem bsomethis..."; var xmlValue:string = "item aitem bsomethings..."; this.proessXML(xmlValueContainsError); console.log("\n"); this.proessXML(xmlValue); } // 使用xml private proessXML(source:string...

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

73. 为什么说没有​ playByFrame方法 [ 80%]

...E 微信 Monica - 知识达人 赞同来自: 这个事件监听不能写在for循环中! demo.zip 2017-09-27 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 haiboannacom 相关问题 两个对象new了一个相同的对象,调用第...

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

74. 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target [ 80%]

...*****909 赞同来自: 桌子 感谢大家,重新安装vscode,debugger for chrome 安装4.12.4版本后,一切正常。 2020-07-15 1 0 分享 微博 QZONE 微信 cheng 赞同来自: 临时解决方案:vscode里面的debugger for chrome,从4.12.9回到4.12.8 2020-07-15 0 1 分享 微博 QZO...

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

75. 几个相同UI的对象,调用其中一个对象的方法,总是走进最后一个对象的方法里 [ 80%]

...的UI的对象,组成一个列表: var tableChild = new TableChild();//for循环了10个添加到baijialeHome里 this.baijialeHome.addChild(tableChild); 当有后台发来数据的时候,更新其中一个数据,for循环根据ID找到这个对象,并且调用它的一个方法开始更新...

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

76. 富文本过程中我遇到的问题以及解决方法(超链接换行以及无法接收超链接鼠标事件以及br或者 标签会崩溃报错的问题) [ 80%]

...    return false;             if (words) {                 for (var i = 0, n = words.length; i < n; i++) {                     out.push(words[i]);                 }             }             if (this._children)                 this._children.f...

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

77. 我游戏是2.6.1版本的,要打华为小游戏,然后我用2.11.0beta打开项目可以运行,但是打rpk会报资源文件错误 [ 80%]

...n、minus、intersect方法,使用了Array的push方法,导致在进行for(var i in array)操作时进入遍历报错。 有两个方案可供修改: 方案一:弃用自己扩展的Array.ts内的新增方法或者将方法内部的push方法改为其他不影响length的方法。 方案二...

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

78. 关于Sprite回收 [ 79%]

关于Sprite回收 // 移除item         for(var i = 0; i < this.numChildren; i++) {             console.log(this.numChildren);             var item = this.getChildAt(i);             if(item instanceof Item) {                 item.removeSelf();               ...

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

79. 苹果上架有问题啊 , !!!!!! [ 79%]

...n5201314 赞同来自: 2017年12月8日 上午9:53 发件人 Apple2. 5 Performance: Software Requirements 4. Design: Preamble Guideline 2.5.2 - Performance - Software Requirements Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change you...

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

80. 网络和格式-XML [ 79%]

...ren(xml) { let rootNode = xml.firstChild; let nodes = rootNode.childNodes; for (let i = 0; i item aitem bsomethis..."; var xmlValue:string = "item aitem bsomethings..."; this.proessXML(xmlValueContainsError); console.log("\n"); this.proessXML(xmlValue); } // 使用xml private proessXML(source:string...

来源: Laya2.0_示例 发布时间: 20240930