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

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

431. Video 官方例子报错 [ 57%]

...      private createVideo():void         {             this.video = new Video(); 附件 : --> LayaVideo.rar 2017-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 请...

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

432. Ios 打包时 laya.core.js 中函数报空 [ 57%]

... laya.2.3.0  打包Ios时无错   打开后报错 null is not an object this._vaoExt.createVertexArrayOES() 10365 附件 : --> 2020-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: ...

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

433. 仿照laya官方demo做了一个视频播放的UI,为啥在微信里不能用? [ 57%]

...位置,对齐的位置和refence重合 Laya.stage.on(Laya.Event.RESIZE, this, fitDOM); let viewIns = this; function goGameWorld() { videoElmt.pause(); Laya.stage.removeChild(reference); Laya.Browser.removeElement(videoElmt); // Laya.Browser.document.body.removeChild(videoElmt); Laya.Browser.remove...

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

434. 程序当中更改适配模式后,没有生效成相对应的适配模式效果是为什么? [ 57%]

... 游戏内容当中,检测横竖屏: Laya.stage.on(Laya.Event.RESIZE, this, this.onResize); /** 更改适配*/ public onResize() { var stageWidth = Laya.Browser.clientWidth; var stageHeight = Laya.Browser.clientHeight; if (stageWidth < stageHeight) { console.log("one", Laya.stage.scaleMod...

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

435. 内嵌模式创建scene,运行时报找不到json文件 [ 57%]

...}; constructor(){ super()} createChildren():void { super.createChildren(); this.createView(HelloUI.uiView); } } REG("ui.HelloUI",HelloUI); } 附件 : --> TestDemo.zip 2019-06-25 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0...

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

436. 导入微信小游戏的时候 [ 57%]

... .lh file root type must be Sprite3D,please use other function to  load  this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file.     at Sprite3D.__proto.onAsynLoaded (http://127.0.0.1:65353/gam...

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

437. 关于分离模式View类的loadUI方法 [ 57%]

...roto.loadUI=function(path){ var uiView=View.uiMap[path]; uiView && this.createView(uiView); } 发现uiMap这个容器永远都是空的,无法调用到createView。请指点。 2018-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

438. 添加fairygui使用fairygui.UIPackage.addPackage ( "res/Bag" )后可以正常跑,发布到微信小游戏出错 [ 57%]

...        //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded));              Laya.loader.load             (                 [                     { url: "res/atlas/comp.atlas" , type: Loader.ATLAS },      ...

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

439. loader伤透了我的脑筋 [ 57%]

...-09 14:56 浏览: 2105 关注: 2 人 IM-许 • 2019-07-06 14:23 你这个 this.next() 是什么

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

440. drawToCanvas无法释放内存 [ 57%]

drawToCanvas无法释放内存 Laya.stage.frameLoop(1, this, ZX);function ZX():void{ var tex:Texture=new Texture(sp.drawToCanvas(sp.width,sp.height,0,0))             sp.graphics.clear()             sp.graphics.destroy()             tex.destroy()         ...

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