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

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

461. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 71%]

...res/spineboy-pma.skel", Loader.SPINE).then((templet: SpineTemplet) => { this.skeleton = new SpineSkeleton(); this.skeleton.templet = templet; this.owner.addChild(this.skeleton); this.skeleton.pos( this.pageWidth / 2, this.pageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya...

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

462. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...代码如下: var div:any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var url:string = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite()...

来源: Laya3.0_文档 发布时间: 20251010

463. tweenline label事件诡异 [ 71%]

tweenline label事件诡异 this.timeLine.addLabel("rotate1",0).to(this.godContaner,{rotation:-5},200,null,0) .addLabel("rotate2",0).to(this.godContaner,{rotation:0},200,null,0); this.timeLine.play(0,true); this.timeLine.on("label", this, function(label){ console.log(label) }); 两个问题 1 为...

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

464. 求教 颜色滤镜和混合模式使用 [ 71%]

...没有办法实现, 下面是之前flash代码   bitmapData.applyFilter(this._mask, this._mask.rect, zeroPoint, this._colorFilter);   sprite.copyPixels(this._base, this._base.rect, zeroPoint);   sprite.draw(bitmapData, null, null, this._maskBlendMode); 2016-07-30 添加评论 免费帖 --> 分...

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

465. 关于3d场景上Button点击事件顺序问题 [ 71%]

...2,在场景中加入了鼠标点击事件  Laya.stage.on(Event.MOUSE_DOWN,this,sceneClick);   private function sceneClick():void {     trace("scene clicked"); }   3,在button上添加按钮功能 button.on(Event.CLICK,this,onBtn); private function onBtn(e:Event):void {     e.stopPropagation(...

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

466. web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined [ 71%]

...邀请: 与内容相关的链接 提交 2 个回复 金风 赞同来自: this.xhr.once(Laya.Event.COMPLETE, this, this.CompleteHandler); this.xhr.once(Laya.Event.ERROR, this, this.ErrorHandler); this.xhr.on(Laya.Event.PROGRESS, this, this.ProgressHandler); this.xhr.send(Global.WebHost+this.currentRe...

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

467. Not FoundLayaAirIDE_1.7.10_beta 無法下載 [ 71%]

... The requested URL /download/LayaAirIDE_1.7.10_beta.zip was not found on this server.   The requested URL /download/LayaAirTS_1.7.10_beta.zip was not found on this server.   麻煩提供檔案到外網,好讓其他開發者下載。 2017-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

468. 关闭指定定时器timer [ 71%]

...请问我该怎么写呢? 假设有这两个定时器 Laya.timer.loop(100, this,update); Laya.timer.loop(1000,this,shoot_boss); 我希望关闭第二个定时器,该如何使用clear呢? 谢谢。 2016-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

469. Laya.Handler为什么注册不成功? [ 71%]

Laya.Handler为什么注册不成功? this.scrollView.mouseHandler = Laya.Handler.create(this,this.onScrollMouse) this.scrollView.mouseHandler = new Laya.Handler(this, this.onScrollMouse);我在scrollView中有个mouseHandler的Laya.Handler变量,想直接注册到这个变量上,但是两种...

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

470. H5页面的骨骼动画不能显示完整,兼容性问题? [ 71%]

...整,兼容性问题? // 加载动画 loadAni(): void { var aniPath = this.ANIS[this.fishIndex]; this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.mFactory.loadAni(aniPath); } // 动画解析完成,添加到舞台,并且开始swim parseCom...

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