大约有 1,614 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0049 秒)
Laya_社区(1206) Laya2.0_文档(194) Laya_示例(55) Laya3.0_api(49) Laya2.0_示例(43) Laya3.0_文档(42) Laya2.0_api(13) laya_api(12)
...age.alignV = Stage.ALIGN_MIDDLE; Laya.loader.load("assets/bg.jpg", Handler.create(this, loadCompleteHandler)); } private function loadCompleteHandler():void { var bg:Image = new Image("assets/bg.jpg"); Laya.stage.addChild(bg); }这张图在三星平板上可以完整显示出来,为什么在电脑...
来源: Laya_社区 发布时间: 20171124
...(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("hu.ttf"); if(Browser.window.conch) { Browser.window.conch.setFontFaceFromBuffer("hu",arr); } var text:Tex...
来源: Laya_社区 发布时间: 20161219
...方估计什么意思都不理解 解决方法如下: 调用layaRender.create(obj);这个方法 obj.container 这个的属性意思就是物理引擎的界面渲染到那个界面,如果不传就是默认stage,我之前就是因为没传,所以物理引擎渲染出来的都是添加到stage...
来源: Laya_社区 发布时间: 20180808
... Laya.loader.load("HallAni/star.part", Laya.Handler.create(this, (settings) => { let Particle2D = Laya.Particle2D; // 创建 Particle2D 实例 let partIns = new Particle2D(settin...
来源: Laya_社区 发布时间: 20190808
...aya.Sprite = new Laya.Sprite(); sp3.texture = Laya.Texture.create(tx3,0,0,315,315,134,134,582,582); sp3.pivot(315/2,315/2);//锚点使用实际裁切后的中心反而是对的,这按理是bug吧 // sp3.pos(Laya.stage.width/2,0); Lay...
来源: Laya_社区 发布时间: 20191112
...-13 11:38 好的,谢谢 Nevermore • 2020-08-24 18:47 TypeError: Cannot create property '$_GID' on string '<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>访问...
来源: Laya_社区 发布时间: 20200810
...g our investigation, we will not review any apps you submit. Please do not create a new developer account or make any app transfers while waiting for the investigation to be completed. Once we have completed our investigation, we will notify you via Resolution Center. Due to the nature of the invest...
来源: Laya_社区 发布时间: 20191108
... { Laya.loader.load(picAy[i],Handler.create(this, onAssetLoaded)) } } private function onAssetLoaded(texture:Texture):void { var ape:Sprite = new Sprite; ape.x...
来源: Laya_社区 发布时间: 20161023
...调异常! Tween.to(this.floatTxt, {y:-30}, 600, Ease.expoOut, Handler.create(this,onFloatComplete)); protected function onFloatComplete(callBack:Function):void { this.removeSelf(); } 我用这个缓动来做飘字效果,完成回调的时候,把飘字对象在场景上移除,结果执行...
来源: Laya_社区 发布时间: 20170426
...效后就置为true Laya.loader.load('../bin/testflame.part', Laya.Handler.create(this, (setting) => { let frame = new Laya.Particle2D(setting); let key = keyString; let frameX; let frameY; let play = true; let frameScale; let frameRotation; //问题在下面://如果首次传入E/Q,尾焰正...
来源: Laya_社区 发布时间: 20190723