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

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

191. laya.utils.Handler_API3.0 [ 74%]

...eate Constructors constructor new Handler(caller?: Object | null, method?: Function | null, args?: any[] | null, once?: boolean): Handler Defined in laya/utils/Handler.ts:23 根据指定的属性值,创建一个 Handler 类的实例。 Parameters Default value caller: Object | null = null 执行...

来源: Laya3.0_api 发布时间: 20231115

192. laya2.8微信云开发出现错误 [ 74%]

... property 'indexOf' of undefined;at api readdirSync beforeSuccess callback function TypeError: Cannot read property 'indexOf' of undefined     *ThirdScriptError removeListener only takes instances of Function;at audioContext.oncanplay callback function Error: removeListener only takes instances of...

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

193. TypeError: Cannot read property 'length' of null [ 74%]

...打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.B...

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

194. 发布web,选择压缩混肴js后,运行报错,正常编译后可以运行项目 [ 74%]

....event (LayaSample.max.js:1)     at new i (LayaSample.max.js:1)     at Function.t.regSession (LayaSample.max.js:1)     at t.i.initSession (LayaSample.max.js:1)     at Function.t.INIT (LayaSample.max.js:1)     at i.execute (LayaSample.max.js:1)     at Function.t.exeCMD (LayaSample.max.js:...

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

195. ToolTip鼠标悬停的使用 [ 74%]

...悬浮提示框 private var _tip:TipManager;//实例化TipManager public function ToolTipDemo() { Laya.init(Browser.width,Browser.height); Laya.stage.bgColor="#eeffcc"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { this....

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

196. 使用 new Animation 报错 e.indexOf [ 74%]

...用 new Animation 报错 e.indexOf Uncaught TypeError: e.indexOf is not a function at Function.t.formatURL (laya.core.min.js:3) at e.n.load (laya.core.min.js:6) at game.html:304 2017-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

197. 播放音效时报错Failed to set the 'buffer' property on 'AudioBufferSourceNode'的问题 [ 74%]

...ffer' property on 'AudioBufferSourceNode'的问题 __proto._tryClearBuffer=function(sourceNode){ // if (!Browser.onMac){ // try{ // sourceNode.buffer=null; // }catch (e){ // WebAudioSoundChannel._tryCleanFailed=true; // } // return; // } try {sourceNode.buffer=WebAudioSound._miniBuffer;}catch (e){We...

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

198. 分享:IDE使用SWF动画的销毁与反复创建 [ 74%]

...       public class LayaUISample {                  public function LayaUISample() {             //初始化引擎             Laya.init(600, 400);             start();         }         private function start():void         {        ...

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

199. 飞机大战源码发微信小游戏提示VM122:1 gameThirdScriptError [ 74%]

...:1 gameThirdScriptError VM122:1 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function at Function.t.__init__ (http://127.0.0.1:62307/game/code.js:1881:1176) at Object.Laya.init (http://127.0.0.1:62307/game/code.js:150:34) at new t (http://127.0.0.1:62307/game/...

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

200. Laya2.0做排行榜时发布到微信中报错 [ 74%]

...错,改了laya.core.js之后又报了this.bitmap._getSource() is not a function,改了getsource之后不报错了,但是开放域的东西都没绘制出来,game.json里面设置了开放域的,并且使用laya微信开放域组件能够正常显示,使用2.0之前获取canvas的方式不行...

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