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

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

21. 文本-复杂的文本样式 [ 89%]

...L5开发技术方案!"; //设置宽度,高度自动匹配 txt.width = 400; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.fontSize = 40; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.bold = true; txt.leading = 5; //设置描边属性 txt.stroke = 2; txt.strokeColor = "#...

来源: Laya_示例 发布时间: 20251130

22. 文本-复杂的文本样式 [ 88%]

...L5开发技术方案!"; //设置宽度,高度自动匹配 txt.width = 400; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.fontSize = 40; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.bold = true; txt.leading = 5; //设置描边属性 txt.stroke = 2; txt.strokeColor = "#...

来源: Laya2.0_示例 发布时间: 20251130

23. FlashBuilder配置出错? [ 88%]

...minating with uncaught exception of type std::out_of_range: basic_string 0.00% Laya:Laya AS2JS Compiler[Ver 0.10.20161125] start... MSG,1,0.00,,0,Project command:“/Users/kaiser/Sites/layaProject/trunk/GameProject/.actionScriptProperties;iflash=false” Project configuration:“/Users/kaiser/Sites/...

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

24. 为什么Laya.Panel的子节点在(0,0)位置会不显示呢? [ 88%]

...信 Devilsparta 赞同来自: var panel = new Laya.Panel(); panel.width = 800; panel.y = 30; panel.hScrollBarSkin = null; var sp = new Laya.Sprite(); panel.addChild(sp); sp.x = 0; sp.y = 0; // 用下面这组数据是可显示的 // sp.y = 1; // sp.x = 1; sp.graphics.drawRect(0, 0, 200, 200, "#00FF0...

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

25. 如何清除graphics绘制的矢量图 [ 88%]

...         let count1 = 1;             Laya.timer.loop(3000, this, function () {                 sp.graphics.clear();                 if (count1 == 0) {                     sp.graphics.drawLines(0, 0, path, "#0eff00", 5);    ...

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

26. 文本-字符限制 [ 88%]

...L; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 300, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createTexts(); })(); function createTexts() { createLabel...

来源: Laya_示例 发布时间: 20251130

27. LayaAirUnityPlugin 2.4beta IOException: Sharing violation [ 87%]

...nctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)       附件 : --> 2020-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 能否确定 到什么情况...

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

28. 文本-字符限制 [ 87%]

...tat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(550, 300, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createTexts(); } createTexts() { this.createLabel("...

来源: Laya2.0_示例 发布时间: 20251130

29. 在UI中使用HTMLDivElement 或者其他自定义组件导出微信小游戏无法运行 [ 87%]

...动: 2019-04-10 18:07 浏览: 2221 关注: 1 人 闪小达 • 2019-04-11 00:00 https://ask.layabox.com/question/13487 闪小达 • 2019-04-11 00:00 https://ask.layabox.com/file/d ... iMzk0 ; 176*****612 • 2019-04-11 08:56 @闪小达:好的 我试下

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

30. layabox下vertex和drawcall经常是0 [ 85%]

...下是现存问题,新号进游戏就这样 02-10 10:52:59.133 10986-11008/? I/LayaBox: freeRes(0):Total:32,left:17,clearedMem:46137344 02-10 10:52:59.421 10986-11008/? I/LayaBox: freeRes(0):Total:22,left:8,clearedMem:50331648 02-10 10:52:59.681 10986-11008/? I/LayaBox: freeRes(0):Total:14,left:11...

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