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

大约有 513 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

341. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 58%]

...e(); // 守护神 this.angel = new Sprite(); // 加载主体的背景 Laya.loader.load("res/island.png", Handler.create(this, function() { // 图片加载 var t = Laya.loader.getRes("res/island.png"); var tBall = Texture.create(t,866,190,548,305); var tTower = Texture.create(t,data.tower[towerLel].x...

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

342. 资源加载提示重复加载 [ 58%]

...资源加载姿势呢??   目前我的资源加载方式是: Laya.loader.load 这个方法里面加载资源,包括图片、音效等资源。   当我使用Laya.SoundManager.playMusic播放音乐或者playSound时播放音效资源时,我传入的是资源路径,会提示 Resources al...

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

343. 透明贴图异常,请教透明贴图的正确使用方法 [ 58%]

...戏字体显示异常 修改stage的scale后,会发生异常情况 Laya.Loader.getRes请教 请教一个关于laya2.5d项目美术规范的问题哈 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? 请教下微信小游戏的内存和数据缓存? 1.7.15 小游...

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

344. 个人笔记:失焦或静音状态下播放背景音乐无效的解决方案 [ 58%]

...uted){ return null; } }; var tSound; if (!Browser.onMiniGame){ tSound=Laya.loader.getRes(url); } if (!soundClass)soundClass=SoundManager._soundClass; if (!tSound){ tSound=new soundClass(); tSound.load(url); if (!Browser.onMiniGame){ Loader.cacheRes(url,tSound); } }; var channel; channel=tSound.play(...

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

345. 请教Config.isAntialias=true会不会对整体性能有影响 [ 58%]

...已可媲美APP 请教下微信小游戏的内存和数据缓存? Laya.Loader.getRes请教 请教一个关于laya2.5d项目美术规范的问题哈 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 大量sprite如何优化性能 请教—...

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

346. 代码里能控制图片的锚点吗? [ 58%]

...ead"+Hero.getHeadID()+".png"; m_herohead = new Image(); var texture = Laya.loader.getRes(heroidstr); m_herohead.graphics.drawTexture(texture); m_herohead.anchorX = 0.5; m_herohead.anchorY = 1; m_herohead.pos(m_heroPosX,m_heroPosY); m_mapbg.addChild(m_herohead);     我在代码里创建图片,...

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

347. 请教sprite的hitArea怎么设置 [ 58%]

...击区域? 请教一个关于laya2.5d项目美术规范的问题哈 Laya.Loader.getRes请教 关于同为object层,层级设置无效的问题 anchor锚点设置不生效 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 Laya3D里的mate...

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

348. 请教大神:苹果的静音按键开启,怎么播放出来声音 [ 58%]

...图片 执行代码说加载不出来资源 这个是怎么回事? Laya.Loader.getRes请教 问题状态 最新活动: 2019-03-26 10:16 浏览: 1251 关注: 2 人

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

349. 龙骨动画报 “Offset is outside the bounds of the DataView” [ 58%]

...了,我用1.5.3版本的ide导出龙骨动画,加载龙骨动画 Laya.loader.getRes时报“Offset is outside the bounds of the DataView”请问怎么解决。 2017-04-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

350. 请教2D3D混合的处理方法 [ 58%]

...范的问题哈 FD 宏编译时 出现 试图访问该方法时失败 Laya.Loader.getRes请教 请教下微信小游戏的内存和数据缓存? LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, 官方技术文档里:微信小游戏进阶处理,AS3,TS,JS并不相同...

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