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

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

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

542. 材质-BlinnPhong-漫反射贴图 [ 66%]

...aya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera...

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

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

...失效 //初始化引擎 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

544. laya.ui.FontClip_API3.0 [ 66%]

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

545. IDE创建动画调用问题 [ 66%]

...ation = new Laya.Animation(); light.loadAnimation("ani/thunder.ani"); Laya.stage.addChild(light); light.play(0, true); 用light.frames获取结果为null,不行 2017-08-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

546. laya.ui.UIGroup_API3.0 [ 66%]

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

547. 关于 Laya.timer.scale = 0 暂停的问题 [ 66%]

...停了所有的计时器,想请问下有没有什么方法可以让 Laya.stage,timerLoop忽略掉 scale=0 ,或者有没有其他方式可以实现一部分计时器暂停,一部分开启 2018-02-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

548. BUG: Laya3D 1.7.17 SLOW 模式 [ 66%]

BUG: Laya3D 1.7.17 SLOW 模式 Laya.stage.frameRate = Laya.Stage.FRAME_SLOW; 模式下 需要将 var isDoubleLoop=(this._renderCount % 2===0); 改为 var isDoubleLoop=(this._renderCount % 2===1); 使得第一帧时,后续的代码能正常跑下去,否则scene=null 2018-03-18 添加评论 免...

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

549. Sprite.loadImage();问题 [ 66%]

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

550. 请大家帮助优化一下这个抛物线的代码 [ 66%]

...aya.Loader.ATLAS); } private onLoaded():void{ this.ball = new Ball(); Laya.stage.addChild(this.ball); this.ball.x = Laya.stage.width / 2; this.ball.y = Laya.stage.height / 2; Laya.stage.on(Laya.Event.CLICK,this,this.onClick); Laya.timer.frameLoop(1,this,this.onEnterFrame); } private onEnterFrame():v...

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