大约有 110 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0060 秒)
... private const SheepSWFPath:String = "res/swf/sheep3.swf"; Laya.init(1136, 640); // Laya.stage.alignV = Stage.ALIGN_MIDDLE; // Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; ...
来源: Laya_社区 发布时间: 20170804
... { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSkin":"comp/label.png","height":67},"compId":3}],"loadList":["comp/label.png"],"loadList3D":[]}; constructor(){ super()} cre...
来源: Laya_社区 发布时间: 20190625
... //初始化舞台 Laya.init(1136, 640); this.drawSomething(); } private drawSomething(): void { this.sp = new Sprite(); Laya.stage.addChild(...
来源: Laya2.0_文档 发布时间: 20210715
...() { //初始化引擎 Laya.init(1136, 640, WebGL); Laya.stage.bgColor = "#ffffff"; Laya.stage.on(Event.CLICK, this, play); } function play():void { Lay...
来源: Laya_社区 发布时间: 20170406
...题(主要是UI编辑器创建的UI界面) 例如我的尺寸是 640x1136 那在iphoneX上面 不管是什么适配模式 都木有办法铺满一屏 你们可以测试一下 必现的问题 、、、、在小游戏里面才会 谢谢 帮忙看看把 如图 白色的是一个loadi...
来源: Laya_社区 发布时间: 20180420
...图片,Laya就难以驾驭了。 请问:手机全屏图一张就是640x1136,300多张,Laya能不能搞定这种全序列帧Html5? 用了2天发现LayaAir不行,最后还是改用CreateJS做的,附H5地址: http://h5.bentleymotorschina.c ... ival/ 2017-02-02 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20170202
...卓微信小游戏端正常: GameConfig的配置: static width:number=1136; static height:number=640; static scaleMode:string="exactfit"; static screenMode:string="horizontal"; static alignV:string="top"; static alignH:string="left"; static startScene:any="desktop.scene"; 附件 : --> IOStest.zi...
来源: Laya_社区 发布时间: 20230815
... //初始化引擎 Laya.init(1136, 640); } } } 报错如下: 如何没有写import laya.display.Text就不会出错,一写就错。laya.display.Text难道过时...
来源: Laya_社区 发布时间: 20171011
...{ private var rule_ct; public function LayaSample() { Laya.init(640, 1136, WebGL); Laya.stage.bgColor = "#CCBBAA"; var panel = new Panel(); Laya.stage.addChild(panel); panel.size(460, 704); rule_ct = new Sprite(); Laya.stage.addChild(rule_ct); rule_ct.loadImage("rule_txt.png", 0, ...
来源: Laya_社区 发布时间: 20170215
.../ 程序入口 class GameMain{ constructor() { //初始化引擎 Laya.init(1136,640); var sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,this.completeHandler); xhr.once(Laya.Event.ERROR,this,this.errorHandler); xhr.send("res/a.png","","get","arraybuffer")...
来源: Laya2.0_文档 发布时间: 20210714