大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0051 秒)
Laya_社区(1721) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 请问在layaIDE里,怎么调用微信小程序API 使用钢体设置防穿后仍有几率会穿透 问题状态 最新活动: 2018-01-31 09:59 浏览: 2...
来源: Laya_社区 发布时间: 20180130
...stage._canvasTransform.getScaleY()); OpenData.postMessage({type:"changeMatrix",a:mat.a,b:mat.b,c:mat.c,d:mat.d,tx:mat.tx,ty:mat.ty,w:opendata.width,h:opendata.height}); } 在主域排名榜完全打开窗口后调用这个方法看看。 2019-09-06 0 1 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190815
... { var assets: Array<any> = []; assets.push({ url: "res/start.json", type: Loader.ATLAS}); Laya.loader.load(assets, Handler.create(this, this.onComplete)); } private onComplete(): void { var texture:Texture = Laya.loader.getRes("start/sg.png"); var sp = new Laya.Sprite(); sp.graphics.drawTextu...
来源: Laya_社区 发布时间: 20170329
... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 使用钢体设置防穿后仍有几率会穿透 【带附件】 使用Laya2.0.0beta5.1 发布官方示例...
来源: Laya_社区 发布时间: 20171120
... 100; let rigid:Laya.RigidBody = panel.addComponent(Laya.RigidBody); rigid.type = 'static'; } 产生的效果是boll1会自由落体,但不会与挡板发生物理碰撞而是直接穿过挡板(如图1),请问要如何修改代码。 图1 附件 : --> 2019-04-28 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20190428
....init(600, 400); //Laya.loader.load([{url: "res/atlas/char_wudang01.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); this.onLoaded(); } private function onLoaded():void { //Animation.createFrames(["res/atlas/monsterbeattack/0.png","res/atlas/monsterbeattack/1.png","res/atlas/monsterbeat...
来源: Laya_社区 发布时间: 20170220
...,怎么调用微信小程序API 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. Tween如何实现无限循环改变alpha? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 如何实现微信登录? 有什么容器能够实现当子元素达...
来源: Laya_社区 发布时间: 20170802
...方式不一样导致。网页版的话,在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