大约有 1,301 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(739) Laya2.0_文档(164) Laya3.0_api(108) Laya2.0_示例(81) Laya_示例(70) Laya2.0_api(58) laya_api(54) Laya3.0_文档(27)
...件。我把全部源码贴出来吧 package { import laya.utils.Handler; import laya.display.Text; import laya.display.Animation; import laya.webgl.WebGL; import laya.media.Sound; import laya.webgl.shapes.Ellipse; import laya.display.Stage; ...
来源: Laya_社区 发布时间: 20170921
...play.Sprite; import laya.resource.Texture; import laya.utils.Handler; public class CupPhone { public function CupPhone() { Laya.init(550,400); Laya.loader.load("walk.png",Handler.create(this,onLoaded));...
来源: Laya_社区 发布时间: 20160506
...布VIVO后,加载骨骼动画SK文件不成功,没有任何响应 Laya.Handler为什么注册不成功? 发布不成功,无法生成layaUI.max.all.js文件。 打包突然不成功。RangeError: Invalid string length at encodeURIComponent () at Function.SMD5.str2rstrUTF8 ide和引擎都是2....
来源: Laya_社区 发布时间: 20170309
...s.Event; import laya.net.Loader; import laya.utils.Ease; import laya.utils.Handler; import laya.utils.Stat; import laya.utils.TimeLine; public class AirDemo { private var sp1:Sprite; private var sp2:Sprite; private var sp3:Sprite; private var timeLine1:TimeLine; private var timeLine2:TimeLine; priva...
来源: Laya_社区 发布时间: 20161207
...uper(); Laya.loader.load([{url:"res/213.part",type:Laya.Loader.JSON}],Laya.Handler.create(this,this.onAssetsLoaded)); } onAssetsLoaded(){ let pg = Laya.loader.getRes("res/213.part"); let pd = new Laya.Particle2D(pg); } }213.part是设计模式下生成 附件 : --> 2018-11-20 添加评论 免费...
来源: Laya_社区 发布时间: 20181120
...BitmapFont(); this.mBitmapFont.loadFont("../laya/assets/txt.fnt", new Laya.Handler(this.onLoaded)); } private onLoaded():void { this.init(); } private init():void { this.mBitmapFont.setSpaceWidth(10); Laya.Text.registerBitmapFont(this.mFontName, this.mBitmapFont); var txt:Laya.Text = new Laya.Text()...
来源: Laya_社区 发布时间: 20171028
...法有两个,第一个就是this.func.bind(this),第二个就是用new Handler(this,func) 2017-02-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进...
来源: Laya_社区 发布时间: 20170207
...nnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); material.albedoColor = new Laya.Vector4(1.0, 1.0, 1.0, 0.5); material.renderMode =...
来源: Laya_社区 发布时间: 20190126
...tmapFont = new BitmapFont(); var url=urls[i]; bitmapFont.loadFont(url, new Handler(this, this.onFontLoaded, [bitmapFont,value])); } private onFontLoaded(bitmapFont: BitmapFont,value1:string):void { bitmapFont.setSpaceWidth(10); Text.registerBitmapFont(this.fontName, bitmapFont); var txt: Text = new ...
来源: Laya_社区 发布时间: 20190705
.../orthogonal-test-movelayer.json", new Rectangle(0, 0, 5000, 5000),new Laya.Handler(this,this.finishLoadMap)); Rectangle设置太小,分开加载了,加载会从下开始加载,导致上面的会盖上去 2018-03-26 0 0 分享 微博 QZONE 微信 qian 赞同来自: 好的 有问题再反...
来源: Laya_社区 发布时间: 20180326