大约有 13 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
... not defined runtime运行报错! 启动引擎报错 mPlugin.game_plugin_init(3); 2.2.0beta4,微信上动态合批报错. 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 用了ByteArray的zlib.min.js后报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (...
来源: Laya_社区 发布时间: 20171118
... • 2017-12-13 17:03 没办法发图了 class Main { constructor() { Laya.init(480, 852); Laya.stage.scaleMode = "showall"; Laya.stage.alignV = 'middle'; Laya.stage.alignH = 'center'; Laya.stage.screenMode = "vertical"; Laya.stage.bgColor = "#101825"; this.init() } ini...
来源: Laya_社区 发布时间: 20171213
...terial { public static _mainTex : number; public static _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D.propertyNameToID("u_MainCol"); CMat.initShader(); this.inited = ...
来源: Laya_社区 发布时间: 20190814
...程序入口 class GameMain { constructor() { Laya.init(640,1100, Laya.WebGL); //设置适配模式 Laya.stage.scaleMode = "showall"; //设置剧中对齐 Laya.stage.alignH = "center"; //设置横竖屏 L...
来源: Laya_社区 发布时间: 20170105
...服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 问题状态 最新活动: 2017-10-28 14:22 浏览: 2026 关注: 1 人
来源: Laya_社区 发布时间: 20171028
...aya的渲染器,而不是matter自带的渲染器 2、必须执行 Laya.init(stageWidth, stageHeight, WebGL);否则会报错:TypeError: Cannot read property 'frameLoop' of nullvar Browser = Laya.Browser; var WebGL = Laya.WebGL; var Matter = window.Matter; var LayaRender = window.LayaRender; var...
来源: Laya_社区 发布时间: 20170905
示例打地鼠发布打包后提示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
... 初始化 IsLand.__super.call(this); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.ball = new Sprite(); // 城堡 this.tower = new Spr...
来源: Laya_社区 发布时间: 20170720
...iew.scene undefined Warning!,this class[MiniAdpter] already exist: Object {init: } 2.0.0编译报错Cannot find global type 'Array' 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. LayaNative2.2运行报错。:getBitmapData Cannot find the specified character in all fon...
来源: Laya_社区 发布时间: 20210624
...private handshakeCallback:any = null; private handshakeBuffer:any; private initCallback:Function = null; private _callbacks:any = {}; private reqId:number = 0; private _package:IPackage; private _message:IMessage; constructor(){ if(!console.group){ console.group = console.log; console.groupEnd = fun...
来源: Laya_社区 发布时间: 20180119