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

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

381. layacmd atlas怎么指定输出的数据后缀为json? [ 54%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 laya idc 下能否给单个sprite节点指定动画 跪求登陆注册数据交互的demo或者格式啊!!或者其他功能的数据交互也行啊 关于...

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

382. webGL模式下 graphic画线涂鸦,一直不停画会出现线条异常 [ 54%]

...this.__mouseMove); this.bmp.on(Laya.Event.MOUSE_UP, this, this.__mouseUp); console.log(this.pos0.x); } __mouseMove(e:Event){ this.pos1.x=this.bmp.mouseX this.pos1.y=this.bmp.mouseY; if(Utils3D.getThis.getDistance(this.pos0,this.pos1)>10){ this.bmp.graphics.drawLine(this.pos0.x,this.pos0.y,this.po...

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

383. 加载TiledMap 不显示 [ 54%]

...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

384. 骨骼动画-多纹理 [ 54%]

...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_示例 发布时间: 20251209

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

...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

386. 2.12.2beta1 诸多bug [ 53%]

.../span>"; ele.on(Laya.Event.LINK, this, (event: Laya.Event) => { console.log(event); }); Laya.stage.addChild(ele); zyy • 2021-11-09 13:51 @Laya_Fred: 这段代码 很简单 只是点击 输出 event 如果 把Laya.stage.y 向下调整 就会导致它点击区域错误 zyy • 2021-11-09 ...

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

387. 骨骼动画-藤蔓 [ 53%]

...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....

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

388. 骨骼动画-橡胶人 [ 53%]

...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; //mArmature.scal...

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

389. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 53%]

...n onError(): void{ trace("parse error"); } private function play(): void { console.log("1111111111"); if(++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, true) } } ``` 具体效果大家可以在官网引擎事例中查看。https://layaair2.ldc2.l...

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

390. LayaAir功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 52%]

...LayaNative1.0版本中,要调试项目中的JavaScript代码只能调用console.log或者alert函数。在layaNative2.0版本中正式支持使用Chrome浏览器调试JavaScript代码。可以在Chrome的调试器里对代码进行断点的添加,代码追踪等功能。 **测试App支持扫码...

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