大约有 3,289 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
Laya_社区(2695) Laya2.0_文档(206) Laya_示例(157) Laya2.0_示例(119) Laya3.0_api(72) Laya3.0_文档(20) laya_api(11) Laya2.0_api(9)
...域程序加载到图集后,取图集内资源报错。 MsgMgr.instance.init(); Laya.timer.once(1000,this,function():void{ beginLoad(); }); private function beginLoad():void { Laya.loader.load("res/images/rank.json", Handler.create(this, onLoaded)); } private function onLoaded():void { trace("加...
来源: Laya_社区 发布时间: 20180830
...错window.focus is not a function 启动引擎报错 mPlugin.game_plugin_init(3); 问题状态 最新活动: 2017-11-08 15:47 浏览: 1117 关注: 2 人 wudi199553 • 2017-11-08 15:49 你建的是3d项目啊 GamingSpree • 2017-11-08 15:52 @wudi199553:=。=哼哼,不仔细看图和文字 wudi199...
来源: Laya_社区 发布时间: 20171108
...程序代码: class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 var scene = Laya.Scene.load("LayaScene_unity1/unity1.ls"); Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20171017
...码: ```typescript class Main { constructor() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集资源,加载成功后将UI界面添加到舞台上 Laya.loader.load("./res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); } pri...
来源: Laya2.0_文档 发布时间: 20210715
...黑屏,如何加入闪屏图片 启动引擎报错 mPlugin.game_plugin_init(3); IDE通过.ui自动生成的ui代码报错 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 小游...
来源: Laya_社区 发布时间: 20180205
...umber, y:Number):Boolean 检测某个点是否在此对象内。 Sprite init(layerData:*, map:TiledMap):void 解析LAYER数据,以及初始化一些数据 MapLayer isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete...
来源: Laya2.0_api 发布时间: 20190513
...fined TypeError: Cannot read property 'charAt' of undefined at Object.Laya.init (<anonymous>:23:7239) at new t (<anonymous>:41:2251) at <anonymous>:41:2762 at require (<anonymous>:206:5799) at <anonymous>:206:5548 at <anonymous>:47:323 at require (<anonymous>...
来源: Laya_社区 发布时间: 20180109
... private var _colorSpr:Sprite; private var _colorTex:Texture; private var _initPixelCount:int; public function Main() { Laya.init(1024, 768, WebGL); Stat.show(0, 0); Laya.stage.bgColor = "#fff"; Laya.loader.load("assets/images/color1.png", Handler.create(this, __loadImageHandler)); } private functio...
来源: Laya_社区 发布时间: 20180302
...服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 Laya 鼠标Cursor怪异问题,有demo Laya["MiniAdpter"].nativefiles 在QQ小游戏中无法读取到 laya开发的3d跑酷 问题状态 最...
来源: Laya_社区 发布时间: 20180809
... private var progressBar:ProgressBar; public function LoadingDemo() { Laya.init(550,400); //预加载loading条资源 var pro1:Object={url:"loads/progressBar.png",type:Loader.IMAGE}; var pro2:Object={url:"loads/progressBar$bar.png",type:Loader.IMAGE}; var proArr:Array=; proArr.push(pro1,pro2); Laya....
来源: Laya_社区 发布时间: 20160509