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

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

1. layaair2-cmd compile编译报内存溢出 [ 100%]

layaair2-cmd compile编译报内存溢出 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory  1: 00007FF66837ACB5   2: 00007FF6683544E6  3: 00007FF668354EF0  4: 00007FF6685E47FE  5: 00007FF6685E472F  6: 00007FF668B18964  7: 00007FF668B0F...

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

2. 有关于HTMLDivElement文本布局的问题 [ 98%]

...='keyword' href='#javascript' onClick='this.pic()'><font color="#65e2ff">力量</font></a>、<a name='keyword' href='#javascript' onClick='this.pic()'><font color="#65e2ff">敏捷</font></a>、<a name='keyword' href='#javascript' onClick='this.pic()'&g...

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

3. Sprite-绘制各种形状 [ 96%]

... Laya.stage.addChild(sp); //画线 sp.graphics.drawLine(10, 58, 146, 58, "#ff0000", 3); //画连续直线 sp.graphics.drawLines(176, 58, [0, 0, 39, -50, 78, 0, 117, 50, 156, 0], "#ff0000", 5); //画曲线 sp.graphics.drawCurves(352, 58, [0, 0, 19, -100, 39, 0, 58, 100, 78, 0, 97, -100, 117, 0, 136, ...

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

4. Sprite-绘制各种形状 [ 96%]

... Laya.stage.addChild(sp); //画线 sp.graphics.drawLine(10, 58, 146, 58, "#ff0000", 3); //画连续直线 sp.graphics.drawLines(176, 58, [0, 0, 39, -50, 78, 0, 117, 50, 156, 0], "#ff0000", 5); //画曲线 sp.graphics.drawCurves(352, 58, [0, 0, 19, -100, 39, 0, 58, 100, 78, 0, 97, -100, 117, 0, 136, ...

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

5. [LayaAir3]打包安卓渲染模式使用OpenGL会报glUtilsParamSize的错误 [ 96%]

...模式选择OpenGL就会一直报:glUtilsParamSize: unknow param 0x000084ff 如果改成WebGL模式就不会 2025-10-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 LayaAir小牛 赞同来自: 可以发一个d...

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

6. 报告bug: graphics.drawCircle在layaair调试时,改变外框尺寸,半径未能自适应调整 [ 94%]

...制两条在sp的原点交叉的直线 sp.graphics.drawLine(-50,0,50,0,'#00ff00',1); sp.graphics.drawLine(0,-50,0,50,'#00ff00',1); //绘制以sp的原点为中心,半径40的圆 sp.graphics.drawCircle(0,0,40,null,'#00ff00',1);在layaair模式下调试运行,当拖动调试器边框时,绘制...

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

7. HTMLDivElement 2.0 只有单行内容是 水平排版不居中 [ 94%]

... style:样式标签,比如:<div style='width:130px;height:50px;color:#ff0000'>abc</div>     * style支持的属性如下:      * italic:true|false;                   是否是斜体      * bold:true|false;                     是否是...

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

8. IDE-显示IDE创建的界面 [ 93%]

...ue为2 //复杂复制,可以通知某个属性,比如:label:{color:"#ff0000",text:"Hello LayaAir"} this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text: "Hello LayaAir"}}; //list赋值,先获得一个数据源数组 var arr = ...

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

9. IDE-显示IDE创建的界面 [ 93%]

...ue为2 //复杂复制,可以通知某个属性,比如:label:{color:"#ff0000",text:"Hello LayaAir"} this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text: "Hello LayaAir"}}; //list赋值,先获得一个数据源数组 var arr = ...

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

10. Sprite graphics的显示比例问题 [ 93%]

...) {console.log('KO!~'); })); character.graphics.drawLine(0, 200, 200, 0, "#ff0000", 1); character.graphics.drawLine(0, 0, 200, 200, "#ff0000", 1); character.graphics.drawCircle(100, 100, 100, null, "#ff0000", 1); character.graphics.drawRect(0, 0, 200, 200, null, "#0000ff", 1); character.graphics.dra...

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