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

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

81. 多线程worker(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 62%]

...t) { console.log("Called back by the worker!\n"); }; myWorker.postMessage("start"); // start the worker. ``` 新建一个my_task.js文件,代码如下: ```typescript self.addEventListener('message', function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = f...

来源: Laya2.0_文档 发布时间: 20210715

82. 多线程worker(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 62%]

...t) { console.log("Called back by the worker!\n"); }; myWorker.postMessage("start"); // start the worker. ``` 新建一个my_task.js文件,代码如下: ```typescript self.addEventListener('message', function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = f...

来源: Laya2.0_文档 发布时间: 20210715

83. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 61%]

...包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.gam...

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

84. laya.ani.bone.Skeleton [ 61%]

...0, 100); Sprite  play(nameOrIndex:*, loop:Boolean, force:Boolean = true, start:int = 0, end:int = 0, freshSkin:Boolean = true):void 播放动画 Skeleton  playbackRate(value:Number):void 设置动画播放速率 Skeleton pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位...

来源: Laya2.0_api 发布时间: 20190513

85. googleplay资源zip包,入口页无法获取 [ 61%]

...046 27337-28585/com.korea.googleplay I/LayaBox: onLayaInitError error=Load start url error 03-27 17:01:24.054 27337-28585/com.korea.googleplay I/LayaBox: alert=加载游戏失败,可能由于您的网络不稳定,请退出重进 2018-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

86. 打包安卓Android studio黑屏 [ 60%]

...pk\debug\app-debug.apk  Split APKs installed in 5 s 958 ms $ adb shell am start -n "com.layabox.test/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Client not ready yet..Waiting for process to come online Connected to process 27883 on device huawei-mha_al00-3HX...

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

87. iOS9兼容bug,求指教 [ 59%]

...teway/v1/ 2019-06-13 11:20:12.535 RBaoSANGuo_H5L1[1552:289925] 请求fun:startup 2019-06-13 11:20:12.535 RBaoSANGuo_H5L1[1552:289925] 请求数据:{     "_fun" = startup;     "active_id" = "a5f32aff-18ba-481e-aec7-ae791407385f";     "active_time" = 1560395359;     "build_version" = 1;  ...

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

88. 粒子在webgl情况和canvas情况存在显著差异,请看图 [ 56%]

...null, Loader.JSON); })(); function onAssetsLoaded(settings) { data = { "minStartColor": { "0": 1, "1": 0, "2": 0, "3": 1 }, "boxEmitterVelocity": { "0": 0, "1": 0, "2": 0 }, "minHorizontalStartRadian": 0, "positionVariance": { "0": 0, "1": 0, "2": 0 }, "maxHorizontalVelocity": 0, "sphereEmitterRadiu...

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

89. 无法触发浏览器文件上传框 [ 55%]

...锁定 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 请问下loader如何强制加载一个文件,避免浏览器的缓存 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? .sk , .lm , .ltc , .lh, .ani等后缀名的文件是...

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

90. swf在layaairts里播放的问题,播放不了,swf在群文件star.swf [ 55%]

...o 附件 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 骨骼动画播放完后的回调时间 图集打包找不到图集文件 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 微信小程序—未找到入口 app.js...

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