大约有 1,740 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)
...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
...研发商 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
...rt laya.utils.Handler; public class Loader_ProgressAndErrorHandle { public function Loader_ProgressAndErrorHandle() { Laya.init(550, 400); // 无加载失败重试 Laya.loader.retryNum = 0; var urls:Array = ["do not exist", "../../res/fighter/fighter.png", "../../res/legend/map.jpg"]; Laya.loader.lo...
来源: Laya2.0_示例 发布时间: 20240930
...用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
...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
...打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function TypeError: Laya.Browser.window.conch.setFontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError...
来源: Laya_社区 发布时间: 20171111
...果 里边的示例运行报错 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
... VM317:1 gameSubContextThirdScriptError wx.getFileSystemManager is not a function;at requestAnimationFrame callback function TypeError: wx.getFileSystemManager is not a function 微信子域报这个错误。 2018-08-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180803
js继承模式 new function() { var className = 'BackGround'; window[className] = (function() { Laya.class(Class, className, Laya.Sprite); function Class() { Class.super(this); // this定义.. this.init(); } Class.prototype.init = function() { console.log(this); }; return Class; })(); } var _...
来源: Laya_社区 发布时间: 20170619
ide发布web后报错 Uncaught TypeError: this.preinitialize is not a function at i (laya.ui.min.js:1) at i (laya.ui.min.js:1) at i (laya.ui.min.js:1) at GameUI (layaUI.max.all.js:9) at Function.<anonymous> (laya.core.min.js:1) at t (main.min.js:4) at...
来源: Laya_社区 发布时间: 20171205