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

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

611. 动画不显示 [ 63%]

...件。我把全部源码贴出来吧   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

612. 如何实现类似AS3下的BitmapData.draw去截取区域图片? [ 63%]

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

613. ByteArray写入ArrayBuffer不成功 [ 63%]

...布VIVO后,加载骨骼动画SK文件不成功,没有任何响应 Laya.Handler为什么注册不成功? 发布不成功,无法生成layaUI.max.all.js文件。 打包突然不成功。RangeError: Invalid string length at encodeURIComponent () at Function.SMD5.str2rstrUTF8 ide和引擎都是2....

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

614. 发现TimeLine的一些问题,像是BUG [ 63%]

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

615. 2.0版本,Particle2D is not a constructor [ 63%]

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

616. 请教Laya.BitmapFont加载位图文字不能显示的问题 [ 63%]

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

617. 回调函数找不到舞台上的对象 [ 63%]

...法有两个,第一个就是this.func.bind(this),第二个就是用new Handler(this,func) 2017-02-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进...

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

618. Laya.BlinnPhongMaterial.RENDERMODE_TRANSPARENT设置透明度不行了? [ 63%]

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

619. bitmapFont.loadFont()加载多个地址导致位图输出重 [ 63%]

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

620. TiledMap地图下显示问题 [ 63%]

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