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

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

161. 使用外部引擎播放layaair制作的.ani [ 72%]

...码实现 2018-08-22 0 1 分享 微博 QZONE 微信 zyx 赞同来自: Laya.init(document.documentElement.clientWidth * 2, document.documentElement.clientHeight * 2); Laya.loader.load('./card/atlas/card.atlas', Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个Animation实例 ...

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

162. 播放声音,报错 [ 72%]

...'volume' property on 'HTMLMediaElement': The provided double value is non-finite 附件 : --> 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 这个提示是设置音量失败,然...

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

163. 打包安卓Android studio黑屏 [ 72%]

...ogcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach thread to application I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.layabox.test#102...

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

164. mac pro 浏览器显示尺寸会被自动缩放是什么问题? [ 72%]

...90162 赞同来自: 正常的网页是没有问题的,只有layabox生成init初始化1200,600,实际显示效果只有600,300 2017-09-26 0 2 分享 微博 QZONE 微信 qq364390162 赞同来自:   2017-09-26 0 0 分享 微博 QZONE 微信 qq364390162 赞同来自: Laya.init(1200, 600); ("stage...

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

165. 微信开发工具编译报错 [ 71%]

...: Cannot read property 'events' of undefined at Function.EventDispatcher.__init$ (http://127.0.0.1:35024/game/code.js:634:29) at http://127.0.0.1:35024/game/code.js:14:71 at Array.forEach (<anonymous>) at Object.__init (http://127.0.0.1:35024/game/code.js:14:36) at http://127.0.0.1:35024/game/...

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

166. 报错:找不到基类,按照laya社区的解答做了,但是导致了另外一个类和接口出现一样的错 [ 71%]

... public function HelloLayaBox()         {             Laya.init(600, 300);             var txt:Text = new Text();             txt.text = "HelloLayaBox";             txt.color = "#ff0000";             txt.fontSize = 66;             txt.bold...

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

167. 在微信小游戏中使用BitmapFont会导致报错. [ 71%]

...amePage.html:1   源码如下: //初始化微信小游戏 Laya.MiniAdpter.init(); //程序入口 Laya.init(600, 400); //激活资源版本控制 Laya.ResourceVersion.enable("version.json", Handler.create(null, beginLoad), Laya.ResourceVersion.FILENAME_VERSION);  function beginLoad(){     let t...

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

168. 使用layaair调试 如何打开webgl? [ 71%]

...内容相关的链接 提交 1 个回复 一点一滴 赞同来自: Laya.init(游戏宽,游戏高,渲染模式支持canvas跟webgl,如果你不配置就是canvas模式); 2018-04-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 马...

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

169. 求HTTP相关的文档或者例子谢谢了 [ 71%]

...RLRequest extends Sprite { public function HTTP_URLRequest() { if(stage) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { //第一步:加载数据:创建URLLoader对象 var urlLoader:URLLoader=new URLLoader(); //第二部:设...

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

170. TimeLine运行的小问题 [ 71%]

...链接 提交 1 个回复 cuixueying 赞同来自: //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor="#eeffcc"; var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,200,200,"#FF0000"); Laya.stage.addChild(sp); var timeLine:TimeLine=new TimeLine(); timeLine.on(Event.LABEL,this,onLabel); timeL...

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