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

大约有 1,380 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0057 秒)

1021. laya.ani.swf.MovieClip [ 50%]

...Sprite里面,示例: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawText...

来源: laya_api 发布时间: 20170929

1022. 微信浏览器,input输入完成后,游戏不能还原 [ 50%]

...e.addChild(scene);  var inputText = new Laya.Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - 400; inputText.y = Laya.stage.height * 0.4; // 移动端输入提示符 inputText.prompt = "Type some word...";  // 设置字体样式 inputText.bold = true; inputText.bgColor = "#66666...

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

1023. spine 播放错乱 [ 50%]

... this.templet = new Laya.SpineTemplet(); this.templet.loadAni("spine/10101001.json"); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addC...

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

1024. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 50%]

...is.skeleton); this.skeleton.pos( this.pageWidth / 2, this.pageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); }); } private play(): void { if (++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(th...

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

1025. laya.ui.ViewStack [ 50%]

...Sprite里面,示例: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawText...

来源: laya_api 发布时间: 20170929

1026. laya.ui.LayoutBox [ 50%]

...Sprite里面,示例: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawText...

来源: laya_api 发布时间: 20170929

1027. 物理使用scrollrect错位问题 [ 50%]

...sics.I.worldRoot = this.road; this.road.scrollRect = new Laya.Rectangle(0, 100, this.width, this.height); 2020-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞同来自: 物理辅助线错位问题...

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

1028. laya.map.MapLayer [ 50%]

...Sprite里面,示例: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawText...

来源: laya_api 发布时间: 20170929

1029. 截屏无法实现 [ 50%]

...file);                 bmp.compress(Bitmap.CompressFormat.PNG, 100, os);                 os.flush();                 os.close();             } catch (Exception e) {             }         } else {         }     }   这是android端...

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

1030. 在使用了layaAir编辑器做完页面后导出的文件中layaUI.max.all.js和records文件夹如果过大怎么办 [ 50%]

...个东西layaUI.max.all.js和records文件夹 如果我的项目很大 有100个左右的界面 那么这两个东西的大小岂不是会很大,应该会很影响加载速度吧?应该如何处理,或者避免这种情况呢? 2017-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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