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

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

531. 骨骼动画-藤蔓 [ 71%]

...f"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } fun...

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

532. native2.0压缩纹理如何使用 [ 70%]

... 0 1 分享 微博 QZONE 微信 xiaoman122 赞同来自: Laya.loader.load("res/1.pkm", Handler.create(null, function():void {     var spr:Sprite = new Sprite();     spr.loadImage("res/1.pkm");     spr.pos(100, 100);     Laya.stage.addChild(spr); }), null, Loader.IMAGE); 附件就是tp转的...

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

533. 新手,用flashbuilder配置好加载图片显示第一步就不行了 [ 70%]

...             //加载图片"             img.loadImage("/res/atlas/game/bg.png",50,50,130,35);    I:\MyDream\Dream\bin-debug\h5\res\atlas\game\bg.png  这个是图片地址 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

534. 打包后生成不了图集 [ 70%]

...建一个新项目后也生成不了,如下comp目录下有图片,但res目录下生成不出来新图集 2017-09-04 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Lu123456 相关问题 用二的幂次方图集和非二的幂次方...

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

535. 请教:粒子的官方教程中的配置文件是从哪里得到了? [ 70%]

...到了? 在学习粒子教程代码时,有一句是 Laya.loader.load("res/particles/particleNew.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON);   其中这个 res/particles/particleNew.part文件是怎么获得的?谢谢   如下图 附件 : --> 2018-03-17 添加评论 免...

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

536. 请问我用网络格式加载成功后,在服务器替换image.atlas和images.png重新打开小游戏没有重新加载服务器的png,只重新加载了atlas [ 70%]

...小游戏没有重新加载服务器的png,只重新加载了atlas var resArray = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader.ATLAS }, { url: "https://piggy.com/res/swf/flash.json", type: Laya...

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

537. 骨骼动画-橡胶人 [ 70%]

...f"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes4/stretchyman.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error")...

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

538. Laya.loader.getRes的声音资源如何用Laya.SoundManager播放? [ 70%]

Laya.loader.getRes的声音资源如何用Laya.SoundManager播放? var soundData = null; Laya.loader.load("res/audio/TheSacredWar.ogg", Laya.Handler.create(Laya.stage, function () { console.log('音乐加载完成>>>-----------------|>'); soundData = Laya.loader.getRes("res/audio/some...

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

539. 输入设备-摇一摇 [ 70%]

...on showShakePic() { var shakePic = new Sprite(); shakePic.loadImage("../../res/inputDevice/shake.png"); Laya.stage.addChild(shakePic); } function showConsoleText() { console = new Text(); Laya.stage.addChild(console); console.y = picH + 10; console.width = Laya.stage.width; console.height = Laya.sta...

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

540. 生成的粒子特效怎么设置colorComponentInter无效? [ 70%]

...letter, width) { UILetterBox.super(this); letter = letter; this.loadImage('res/jiezou/wenzi2.png'); Laya.loader.load("res/parts/qipao.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); } function onAssetsLoaded(settings) { settings.colorComponentInter = true; sp = new Particle2D(settin...

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