大约有 191 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0079 秒)
Laya_社区(66) Laya2.0_示例(38) Laya_示例(33) Laya2.0_文档(25) Laya3.0_api(13) Laya3.0_文档(6) laya_api(5) Laya2.0_api(5)
...坐骑角色"; txt.width = 250; txt.height = 250; txt.wordWrap = true; txt.align = "center"; txt.font = this.mFontName; txt.fontSize = 50; txt.leading = 5; Laya.stage.addChild(txt); } } new GameMain(); 资源能加载到,但运行后什么都没有看见。请问谁知道为啥? 附件 : --> as...
来源: Laya_社区 发布时间: 20171028
..._SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; 2.设置标题和输出信息 网上找了个图片当背景,加了个text当标题,加了版权信息,并且为版权信息注册了个匿...
来源: Laya_社区 发布时间: 20160623
...WebGL时自动切换至Canvas Laya.init(Browser.width, 255); // Laya.stage.alignV = Stage.ALIGN_MIDDLE; // Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; // 本地运行,需要在index.html中引用百度地图API文件 this.crea...
来源: Laya2.0_示例 发布时间: 20241118
...; //给文本的text属性赋值 txt.text = "gggggqqqqqqqyyyyyyyvvvv"; txt.align = "center"; txt.fontSize = 15; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.leading = 5; txt.x = (Laya.stage.width - txt.textWidth) / 2; txt.y = (Laya.stage.height - txt.textHeight) / 2; Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20190606
...as Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { var gap = 10; //创建一个Sprite充当音效播放按...
来源: Laya_社区 发布时间: 20170527
...支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var res = [ "../../res/ui/vscroll.png", "../../res/ui/vscroll$bar.png", "../../r...
来源: Laya_示例 发布时间: 20241118
...支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); let res = [ "res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui...
来源: Laya2.0_示例 发布时间: 20241118
... drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor bottom cacheAs centerX centerY color components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize edit...
来源: Laya3.0_api 发布时间: 20231115
... drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor bottom cacheAs centerX centerY color components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize edit...
来源: Laya3.0_api 发布时间: 20231115
....display.Text(); txtName.fontSize = 20; txtName.color = "#ffffff"; txtName.align = "center"; txtName.stroke = 2; txtName.text = "设置全局字体无效"; Laya.stage.addChild(txtName); 2017-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20171227