大约有 638 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
Laya_社区(390) laya_api(53) Laya3.0_api(48) Laya2.0_文档(47) Laya3.0_文档(33) Laya2.0_示例(31) Laya_示例(28) Laya2.0_api(8)
同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count 顶点数超过65535 / 4会抛出错误这个知道,有没有办法绕开这个报错 尝试过draw 10000个点的时候,把a的纹理取出来重新绘制,但是好像没有效果 var a:Spr...
来源: Laya_社区 发布时间: 20181113
...断上升,大约1秒上涨0.06M,我自己挂了1个小时也上涨到200M的位置,这个应该是bug吧,该如何解决? 附件 : --> testLaya3D.rar 2019-07-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20190730
...p.graphics.drawTexture(texture,0,0,100,100); Laya.stage.addChild(sp); sp.x=200; } } } 2017-07-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Funkyfun 相关问题 两个对象new了一个相同的对象,调用第一个的一个方...
来源: Laya_社区 发布时间: 20170704
...按钮,点击按钮后将图片显示并将位置动态改到距离底部200,此时显示效果位置没有生效,只有文字去到了正确位置,运行效果如下 代码也很简单 附件 : --> TxtTest.zip 2026-01-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20260101
...Mask:Laya.Sprite = new Laya.Sprite(); bigMask.graphics.drawRect(0, 0, 300, 200, "#ffffff"); this.mask = bigMask; // let imgMask:Laya.Sprite = new Laya.Sprite(); imgMask.graphics.drawRect(0, 0, 100, 300, "#ffffff"); this.img.mask = imgMask; Laya.Tween.to(this.img, {x:100}, 10000).update = Laya.Handle...
来源: Laya_社区 发布时间: 20190722
... Laya.Skeleton; skeleton0 = this.m_templet.buildArmature(1); skeleton0.pos(200,700); skeleton0.showSkinByIndex(1); Laya.stage.addChild(skeleton0); skeleton0.replaceSlotSkinName("head","goblin/head","goblingirl/head"); skeleton0.play("walk",true,true,0,0,true); } } new GameMain(); 2018-01-26 添...
来源: Laya_社区 发布时间: 20180126
...tipBackColor : String = #111111[static] TipManager tipDelay : Number = 200[static] TipManager tipTextColor : String = #ffffff[static] TipManager toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 ...
来源: laya_api 发布时间: 20170929
..."); //设置file样式 file.style="filter:alpha(opacity=0);opacity:0;width:200px;height:100px;background:url(b1.png) no-repeat center;cursor:pointer;"; file.type ="file";//设置类型是file类型。 file.size ="30"; file.accept="image/png/jpg";//设置文件的格式为png; file.style.position =...
来源: Laya_社区 发布时间: 20190129
...nction IndexView(){ IndexView.super(this); this.angle = 0; Laya.timer.loop(200,this,this.loadProgress) var Sprite = Laya.Sprite; this.box = new Sprite(); this.box.cacheAs = "bitmap"; this.box.pos(0,0); this.say.addChild(this.box); this.draw = new Sprite(); this.box.addChild(this.draw); this.draw.gra...
来源: Laya_社区 发布时间: 20170807
...是50M,但是目前微信官方提供给开发者的最新缓存上限是200M,所以这个最新库会对微信小游戏端 增 删缓存有影响吗? 2025-05-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发...
来源: Laya_社区 发布时间: 20200327