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

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

671. 百度小游戏 内存不断增大的情况 [ 55%]

...init(600,400); Laya.loader.load([{url:"res/atlas/comp.json",type:"atlas"}],Handler.create(this,this.onLoadUi)); } __proto.onLoadUi=function(){ Laya.timer.loop(100,this,this.onLoaded); } __proto.onLoaded=function(){ if(this.isOpen){ return; } this.isOpen=true; var testView=new TestView(); Laya.stage....

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

672. List 组件列表渲染异常 [ 55%]

...信 风神 赞同来自: 第二项没渲染出来原因是忘记设置Laya.handler 的 once ,不过列表滚动后,依然覆盖数据。 2021-04-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 风神 相关...

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

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

...s.bg_img.loadImage("ui/bg.jpg",0,0,Laya.stage.width,Laya.stage.height,Laya.Handler.create(this,this.onComplete));         Laya.stage.on(Laya.Event.RESIZE,this,this.onResize);     }     onComplete():void     {         this.onResize();     }     onResize():void{         this.bg_i...

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

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

...回复 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();     matrix.a = -1;     matrix.tx = 2*...

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

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

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

676. native 获取Texture上的某个区域的像素点 getPixels中有报错 [ 54%]

...e = new Laya.Texture();         tex.load("res/img/108879.png",Laya.Handler.create(this,function(): void{             tex.getPixels(0,0,1,1);         })); 附件 : --> 2019-06-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

677. layabox打包有问题用cordova打包没问题 [ 54%]

...ace("---------------loadBaseConfAfterGame"); Laya.loader.load( temploaArr, Handler.create(this,loadAllBaseConfFun,[_afterGameConfigArr])/*,progressHandler*/); } private function loadAllBaseConfFun(configURLArr:Array):void { trace("-------------loadAllBaseConfFun------------"); } loadconfig这个...

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

678. discard property,please use transform's property instead [ 54%]

... "res/plane.lh",             "res/LayaMonkey.lh"         ], Laya.Handler.create(this, onComplete));         var _quaternion = new Laya.Quaternion();         Laya.timer.frameLoop(1, null, function () {             Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion...

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

679. 微信小游戏加载ProtoBuf文件和图片加载问题 [ 54%]

..., type: Loader.IMAGE}, //这张图有问题。 ]; Laya.loader.load(loadArr,Handler.create(this, onLoad2)); 目前不知道如何解决。 有些图片没有问题,有些图片不可以,也有可能是这个图的问题,我再排查一下,重点是上个问题,protobuf文件的加载问题...

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

680. UI加载完成后无法获取控件的大小——超详细版问题 [ 54%]

...:import test = ui.test.TestPageUI; import Label = laya.ui.Label; import Handler = laya.utils.Handler; import Loader = laya.net.Loader; import Stage = laya.display.Stage; class TestUI extends ui.test.testwhUI { constructor() { super(); this.mypan.vScrollBarSkin = ""; Laya.stage.on(Laya.Event.RESIZE...

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