大约有 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)
...r_111002/tower_111002.lh) 2、加载这个资源 (使用Laya.loader.create,参阅附件工程) 3、使用layadcc (反正也没人回答,附件暂时删除了) 4、发现tower_111002.lh 这个资源显示 found the file in the package 5、发现tower_111002.lh 这个资源...
来源: Laya_社区 发布时间: 20200512
...); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,onLoaded)); } private function onLoaded():void { //实例化Panel组件 var panel:Panel = new Panel(); //给panel添加背景色 panel.graphics.drawRect(0,0,100,100,"#ffcccc"); //给panel设置宽高 panel.size(10...
来源: Laya2.0_文档 发布时间: 20210715
关于as版的Animation.createFrames()不能工作? 请看我的代码,不知道为什么createFrames()生成的缓冲图集就是不能工作: package { import laya.display.Animation; import laya.display.Sprite; import laya.display.Stage; import laya.utils.Handler; import laya.net.Loader; im...
来源: Laya_社区 发布时间: 20161026
...Script); Laya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler.create(this, function (tex) { var radius = new Laya.Vector3(0, 0, 1); var radMatrix = new Laya.Matrix4x4(); var circleCount = 50; var boxMesh = Laya.PrimitiveMesh.createBox(0.02, 0.02, 0.02); var boxMat = new Laya.BlinnPho...
来源: Laya_社区 发布时间: 20191112
...法 this.roleAni.loadAtlas("res/atlas/imgs/role/wp116.atlas", Laya.Handler.create(this, this.onLoaded)); } private onLoaded(): void { //添加到舞台 Laya.stage.addChild(this.roleAni); //创建动画模板dizziness Laya.Animation.createFrames(this.aniUrls("die", 4), "die"); Laya.Animation.createFr...
来源: Laya_社区 发布时间: 20171228
...是这4部操作,不知道是否正确,现在出现 TypeError: Cannot create property 'path' on number '10000' at new r (file:///Users/bingbing/MahjongProject/MahjongLaya/bin/socket.io.js:1:15053) zhishaofei3 • 2017-09-22 23:31 @piaobo80:链接打不开了怎么办 还有链接吗 重发一下...
来源: Laya_社区 发布时间: 20161214
...der.load(["res/ui/progressBar.png", "res/ui/progressBar$bar.png"], Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { this.progressBar = new ProgressBar("res/ui/progressBar.png"); this.progressBar.width = 400; this.progressBar.x = (Laya.stage.width - this.progressBar.widt...
来源: Laya2.0_文档 发布时间: 20210715
...shader compilation failed with skip optimization flags. (ps_5_0) Failed to create D3D shaders. 我蒙了,用Chrome调试还按不出F12的console模式,是用layaair调试出来的。我只知道和shader有关,但找不出错误来,请大神们帮忙看看。SkiingTest2包是LayaIDE2.5.0...
来源: Laya_社区 发布时间: 20200226
..../../res/ui/input (4).png"]; Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资源。 })(); function onLoadComplete() { for (var i = 0; i < skins.length; ++i) { var input = createInput(skin...
来源: Laya_社区 发布时间: 20190814
...变化了: printScreenInfo("aaa"); Laya.loader.load(resArr, Handler.create(this, this.onResLoaded, [this.mainuiView, winName, zOrder])); printScreenInfo("bbb"); private onResLoaded(parent:Laya.Node, winName:string, zOrder:number):void { printScreenInfo("ccc"); this.doOpen(parent, wi...
来源: Laya_社区 发布时间: 20180316