大约有 1,828 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1468) Laya3.0_api(102) Laya2.0_文档(77) Laya2.0_api(64) Laya2.0_示例(37) Laya_示例(36) Laya3.0_文档(35) laya_api(9)
...和错误检查不一致,且惯性阻尼无效 startDrag(dragRegion,true,50,200,null,true,0.2) 有惯性,但是无阻尼 无阻尼! 附件 : --> LayaProject.rar 2023-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20230515
....Text(); title.text = g_game_title; title.font = "Arial"; title.fontSize = 50; title.stroke = 2; title.strokeColor = "Black"; title.pos(g_stat_width / 2 - title.width / 2, 40); Laya.stage.addChild(title); // 设定版权信息 var copyright = new laya.display.Text(); copyright.text = "Copyright © 2...
来源: Laya_社区 发布时间: 20160623
... 0 2 分享 微博 QZONE 微信 EagleNight 赞同来自: 可以看到调为50的对比数据,显存那一项在增长,麻烦再看一下,非常感谢 2019-06-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起...
来源: Laya_社区 发布时间: 20190617
... Laya.stage.addChild(this.sp); this.sp.graphics.drawRect(0, 0, w, h, "#FF7F50"); this.sp.size(w, h); this.sp.pivot(w / 2, h / 2); this.sp.pos(Laya.stage.width / 2, Laya.stage.height / 2); this.sp.on(Event.MOUSE_DOWN, this, this.onMouseDown); } onMouseDown(e) { const Event = Laya.Event; // 手机上...
来源: Laya2.0_示例 发布时间: 20251209
...ect.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height / 2, "#FF7F50"); //设置名称 coralRect.name = "珊瑚色容器"; coralRect.size(Laya.stage.width, Laya.stage.height / 2); Laya.stage.addChild(coralRect); coralRect.on(Event.MOUSE_DOWN, this, onDown); } function createDeepSkyblueRect(...
来源: Laya_示例 发布时间: 20251209
...phics.drawRect(0, 0, 100, 100, "#ffff00"); Laya.stage.addChild(sp); sp.x = 50; trace(sp.x); // 输出50 sp.cacheAs = "bitmap"; sp.staticCache = true; sp.x = 100; trace(sp.x); // 输出100,且编译出来的效果也是在这个位置,说明staticCache = true无效 2017-11-20 0 8 分享 微博...
来源: Laya_社区 发布时间: 20171120
...); Laya.stage.addChild(button); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.size(w, h); button.graphics.fillText(label, w / 2, 17, "20px simHei", "#ffffff", "center"); return button; } onDecreaseAlpha1(e) { const Event = Laya.Event; //移除鼠标单击事件 this.button1.off(Event.CLICK...
来源: Laya2.0_示例 发布时间: 20251209
... var v:View = new View(); v.graphics.drawCircle(50, 50, 100, "#000000"); v.pos(100, 100); this.addChild(v); } } } 然后, 报错就在Box上: Uncaught TypeError: Cannot read property 'Box' of undefined ...
来源: Laya_社区 发布时间: 20170725
...右边不卡呢。Android低端机都不卡 Laya_Aaron • 2019-06-11 17:50 @1558514766用户:原因已经在上面回复中了 Laya_Aaron • 2019-06-11 17:50 IOS小游戏没有Jit编译,所以性能不如安卓 1558514766用户 • 2019-06-12 10:01 这个不能解释iPhone7Plus,触摸屏幕左...
来源: Laya_社区 发布时间: 20190610
...als Static BlitDrawCall BlitDrawCall: object Defined in laya/utils/Stat.ts:50 color color: "white" = "white" Defined in laya/utils/Stat.ts:50 mode mode: "average" = "average" Defined in laya/utils/Stat.ts:50 title title: string = "BlitDrawCall" Defined in laya/utils/Stat.ts:50 units units: "int" = "...
来源: Laya3.0_api 发布时间: 20231115