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

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

31. laya 发布成微信小游戏 怎么获取从分享中进入的参数 [ 73%]

...附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑...

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

32. this.bitmap.activeResource is not a function. [ 73%]

this.bitmap.activeResource is not a function. 排行榜主域绘制开放数据域sharedCanvas时候报错。代码如下:var rankTexture = new Laya.Texture(Laya.Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange = true;//小程序使用,非常费 let sprite = new Laya.Sprite(); spri...

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

33. 做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined [ 73%]

做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:615) at Function.MiniAdpter.init (laya.wxmini.js:33) a...

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

34. 引入vconsole后 document.createTextNode is not a function [ 72%]

引入vconsole后 document.createTextNode is not a function 附件 : --> 2022-03-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Yan 赞同来自: 辛苦提供示例看一下,我这面测引入vconsole...

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

35. 微信小游戏怎样使用官方API? [ 72%]

...例,直接使用wx.login是报错的,warning:wx.login This variable is not defined.   那是怎样使用微信API?另外看关https://ldc.layabox.com/doc/?nav=zh-as-5-1-0   发布是有libs的,但用创建的微信小游戏2D发布没有libs,需要怎样包含进来?   引擎使用...

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

36. input setforbidEdit is not a function [ 72%]

input setforbidEdit is not a function 构建xcode项目之后,在手机上运行出现这个问题....native版本是0.9.5.. 使用示例 UI 项目构建出来 也会出现这个问题 附件 : --> 2017-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

37. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 71%]

this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function if (bitmap&&bitmap._addReference){ bitmap._addReference(); } 这个代码过滤已经加了,但是会报下面这个错 this.bitmap.activeResource is not a function TypeError: this.bitmap....

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

38. 微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程 [ 70%]

...nonymous) @ gamePage.html:148 VM163:1 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function     at Function.Browser.__init__ (http://127.0.0.1:61836/game/code.js:7139:21)     at Function._$GET_clientWidth (http://127.0.0.1:61836/game/code.js:7056:11)    ...

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

39. this.bitmap.activeResource is not a function [ 69%]

this.bitmap.activeResource is not a function //开放域层级 private static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = n...

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

40. 微信小游戏里面开放数据域的资源加载问题 [ 68%]

...载问题,保存 VM269:1 gameThirdScriptError wx.getFileSystemManager is not a function TypeError: wx.getFileSystemManager is not a function at Function.__static.wxdown (http://127.0.0.1:63435/game/op ... 645:48) at Function.get (http://127.0.0.1:63435/game/open/js/code.js:179:66) at Function.Mini...

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