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

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

511. 使用多个时间轴动画 demo.ani(0,true,'name')失效 [ 67%]

...失效 //初始化引擎 Laya.init(600, 400); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui/boos.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { // //创建一个Animation实例 // var t...

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

512. Laya.loader加载BUG [ 67%]

...       }else if (type==="atlas"){             if (Laya.stage["support_gzip"])             {                 if (data != null && !data.url && !data._setContext)                 {                     var...

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

513. 如何知道Laya.Tween.to 完成 [ 67%]

...微信小游戏里面如何知道用户否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远true 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么 IDE中自动打包图集后最后在res/atlas中...

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

514. laya.display.Input_API3.0 [ 67%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea html htmlParseOptions is3D italic leading lines mask maxChars maxScrollX maxScrollY maxWid...

来源: Laya3.0_api 发布时间: 20231115

515. Sprite.loadImage();问题 [ 67%]

... this.height = texture.height;                 this.pos((Laya.stage.width - this.width)/2, (Laya.stage.height - this.height)/2);             }         } 2017-10-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

516. ui.TestPUI() 找不到 [ 67%]

ui.TestPUI() 找不到   Laya.init(1334,750); Laya.stage.bgColor = "#ffffff"; Laya.loader.load("./res/atlas/blackMagic.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ var efc =new ui.TestPUI(); Laya.stage.addChild(efc); } //new ui.TestPUI(); 这个东西找不到。我按照官...

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

517. 3d场景下面有张2d的图片,当鼠标焦点不在该网页时,2d图片为啥会闪动 [ 67%]

...           sprite0.cacheAsBitmap = true;             Laya.stage.addChildAt(sprite0,0);                          var sprite1:Sprite = new Sprite();             sprite1.loadImage("creatRoom/background_bk.png");             sprite1.pos(Laya.stage._wi...

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

518. TimeLine.addLabel(label:String, offset:Number):TimeLine 亲测! 方法中第二个参数offset无效 [ 67%]

...prite = new Laya.Sprite(); sp.graphics.drawRect(0,0,50,50,"#ff8822"); Laya.stage.addChild(sp); var delay:number = 5000; var timeLine:Laya.TimeLine = new Laya.TimeLine(); timeLine.addLabel("0",delay).to(sp,{x:550},500,null,0); timeLine.addLabel("1",delay).to(sp,{y:350},500,null,0); timeLine.addLabel(...

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

519. laya.ui.FontClip_API3.0 [ 67%]

...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right ro...

来源: Laya3.0_api 发布时间: 20231115

520. laya.ui.UIGroup_API3.0 [ 67%]

...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeColor labels left mask mo...

来源: Laya3.0_api 发布时间: 20231115