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

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

501. laya.sprite精灵无缝拼接地图,会出现黑线跟白线,使用laya的2.0.1beta版本 [ 59%]

...加 每张图片都是256*256大小的地图块 this.isShow = true; Laya.loader.load(name,Laya.Handler.create(this,this.drawImg)); }  drawImg():void { var texture:Laya.Texture = Laya.loader.getRes(this.name); this.texture = texture; }  clearImage(): void{ if (this.name != "") { this.isShow = false...

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

502. 进行预加载,每次进入游戏都会重新加载一次 [ 59%]

...ang + "/shz_nav.png"。。。。。。。】 用这个进行预加载 Laya.loader.load(images, null, Laya.Handler.create(this, onImagesProgress, null, false), Laya.Loader.IMAGE); 但是每次进入都会重新慢慢在加载一次 声音也是一样 2017-02-16 添加评论 免费帖 --> 分享 微...

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

503. 进度条随百分比变化怎么写 [ 59%]

...进度条的制作(ActionScript 3.0) 这种进度条怎么实现? Laya.loader.create 进度回调函数执行两次 打包为APP后,Lable的宽高有所变化,请问如何修正? 麻烦帮看一下这种遮罩bar的进度条设了遮罩不起作用 关于环形进度条,进度不能重置问...

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

504. drawTexture时,Matrix对象,a=-1,无法实现水平翻转 [ 59%]

...与内容相关的链接 提交 1 个回复 ssqhu 赞同来自: qihei Laya.loader.load("res/atlas/test0.png", Handler.create(this, function():void    {     var t:Texture = Laya.loader.getRes("res/atlas/test0.png");     ape = new Sprite();     var matrix:Matrix = new Matrix();     ...

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

505. 新人求教!!! [ 59%]

...成功后,通过回调方法绘制图片并添加到舞台      Laya.loader.load([this.monkey1,this.monkey2],Laya.Handler.create(this,this.graphicsImg)); } private graphicsImg():void{    //创建一个实例    this.img = new Laya.Sprite();    //添加到舞台    Laya.stage.addChild(th...

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

506. 加载同一个json文件第一次正常,第二次json文件里面的数据就只有一条了。 [ 59%]

...请: 与内容相关的链接 提交 2 个回复 Yangcy 赞同来自: Laya.loader.load("abc.json", Handler.create(this, onAssetLoadedSound), Handler.create(this, progressHandler), Loader.SOUND);   第一次加载出来: [list=none] [*]0: {column: "0", duration: "0", mode: "点", time: "30...

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

507. 开发数据域报错wx.getFileSystemManager is not a function [ 59%]

...自: //主域if(Laya.Browser.onMiniGame){//加载一个json和图集Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){//加载完成//使用接口将图集透传到子域Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用接口...

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

508. Image加载完成后的图片大小重设问题 [ 59%]

...带的,也不显示 如何获取图片每个像素点的RGB? 请问下loader如何强制加载一个文件,避免浏览器的缓存 合并小图片 问题状态 最新活动: 2016-11-16 16:36 浏览: 2762 关注: 3 人 cnhotdog • 2016-11-16 16:50 太棒了,看来LoadImage本身是不可以...

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

509. 射线检测-射线检测 [ 59%]

...sform.translate(new Laya.Vector3(0, 1, 3)); camera.clearColor = null; Laya.loader.create(["../../res/threeDimen/skinModel/NvWu/NvWu-shenminvwu.lm", "../../res/threeDimen/skinModel/CunMinNan/CunMinNan-cunminnan.lm", "../../res/threeDimen/skinModel/XiaoFeiLong/XiaoFeiLong-xiaofeilong.lm", "../../res/t...

来源: Laya_示例 发布时间: 20251130

510. 在native下 Laya.Browser.window.Blob不存在 [ 59%]

...ch.getCachePath()+"/test.png", png);保存到本地,然后再用laya.net.Loader加载,我刚才试了一下,加载报错,我不知道我这种方法可不可行。 test: function (base64Str, sprite) { var imageData = base64Util.decode(base64Str); var address = conch.getCachePath() + "/test.p...

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