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

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

141. 载入场景报错 [ 56%]

...cene/TestScene.ls") as Laya.Scene; // scene.enableLight = true; Laya.stage.addChild(scene); } } new GameMain();工程文件在附件,运行后报错 Uncaught Error: LoaderManager:unknown file(G:/LayaTest/bin/TestScene/TestScene.ls) extension with: ls.     at LoaderManager.__proto._create (laya.c...

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

142. 技术文档的代码无法编译运行(var efc = new ui.TestPUI();) [ 56%]

...var efc = new laya.ui.TestPUI()     //添加到舞台     //Laya.stage.addChild(efc); HelloWorld.rar 2017-07-24 0 0 分享 微博 QZONE 微信 lant101 赞同来自: ui的要刷新一下吧。 2017-07-24 0 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 没有看到你UI里有这个类呀...

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

143. 提示错误在laya.core.js里 [ 55%]

...ya.Handler.create(this,function(scene){             Laya.stage.addChild(scene);         }));     } } 2020-05-16 添加评论 已悬赏30元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Laya_XS 赞同来自: Ace...

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

144. MovieClip元件是含有帧代码,在提取帧上代码的示例存在BUG。 [ 55%]

...时解决方案:      var dragon:Dragon=new Dragon();      addChild(dragon); 有问题及时反馈!!!!            2015-11-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 mylukelu 相关问题 TypeScr...

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

145. LayaNative 是不是不支持3D啊 [ 55%]

... 01-29 14:08:22.509 12064-12079/? E/LayaBox: JCSceneCmdDispath::_rendercmd_addChild error can't find the node3d id=-1 01-29 14:08:22.509 12064-12079/? E/LayaBox: JCSceneCmdDispath::_rendercmd_addChild error can't find the node3d id=-1 01-29 14:08:22.599 12064-12104/? I/LayaBox: alert=http://stand.al...

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

146. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 55%]

...a.stage.bgColor = "#232628"; this.sp_video = new Laya.Sprite(); Laya.stage.addChild(this.sp_video);//添加到舞台 this.sp_video.pos(10,100); Laya.timer.loop(150, this, showframe); })(); function showframe() { var self = this; var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,com...

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

147. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 55%]

...    this.skeleton = this.templet.buildArmature();         Laya.stage.addChild(this.skeleton);         this.skeleton.pos(laya_width/2,laya_height/2);         this.skeleton.scale(0.5, 0.5);         this.skeleton.on(Event.STOPPED, this, this.play);         this.play();     }   ...

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

148. loading界面实现图片预加载后,创建Sprite执行loadImage出错 [ 55%]

...3)         创建Sprite方式:       sp = new Sprite();       addChild(sp);       sp.loadImage("./assets/ico_back.png");   6、定位到 laya.core.js 1438行发现有这样的描述: if (!tex.loaded){       tex.once(/*laya.events.Event.LOADED*/"loaded",this,this._textureLoaded,...

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

149. 使用as3开发时候添加事件.on会报错。Uncaught TypeError: Cannot read property 'on' of null [ 54%]

...时候它也会自动出现在舞台上,但另外一个view的页面不addchild到舞台上是不会显示的,很费解呀。希望有大佬能帮忙解答下。感谢了。 附件 : --> 2019-02-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

150. Laya下的图片上传示例(完整版) [ 54%]

...<100){ var bgImg = new Laya.Sprite(); bgImg.loadImage(data); Laya.stage.addChild(bgImg) }else{ console.log("图片超标"+width+"--"+height); } }; img.src =data; } }; 2019-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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