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

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

101. VSCODE高效再+1,自动刷新 [ 72%]

... { console.log(data); }); process.stderr.on("data", (data) => { console.error(data); }); process.on("exit", (code, signal) => { console.log("success"); // console.log(code, signal); // 编译结束,触发reload,浏览器会自动刷新 gulp.src(entry).pipe(connect.reload()); }) } gulp.task...

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

102. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 72%]

...为什么? 已上传 Demo 附件 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 请问在layaIDE里,怎么调用微信小程序API 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 ...

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

103. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 72%]

...Loading, null, false)); // 侦听加载失败     Laya.loader.on(Event.ERROR, this, onError);     this.moveover =true;     function onAssetLoaded(texture)     {         console.log("加载结束");         pic="res/castlebeyond.jpg";         this.bgimg = new L...

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

104. styles.xml报错 [ 72%]

...abel=label@@!@@x=-171@@!@@y=431@@!@@stateNum=1"> <body> <parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"> <h3>This page contains the following errors: </h3> <div style=...

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

105. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 72%]

...Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); this.ske...

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

106. 用Loader加载完atlas,然后使用animation播放问题 [ 71%]

...mation播放问题 this._load = new Laya.Loader() this._load.on(Laya.Event.ERROR, this, this.onError); this._load.on(Laya.Event.COMPLETE, this, this.loadComplete); this._load.load(this._data.url, Laya.Loader.ATLAS, true); 加载完成后 this._ani = new Animation(); this._ani.loadImages(这里传入...

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

107. Uncaught TypeError: Cannot read property 'XXX' of undefined [ 71%]

Uncaught TypeError: Cannot read property 'XXX' of undefined private var spe:Sprite; private function showApe():void {             spe = new Sprite();             spe.mouseEnabled = true;             spe.x = 100;             spe.y = 100;             spe.w...

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

108. 播放骨骼动画 [ 71%]

...Laya.Event.COMPLETE, this, this.parseComplete); this.factory.on(Laya.Event.ERROR, this, this.onError); this.factory.loadAni("sp/aa.sk"); this.avatar = this.factory.buildArmature(0); this.avatar.play(0,true); 2017-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

109. 怎么使用火狐浏览器调试? [ 71%]

...Type' does not exist on type 'Node'. 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target iphone自带浏览器页面怎么锁定 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 问题状态 最新活动: 2020-01-03 17:19 ...

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

110. MovieClip加载错误抛什么事件? [ 71%]

...aya.stage.bgColor = "#000000"; var s:MovieClip = new MovieClip; s.on(Event.ERROR,this,ddddd); s.load("D:/thisisnothing.swf"); } private function ddddd(e:* = null){ trace("dddd"); } } 附件 : --> 2017-01-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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