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

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

451. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 48%]

...00631用户 赞同来自:    //加载IDE指定的场景         Laya.loader.load([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){             this.astcconfig = Laya.loader.getRes("minastc.config.json");             for(var key in this.astcconfig...

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

452. 只要引入protobuf就会导致连接网络失败 [ 48%]

...传出问题的附件demo   关键代码   LayaUISample的 function beginLoad(){     ConfigEventDispatcher.getInstance().on(ConfigEventDispatcher.CFG_PARSE_COM, this, parseCfgCom); // 解析游戏配置表数据 ConfigMgr.dataInfoComplete(); }    ConfigMgr.dataInfoComplete(); 里面有许多...

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

453. 1.70beta Dialog增加动画后第二次执行popup不显示弹窗 [ 47%]

...; assets = ["../../res/ui/dialog (1).png", "../../res/ui/close.png"]; Laya.loader.load(assets, Handler.create(this, onSkinLoadComplete)); })(); function onSkinLoadComplete() { var dialog = new Dialog(); var bg = new Image(assets[0]); dialog.addChild(bg); var button = new Button(assets[1]); button.na...

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

454. 地形shader示例渲染失败【在线等】 [ 47%]

...这行呢?   示例中的ts代码,访问资源路径是: Laya.Scene.load("../../res/threeDimen/scene/terrain/terrain.ls") 我把所有的 ../../res 改成了 res   然后启动项目,报错如下: Error: BaseMaterial: unknown shader name.     at CustomTerrainMaterial.__proto.setShaderN...

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

455. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 47%]

...年了至今无解答 let aniEffConfPath = './res/atlas/comp.atlas' Laya.loader.load(aniEffConfPath, Laya.Handler.create(this, this.onLoaded)) onLoaded(){ // Laya.ClassUtils.regClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报...

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

456. 分享:销毁龙骨动画! [ 47%]

... new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.loadAni(mAniPath); } public function destroy():void { mArmature.stop();//停止龙骨动画播放 removeEvent();//移除事件 mArmature.removeSelf();//从显示列表移除龙骨动画本身 mArmature.removeChildren();//从...

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

457. WXOpenDataViewer 微信开放数据域 是不是不能响应鼠标拖动事件呢? [ 47%]

...代码new Laya.View(),然后代码添加list image什么的就可以.... load图集什么的都能加载的 aqualee • 2019-03-06 12:08 子域里面不能用图集,用不打包 ,main.ts 里面 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded...

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

458. 分享:技术突破:HTML5裸跑性能已可媲美APP [ 47%]

...复问题请先登录 发起人 cuixueying 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 分享:适配LayaAir版本...

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

459. 3D角色动作播放时长不正确 [ 46%]

...755 好了,解决了。 加载.lm模型要用Laya.MeshSprite3D(Laya.Mesh.load(path)); 动画目前看起来还是正常的。 2017-05-22 1 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 我们看下,晚些回复! 2017-05-18 0 0 分享 微博 QZONE 微信 ebaww 赞同来自: 可以在max...

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

460. 小游戏子域程序加载到图集后,取图集内资源报错。 [ 45%]

... MsgMgr.instance.init(); Laya.timer.once(1000,this,function():void{ beginLoad(); }); private function beginLoad():void { Laya.loader.load("res/images/rank.json", Handler.create(this, onLoaded)); } private function onLoaded():void { trace("加载成功"); var c:Image = new Image("rank/country.png"); ...

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