大约有 307 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0049 秒)
...设定了大飞机的血量,可是打一下就死了。 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
...用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
...理,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
...果 里边的示例运行报错 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
...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
...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
...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
...这是官方提供的代码 微信主域代码: 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
...设定了大飞机的血量,可是打一下就死了。 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
...• 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