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

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

431. createElement('button') 问题 [ 73%]

...px'; button.style.height = '40px'; button.style.background = "../../../bin/res/atlas/assets.png"; // mapDivx.appendChild(input); mapDivx.appendChild(button); 以上代码 全部信息 都可以显示  button.style.background  无法成功  html 功力不够   不是通过laya 创建 skin 目...

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

432. 1.78beta背景音乐问题 [ 73%]

...换播放,两次以后就切换不过来了Laya.SoundManager.playMusic("res/sound/a.mp3"); Laya.SoundManager.playMusic("res/sound/b.mp3"); 2017-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞...

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

433. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 73%]

...ar layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.70...

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

434. 请问UI之间的场景切换要怎么写 [ 73%]

...super(this); this.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign = function(e){ onWxSign1(); } return sg_si...

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

435. 粒子-粒子演示1 [ 73%]

...= "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp); sp.x ...

来源: Laya_示例 发布时间: 20251209

436. 位图字体加载失败 [ 73%]

...的字体扒下来了,也是提示failed to load   [warn]Retry to load: res/bitmapFont/test.fnt [error]Failed to load: res/bitmapFont/test.fnt     附件 : --> myUi.zip 2017-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

437. (有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are [ 73%]

...equests are Failed to load file:///H:/WeChatQ1Snake/release/layaweb/v1.0.0/res/atlas/images.atlas: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. i.send @ laya.core.min.js:5 laya.core.min.js:6 [warn]Retry to load: H:/WeChatQ1Snake/release/...

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

438. 动画-图集动画 [ 73%]

...种开发语言、LayaAirIDE让项目开发更高效。let aniConfPath = "res/fighter/fighter.atlas"; class Animation_Altas { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL...

来源: Laya2.0_示例 发布时间: 20251209

439. 粒子-粒子演示2 [ 73%]

...= "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/RadiusMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp); sp.x =...

来源: Laya_示例 发布时间: 20251209

440. 粒子-粒子演示3 [ 73%]

...= "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/particleNew.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp); sp.x ...

来源: Laya_示例 发布时间: 20251209