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

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

1281. macOS sierra 1.7.9 正式版 无法发布资源 [ 50%]

macOS sierra 1.7.9 正式版 无法发布资源 无法发布资源到res/atlas目录 出现如下错误: /Applications/LayaAirIDEMac_1.7.9.app/Contents/Resources/app/out/vs/layaEditor/libs/TP/atlas-generator: Permission denied at ChildProcess.exithandler (child_process.js:223) at emitTwo (events....

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

1282. 加载不了模型 [ 50%]

...dardMaterial();         material.diffuseTexture = Laya.Texture2D.load("res/freegeek logo 0418 yuanjiao Ss.png");         box.meshRender.material = material;       Laya.loader.create("cj\cj-default001.lm",Laya.Handler.create(this,this.onCreateComplete));       function onCreateComplete(...

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

1283. IDE创建3D示例项目(ActionScript-3D基础(AS3)-快速开始一个LayaAir3D项目) [ 50%]

...ar material:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(null, function(tex:Texture2D):void { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####

来源: Laya2.0_文档 发布时间: 20210714

1284. 如何加载使用从服务器下载的图片 [ 50%]

...ePath方法。 例如:   material.diffuseTexture = Laya.Texture2D.load("res/layabox.png");box.meshRender.material = material;Laya.URL.basePath = "https://XXXX.com";//请把XXXX换成自己的真实网址;//在此之下,再使用load加载资源,都会自动加入URL网址。从网络上动...

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

1285. Laya.load在OPPO小游戏端无法加载带有不安全字符的图片网址 [ 50%]

...dn.bcebos.com/2 ... 3B%3B Laya.loader.load(_url, Laya.Handler.create(this, res => { let a = new Laya.Image(_url); Laya.stage.addChild(a); })) 以下是安卓层面输出日志:09-22 11:08:10.811 27895-28111/? D/jswrapper: JS: [WARN]: [warn]Retry to load: https://lupic.cdn.bcebos.com/2 ... 0.jpg...

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

1286. 在加载swf动画之后在封装的里面报错了 , 用的官网的例子 [ 50%]

...装的里面报错了 , 用的官网的例子 private SWFPath: string = "res/example1.swf";   就只有这里改了   /**     *从字节流的当前字节偏移量位置处读取一个 Int16 值。     *@return Int16 值。     */     __proto.getInt16=function(){         ...

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

1287. layaairts下 如何 让动画显示在地图上面tilemap地图 [ 50%]

...tangle = new Laya.Rectangle(); //创建TiledMap地图 this.tMap.createMap("res/TiledMap/orthogonal-outside.json",viewRect,null); //初始化舞台 Laya.init(Laya.Browser.width,Laya.Browser.height,Laya.WebGL); } } new GameMain(); 报错信息:             (ele=(childs [i]))._style.visib...

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

1288. LayaAir1.8.2打包的js,放到华为快游戏rpk里没有背景音乐和音效 [ 50%]

...的 1599732437用户 • 2021-02-21 02:00 [WARN]: [error]Failed to load: res/sound/xieshibg.mp3 预加载声音文件会提示错误,其他类型文件没有报错

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

1289. replaceSlotSkinName对于spine换肤不成功 [ 50%]

....m_templet.on(Laya.Event.ERROR,this,this.onError); this.m_templet.loadAni("res/spine/goblins/goblins.sk"); } private onError():void { console.log("parse error"); } private parseComplete() : void { let skeleton0 : Laya.Skeleton; skeleton0 = this.m_templet.buildArmature(1); skeleton0.pos(200,700); ske...

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

1290. 播放音效时报错Failed to set the 'buffer' property on 'AudioBufferSourceNode'的问题 [ 50%]

...上去的,有这段代码之后我直接用Laya.SoundManager.playSound("res/sound/bullet.mp3");播放子弹声音的时候会报错一次提示我 "Failed to set the 'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBuffer'.",我把这段代码注释掉之后...

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