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

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

581. 排行榜上的玩家头像绘制问题 [ 51%]

...像。我用了同样的代码 function drawRankList(data) {     data.forEach((item, index) => {       // context.drawImage(item.avatarUrl, 0, 0, 200, 400);       // var image1 = wx.createImage()       // image1.src = item.avatarUrl       // context.drawImage(image1, 0, 0, 80 *...

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

582. 上架的游戏被苹果下架了 [ 51%]

... app by means other than the in-app purchase API, which is not appropriate for the App Store. Next Steps While the payment system that you have included may conduct the transaction outside of the app, if the purchasable content, functionality, or services are intended to be used in the app, they mus...

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

583. 说的的新版本更新的问题呢 [ 50%]

...至于我只要用react 就会报错 react.201605251128.js?t=1491660786863:formatted:7527Uncaught Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.乱起八糟也不知道什么错误,非得要我们自己手动的...

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

584. 打包安卓Android studio黑屏 [ 50%]

...ion.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-3HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "...

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

585. 感觉实例之间是关联的,求指教。(已解决) [ 50%]

.../split函数分割字符串 tempStringArray = tempReturnString.split(","); for (i = 0; i < tempStringArray.length; i++) { var img = new Laya.Image(); //加载显示图片, var tempImageName = "ui/poke_" + tempStringArray[i] + ".png"; img.loadImage(tempImageName, i * 30, 0); this.addChild(img); ...

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

586. native 源码安卓编译错误,JCFileResManager 中的JCFileRes 没有setOnReadyCB,setOnErrorCB 方法,是不是没上传? [ 50%]

...e/conch/JSWrapper/LayaWrap/JSAudio.cpp:199:94: error: no matching function for call to 'laya::JCFileRes::setOnReadyCB(std::__1::__bind<bool (laya::JSAudio::*)(void*, std::__1::weak_ptr<int>), laya::JSAudio*, std::__1::placeholders::__ph<1>&, std::__1::weak_ptr<int>&>)...

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

587. 引擎底层报错了?simplesingletonlist:[object Object] [ 50%]

...源代码,修复了。laya.d3.js -> SimpleSingletonList.Clear -> for (var i = 0, n = this.length; i < n; i++),引擎代码 i没有赋初值,导致 i<n永远为false. 峯 • 2020-01-09 16:49 好吧,我再留意下,我iPhone7p上是没出现过,iPhoneX上出现过

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

588. Laya List给子元素添加事件后,滚动事件被劫持了 [ 50%]

...e; let slider = scrollBar.slider; slider.bar.stateNum = 1; let txArray = ; for (let i = 0; i <20; ++i) { let list = new Laya.Sprite(); list.width = 600 ; list.height = 155; list.loadImage('xxx.png'); //此处无论是这样给 list.on(Laya.Event.CLICK, this, () => { console.log(413132131) }) /...

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

589. 2.1.1版加了3D物理引擎库后创建3个scene3D就报错 [ 50%]

...events some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 "). Build with -s ASSERTIONS=1 for more info.   我的项目中用到了3D物理库,因为UI上...

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

590. ts项目加载version.json失败 [ 50%]

...E:/LayaEmptyRelease/version.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. [warn]Retry to load: version.json 资源版本清单文件不存在,不使用资源版本管理。忽略ERR_FILE_NOT_FOUND错误。 test.jpg Failed to load ...

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