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

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

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

...设定了大飞机的血量,可是打一下就死了。    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

22. 2.2.0 Html使用img标签解析错误 [ 84%]

...用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

23. LayaAir引擎1.7 之后as转换js,出现问题 [ 84%]

...理,1.7之后,这些代码转换出现问题 as 代码 override public function get visible():Boolean  { return super.visible; } override public function set visible(value:Boolean):void  { super.visible = value; if (value) _mcAni.removeFromParent(); }   1.7之后的转换 __getset(0,__proto,'...

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

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

...果 里边的示例运行报错 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

25. layaair2-cmd 运行报错,求助 [ 84%]

...ming\npm\node_modules\layaair2-cmd\node_modules\gulp\bin\gulp.js'     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)     at Function.Module._load (internal/modules/cjs/loader.js:562:25)     at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)     at...

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

26. 报错:__glsl is not defined,而且bundle.js出现__glsl [ 83%]

...sl is not defined,而且bundle.js出现__glsl  bundle.js开始代码:(function (__glsl) { 'use strict'; __glsl = __glsl && __glsl.hasOwnProperty('default') ? __glsl['default'] : __glsl; bundle.js结束代码: onConfigLoaded() { //加载IDE指定的场景 GameConfig.startScene &&am...

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

27. 微信小游戏开放域能否调用 wx.shareAppMessage [ 83%]

...SubContextThirdScriptError Laya.Browser.window.wx.shareAppMessage is not a function;at requestAnimationFrame callback function TypeError: Laya.Browser.window.wx.shareAppMessage is not a function 2018-10-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

28. 官方提供的关系链代码执行报错,是不是wx的sharedCanvas不是Laya的canvas导致的问题 [ 83%]

...这是官方提供的代码 微信主域代码: Laya.timer.once(400,this,function():void{ var rankTexture:Texture = new Texture(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 rankSprite2.graphics.drawTexture(rankTexture,5,78,rankTe...

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

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

...设定了大飞机的血量,可是打一下就死了。    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

30. 如何为list内部的button添加事件 [ 82%]

...• 2017-01-06 11:21 "this.sList.getItem(...).getChildByName is not a function" weiyongwill • 2017-01-06 14:39 经过测试在List.mouseHandler中点其他的元素能通过e.target.name获取到名字,唯独textinput通过e.target.name获取到名字为空,而且e.type为mousedow...

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