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

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

81. 为什么会出现报错 ani not found:ufo1_down [ 81%]

...设定了大飞机的血量,可是打一下就死了。    var Game = (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分...

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

82. 2.2.0 Html使用img标签解析错误 [ 81%]

...用img标签解析错误 TypeError: Illegal constructor preload.js:55 at Function.getInstance (file:///D:/LayaTest/TestHtml2.2.0/bin/libs/laya.core.js:11687:24)   at Function.getInstance (file:///D:/LayaTest/TestHtml2.2.0/bin/libs/laya.html.js:1213:39)   at Function._parseXML (file:///D:/LayaTest/...

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

83. LayaAir下Array.sort如何使用? [ 81%]

...aya.init(550,400); var arr:Array=[20,40,10,4,34,23,65,5,8]; trace(arr.sort(function(a:*, b:*):Number { return a.x > b.x ? 1 : -1}));(反序)Laya.init(550,400); var arr:Array=[20,40,10,4,34,23,65,5,8]; trace(arr.sort(function(a:*, b:*):Number { return a.x > b.x ? -1 : 1}));(从小到大...

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

84. layaAir 打包成apk后在真机上运行 使用粒子时报错 [ 81%]

...研发商            TypeError: this._emitter.advanceTime is not a function            http://192.168.1.240:8900/bin/ ... :831: TypeError: this._emitter.advanceTime is not a function                        this._emitter && this._emitter.advanceTime(t)           ...

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

85. 技术文档中的示例js运行报错 [ 81%]

...果 里边的示例运行报错 Uncaught TypeError: this.setTo is not a function(function () { const Loader = Laya.Loader const Handler = Laya.Handler (function () { Laya.init(1136,640) Laya.stage.bgColor="#fff" Laya.loader.load('./../bin/res/atlas/res.atlas', Handler.create(this, onLoaded)) })() f...

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

86. 安卓平台 fillText接口报错 [ 80%]

..._pctim_aiomsg 在安卓上不能使用,报错   cxt.fillText is not a function 2020-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...

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

87. 编译前(AS)和编译后(JavaScript)程序的行为是不一致的,求最佳实践和原理。 [ 80%]

...的位置提醒开发者啊。package { public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var func:Function = new A().method; func(); } } } package { public class A { private var _attr:int = 123; public function A() { } public function method():void { t...

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

88. 关于HttpRequest报错问题 [ 80%]

....ERROR,this,errorHandler); xmlHttp.on(Event.PROGRESS,this,processHandler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); }; function errorHandler(data){ }; xmlHttp.send("http://","","post","text"); 2018-02-02 添加评论 免费帖 --> 分享 微博 QZONE ...

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

89. 为什么会出现报错 ani not found:ufo1_down [ 80%]

...设定了大飞机的血量,可是打一下就死了。    var Game = (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分...

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

90. mac 开放域 发布失败 [ 80%]

...,请把此信息截图给研发商 Uncaught Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from null Error: Could not call remote function ''. Check that the function signature is co...

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