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

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

911. Maximum call stack size exceeded [ 44%]

...in.scene");           }           onEnable() {             console.log('init');         }     }       /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */       class GameConfig {         static init() {             //...

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

912. layaAir TS项目如何引用protoBuf库? [ 44%]

...里把解码的数据控制台打印,看看结果             console.log(message);             // ... do something with message             // If your application uses length-delimited buffers, there is also encodeDelimited and decodeDelimited.         }     } ...

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

913. [含Demo]Laya2.0.1出包微信小游戏Android黑屏 expected Number(uniform4f) [ 44%]

...2.6.6 5. iOS扫码启动,渲染正常 6. Android扫码启动,黑屏,vConsole报错如下: gameThirdScriptError expected Number(uniform4f);at requestAnimationFrame callback function Error: expected Number(uniform4f) expected Number(uniform4f);at requestAnimationFrame callback function Error: ...

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

914. webstorm能编译ts代码到bundle.js 里面吗 [ 44%]

...ks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } console.log("jsroads------prevTasks:" + JSON.stringify(prevTasks)); //使用browserify,转换ts到js,并输出到bin/js目录 gulp.task("compile", "", function () { // 发布时调用编译功能,判断是否点击了...

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

915. 关于laya生成的canvas定位问题导致内部事件不正确 [ 44%]

...; img.on(Laya.Event.MOUSE_DOWN, img, onStartDrag); function onStartDrag(){ console.log(this); clickIndex++; msgDiv.html('图片选中了' + clickIndex + '次'); // img.startDrag(); } // Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; // Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; }); </script> &...

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

916. 加载TiledMap 不显示 [ 44%]

...ge.height), Handler.create(this, this.mapLoaded));     //      console.log(Laya.stage.width, Laya.stage.height);     //  // }));      // }      // private onStageClick (): void     // {     //  var p: Point = new Point(0, 0);     //  this.lay...

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

917. 骨骼动画-多纹理 [ 44%]

...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature =this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature.s...

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

918. swf在layaairts里播放的问题,播放不了,swf在群文件star.swf [ 44%]

...text = new Laya.Context();         } private onloadswf():void { // console.log("ssss"); // let mc:Laya.MovieClip = Laya.loader.getRes("res/swf/star.swf"); // Laya.stage.addChild(mc); }     } } new laya.Loader_MultipleType();   2018-02-03 添加评论 免费帖 --> 分享 微博 QZONE ...

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

919. UI-List [ 43%]

... { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(...

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

920. UI-List [ 43%]

... { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(...

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