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

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

521. 一个LayaAir moveout target 设计上的疑问? [ 50%]

...* 10].graphics.drawRect(0, 0, 50, 50, "black");         sp[j + i * 10].size(50, 50);         sp[j + i * 10].pos(i * 60, j * 60);         sp[j + i * 10].on(Laya.Event.MOUSE_OVER, this, over);         sp[j + i * 10].on(Laya.Event.MOUSE_OUT, this, out);     } } function over(e) {   ...

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

522. 微信浏览器,input输入完成后,游戏不能还原 [ 50%]

... Laya.stage.addChild(scene);  var inputText = new Laya.Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - 400; inputText.y = Laya.stage.height * 0.4; // 移动端输入提示符 inputText.prompt = "Type some word...";  // 设置字体样式 inputText.bold = true; inputText.bgColor...

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

523. ios升级17.0后 UI 控件多次调用 RESIZE 卡死的问题 [ 50%]

ios升级17.0后 UI 控件多次调用 RESIZE 卡死的问题   附件 : --> 2023-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 诗和远方 赞同来自: 大佬们有么有解决方案?给点点子。 ...

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

524. 技术文档svg不可以使用 [ 50%]

...ght="100%">' +'<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px">' +'<em>I</em> like ' +'<span style="color:white; text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px...

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

525. 阻止点击穿透问题 [ 49%]

...yer = new Sprite(); this.prizeAlertLayer.zOrder = 90; this.prizeAlertLayer.size(W, H);   let bg = new Sprite(); bg.alpha = 0.8; bg.graphics.drawRect(0,0,W,H,"#000000"); this.prizeAlertLayer.addChild(bg); this.prizeAlertLayer.addChild(Main.items["prizeinfo"]); Laya.stage.addChild(this.prizeAlertLaye...

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

526. Laya List给子元素添加事件后,滚动事件被劫持了 [ 49%]

...t default class StoreItem extends Laya.Box { constructor() { super(); this.size(195, 210); }  } 附件 : --> ListDemo.zip 2019-07-11 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Another 赞同来自: 看...

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

527. Panel使用文档(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 49%]

...graphics.drawRect(0, 0, 100, 100, "#ffcccc"); //给panel设置宽高 panel.size(100, 100); //给panel设置滚动条皮肤 panel.vScrollBarSkin = "comp/vscroll.png"; //将panel添加到stage上 Laya.stage.addChild(panel); //实例化Image组件 var img = new Laya.Image(); //给image添加皮肤 img....

来源: Laya2.0_文档 发布时间: 20210715

528. 2.1.1版加了3D物理引擎库后创建3个scene3D就报错 [ 49%]

... (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 "...

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

529. src/LayaSample.ts(513,21): error TS2694: Namespace 'ui' has no exported member 'ComponentDemoUI'. [ 49%]

...动画出报错Uncaught getUint16 error - Out of bounds Error: asBitmap no size! LayaAirIDE2.2 - Laya3D init error ,must support webGL Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 IDE不能运行调试提示:Chrome e...

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

530. 我看到这段话后,我 [ 49%]

...  //任意属性赋值     dataSource={label2:{text:"改变了label",size:14},checkbox2:{selected:true,x:10}};     */     __getset(0,__proto,'dataSource',function(){         return this._dataSource;         },function(value){         this._dataSource=value;   ...

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