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

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

101. AS转换JS运行报错 [ 78%]

...键回调函数中调用DoFunc报错 我现在得到结论 KeyHandler中的this不能指代__proto对象 要使this指代过去,我记得参数中要加个参数才对,麻烦看下是不是转换问题,还是有这种写法   附件 : --> 2017-01-23 添加评论 免费帖 --> 分享 微博 QZ...

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

102. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found [ 77%]

ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found 环境win10 layaboxide 2.6.0 beta 已经全局安装typescript,命令行 tsc -v,输出Version 3.8.3 nodejs 12.16.1 编译报错: semantic error TS2354: [31mThis syntax requires an imported he...

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

103. 苹果审核被打回 [ 77%]

...our app is compliant with the App Store Review Guidelines, please reply to this message in Resolution Center to explain how this feature works. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. 20...

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

104. 关于HttpRequest报错问题 [ 77%]

...cation/x-www-form-urlencoded; charset=utf-8"); xmlHttp.once(Event.COMPLETE,this,onHttpRequestComplete); xmlHttp.once(Event.ERROR,this,errorHandler); xmlHttp.on(Event.PROGRESS,this,processHandler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); }; function err...

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

105. Error: 代码包大小为 5533 kb,上限为 4096 kb,请删除文件后重试? [ 77%]

...in { constructor() { console.log(Laya.Browser.width, Laya.Browser.height); this.current = { x: 0, y: Laya.Browser.height }; // Laya.stage.bgColor = "#3F51B5"; this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); } render() { console.log("render"); var l = [ 0, 0, 0, -(Laya.Browser.height >&...

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

106. socket与node服务端连不上?按照官方案例 [ 77%]

...不上?按照官方案例 //初始化引擎 Laya.init(600,400,Laya.WebGL); this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_ENDIAN; this.socket = new Laya.Socket(); //这里我们采用小端 this.socket.endian = Laya.Byte.LITTLE_ENDIAN; //建立连接 this...

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

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

示例打地鼠发布打包后提示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 Conn...

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

108. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 76%]

...cts without image resources), specifies whether the mouse events penetrate this object's collision detection. `true` means the object is penetrable, `false` means it is not penetrable. * When penetrable, the engine will no longer detect this object and will recursively check its child objects until ...

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

109. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 76%]

...下 2017-11-12 0 1 分享 微博 QZONE 微信 Vivapercuore 赞同来自: this.body = new Laya.Animation(); this.body.loadAtlas(config[this.type].imgBang, Laya.Handler.create(this, this.onLoad)); this.body.width = config[this.type].width this.body.height = config[this.type].height onLoad(){ Tween.to(...

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

110. ConchJNI.RunJS使用方法 [ 76%]

...码呢? 我调用打包出来的js代码方法,比如ConchJNI.RunJS("this.gameOver()") 都提示TypeError: xxxx is not a function, gameOver方法不是静态的,跟这个有关系吗?如果是怎么调,不是怎么调用呢   麻烦各位大佬解答一下 2018-08-28 添加评论 免费...

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