大约有 98 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0029 秒)
...急,大神帮看哈 问题状态 最新活动: 2018-08-03 14:34 浏览: 700 关注: 1 人
来源: Laya_社区 发布时间: 20180803
...建一个刚体对象怎么创建 this.shamBallBody = Matter.Bodies.circle(700, 400, 28, { // x, y, 半径 density: 0.68, // 密度 restitution: 0.8, // 弹性 }); 请教下,如果是创建一个空的刚体对象怎么创建。 例如: var sp = new Laya.sprite(); 这样的空对象。等到...
来源: Laya_社区 发布时间: 20180401
...a.Skeleton; skeleton0 = this.m_templet.buildArmature(1); skeleton0.pos(200,700); skeleton0.showSkinByIndex(1); Laya.stage.addChild(skeleton0); skeleton0.replaceSlotSkinName("head","goblin/head","goblingirl/head"); skeleton0.play("walk",true,true,0,0,true); } } new GameMain(); 2018-01-26 添加评...
来源: Laya_社区 发布时间: 20180126
...了一下。发现部分图集不压缩了,直接使用原图的大小(700多K),而不是压缩后的200多K。 那么,能不能把出现红条纹的背景图不参与压缩呢?在输入关键字进行过滤中,填写了sbtn_btnBg.png,guang.png.不过依然无效。这个过滤,有没有...
来源: Laya_社区 发布时间: 20170906
...dler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(700,600); Laya.loader.load('res/apes/monkey2.png',Handler.create(this,onLoaded)) } private function onLoaded():void { var texture:Texture=Loader.getRes('res/apes/monkey2.png'); var sp:Sprite=new Sprite(); var matrix:Matrix=ne...
来源: Laya_社区 发布时间: 20170414
... console.info("start"); this.init(); } init():void{ Laya.init(800, 700, Laya.WebGL); Laya.loader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } onLoaded(){ console.info("onLoaded"); this.tiledMap = new Laya.TiledMap(); this.til...
来源: Laya_社区 发布时间: 20171125
...30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) shelljs模块我装...
来源: Laya_社区 发布时间: 20200619
...andler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(700, 1024, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.showShakePic(); this.showConsoleText(); this....
来源: Laya2.0_示例 发布时间: 20251219
... [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.S...
来源: Laya2.0_示例 发布时间: 20251219
...e():void{ this.sk = this.te.buildArmature(0); this.sk.x = 400; this.sk.y = 700; this.sk.play(0, true); Laya.stage.addChild(this.sk); } Demo如下: 附件 : --> skTest.zip 2019-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20190320