大约有 1,584 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
Laya_社区(1113) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(50) Laya3.0_api(11) Laya2.0_api(2)
... //加载图片" 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
...建一个新项目后也生成不了,如下comp目录下有图片,但res目录下生成不出来新图集 2017-09-04 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Lu123456 相关问题 用二的幂次方图集和非二的幂次方...
来源: Laya_社区 发布时间: 20170904
...到了? 在学习粒子教程代码时,有一句是 Laya.loader.load("res/particles/particleNew.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); 其中这个 res/particles/particleNew.part文件是怎么获得的?谢谢 如下图 附件 : --> 2018-03-17 添加评论 免...
来源: Laya_社区 发布时间: 20180317
...小游戏没有重新加载服务器的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
...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_示例 发布时间: 20251209
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
...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_示例 发布时间: 20251209
...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
...t = Laya.SpineTemplet; class SpineBinary { constructor() { this.aniPath = "res/bone/spineboy-pma.skel"; this.index = -1; Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } startFun() { this.temp...
来源: Laya2.0_示例 发布时间: 20251209
... 请教一个关于laya2.5d项目美术规范的问题哈 Laya.Loader.getRes请教 微信小程序canvas如何使用layaAir引擎 请问下loader如何强制加载一个文件,避免浏览器的缓存 Animation 的createFrames 使用已经加载的图集缓存动画失败 我用list.array=Array;...
来源: Laya_社区 发布时间: 20180120