• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,916 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)

2371. 引入Puremvc.js,编译没问题,运行时报错查不到 [ 50%]

...方式不一样导致。网页版的话,在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

2372. 如何获取实时更新的动态数据,数据在文本中 [ 50%]

...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

2373. 【分享】 混合 模式destination-out做的 区域透明 效果 俗称抠图 的使用 [ 50%]

...配LayaAir版本的PureMVC框架 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 救命!canvas定位后 点击区域偏移,求大大们解答 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 问题状态 ...

来源: Laya_社区 发布时间: 20171221

2374. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 50%]

...{ 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

2375. 分享:SWF LABEL标签的使用! [ 50%]

... 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

2376. 请问:Ts下如何实现打开照相机和系统图库的方法?IOS和Android [ 50%]

...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

2377. [LayaAirIDE3]laya3.3 使用Mesh2DRender会导致ColorFilter影响其他对象 [ 50%]

...游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 微信小游戏如何使用ttf字体? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的...

来源: Laya_社区 发布时间: 20250605

2378. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 50%]

... 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

2379. Label设置了isHtml后使用html格式有问题 [ 50%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 官方新手游...

来源: Laya_社区 发布时间: 20170120

2380. protobuf 自己升级到3.0版,现在放在src目录下,可以使用,但是我怎么放在bin\libs\下当库使用,我需要做哪些东西 [ 50%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 使用钢体设置防穿后仍有几率会穿透 预设怎么在代码中...

来源: Laya_社区 发布时间: 20170220