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

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

2661. laya3D 发部为android,只要一创建场景(包括空场景)就有如下报错,并且黑屏 [ 46%]

...E; //添加3D场景 var scene = new Laya.Scene(); //var scene = Laya.Scene.load('res/models/scene1.ls'); this.scene = Laya.stage.addChild(scene); if(!scene) return; var camera = this.scene.addChild(new Laya.Camera(0, 0.01, 1000)); camera.transform.translate(new Laya.Vector3(0, consts.CAMERA_HEI, 0))...

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

2662. 小游戏项目 加载有中文的json文件 报错 [ 46%]

...引擎 Laya.init(600, 400); var url:String = "res/json/Sheet1.json"; Laya.loader.load(url, Handler.create(null, onJsonLoaded,[url]), null, Loader.JSON); } private static function onJsonLoaded(url:String,data:Object):void { var arr:Array = data.Sheet1; Laya.loader.clearRes(url); } 微信开发者工...

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

2663. 这样的panel请问如何实现比较好? [ 46%]

...Laya.Stage.SCALE_FIXED_WIDTH; var resPath = ['res/atlas/comp.atlas']; Laya.loader.load(resPath, new Laya.Handler(this, function () { var textUi = new TextUI(); Laya.stage.addChild(textUi); }), null, Laya.Loader.ATLAS);  } } new GameMain();   Test.zip 2018-08-10 0 1 分享 微博 QZONE 微信 Bert ...

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

2664. 分享一个TS版本的消消乐。 [ 46%]

... 发起人 bobofuns 我是阿布大人。 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:...

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

2665. 引擎能打包成html页面,然后直接用手机webview加载吗? [ 46%]

.../1.0.0/index.html-line0 :Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. 2017-07-07 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 那你需要解决跨域的问题了 2017-07-07...

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

2666. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 45%]

...Enter(){ this.img_sample.on(Laya.Event.CLICK, this, this.onImgClick); Laya.loader.load("res/atlas/comp/skeleton.atlas"); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this...

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

2667. laya animation播放图片集合,切换时会闪烁一下 [ 45%]

...n = new Laya.Animation(); this.ui.addChild(this.animation); this.animation.loadImages(images); this.animation.interval = 70; this.animation.play(0); return  this.animation } 我不知道你是怎么做的。这样是没问题的 2019-03-25 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个...

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

2668. 在native下 Laya.Browser.window.Blob不存在 [ 45%]

...: 与内容相关的链接 提交 4 个回复 daibao520 赞同来自: donloadImageTest: function (ss) { var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE, this, completeHandler); xhr.once(Laya.Event.ERROR, this, errorHandler); xhr.send("http://192.168.10.108:35553/re ... ot%3B, "", "get...

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

2669. 救命啊,遇到苹果爸爸 Guideline 2.5.2 [ 45%]

...you may not be using this functionality currently, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method...

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

2670. Animation 先clear当前的动画, 然后从浏览器缓存 加载下一个动画会闪一下,这个怎么解决? [ 45%]

...抢小虎 • 2018-05-08 10:34 已加载完的资源,从浏览器缓存Load,不是无缝的吗? w1114367261 • 2018-05-08 10:42 你截图下你的问题部分代码我看看! 别抢小虎 • 2018-05-08 10:51 /// 加载的时候是这样写的 this.anim.loadAtlas(source , null, cacheName); ...

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