大约有 2,916 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1723) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(92) Laya2.0_示例(16) Laya_示例(11)
...方式不一样导致。网页版的话,在index.html加入 <script type="text/javascript" src="libs/puremvc.js"></script> 其他版本的,在game.js加入 window.puremvc=require("libs/puremvc.js"); 注意,要在引入index.js之前。 2019-05-05 0 0 分享 微博 QZONE 微信 cans...
来源: Laya_社区 发布时间: 20190426
...loadPosition():void{ /* let resArray:Array<any>=[ {url:"eyeimf.txt",type:Laya.Loader.TEXT} ] Laya.loader.load(resArray,Laya.Handler.create(this,this.Onloaded),null,Laya.Loader.TEXT,0,true,null,true);*/ let event1=Laya.loader.load("eyeimf.txt", Laya.Handler.create(this, this.Onloaded), null, La...
来源: Laya_社区 发布时间: 20171227
...配LayaAir版本的PureMVC框架 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 救命!canvas定位后 点击区域偏移,求大大们解答 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 问题状态 ...
来源: Laya_社区 发布时间: 20171221
...{ url : [ "res/background.png", "res/m_background.png", "res/floor.png" ], type : Laya.Loader.IMAGE }); //加载图集资源 asset.push({ url:"res/player.json", type : Laya.Loader.ATLAS }); //加载图集资源 Laya.loader.load(asset, laya.utils.Handler.create(this, onLoaded), laya.utils.Handler.cre...
来源: Laya_社区 发布时间: 20160801
... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 分享:打地鼠 AS、JS、TS版本 Demo! 微信小游戏如何使用ttf字体? 问题状态 最新活动: 2017-07-18 22:51 浏览: 1953 关注: 5 人
来源: Laya_社区 发布时间: 20170705
...et input = laya.utils.Browser.createElement("input"); input.type = "file"; input.id = "photo"; body.appendChild(input); Laya.loader.load("comp/button.png"); let button = new UIButton("comp/button.png","点我"); ...
来源: Laya_社区 发布时间: 20161114
...游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 微信小游戏如何使用ttf字体? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的...
来源: Laya_社区 发布时间: 20250605
... extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 类的实例对象 list 。 private n:number = 0; private x0:number = 0; private y0:number = 0; constructor(){super();} onEnable():void{ th...
来源: Laya_社区 发布时间: 20200203
... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 官方新手游...
来源: Laya_社区 发布时间: 20170120
...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 使用钢体设置防穿后仍有几率会穿透 预设怎么在代码中...
来源: Laya_社区 发布时间: 20170220