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

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

491. 升级2.0.2后,绘制图形会有抖动 [ 72%]

...在main.as里import miniadapter然后加载远程资源 就会无限加载 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 如何获取Sprite上用graphics.drawTexture绘制的texture? 2.1 spine 动画播放出现抖动的bug修复 怎么使用ttf,版...

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

492. laya 好像不能加载网络路径图片 [ 72%]

...网络路径图片 Uncaught TypeError: tex.once is not a function     at Graphics.__proto.drawTexture (laya.core.js:1577)     at onloaded (laya.core.js:1864)     at Graphics.__proto.loadImage (laya.core.js:1860)     at Function.Animation.createFrames (laya.core.js:17617)     at Animation._...

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

493. 在 move 的时候绘制线,但每次只存在一条 [ 72%]

...;绘制图形以后,怎么删除释放资源? 怎么检测点是否在 graphics所绘制的区域内 如何获取Sprite上用graphics.drawTexture绘制的texture? 小游戏开放数据域下使用Laya.List绘制了排行榜,但是触摸没有滚动响应 使用滤镜、遮罩、或者绘制...

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

494. iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 [ 72%]

... maskArea: Laya.Sprite = new Laya.Sprite(); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); maskArea.name = "maskArea"; this.guideContainer.addChild(maskArea); this.interactionArea = new Laya.Sprite(); this.interactionArea.blendMode = "destinat...

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

495. [LayaAirIDE3]2d相机打包后问题 [ 72%]

...a.loader.getRes("res/building.png");                 this.building.graphics.drawTexture(texture, 0, 0);             }),             null,             Laya.Loader.IMAGE         );     }      // 可视化边界     private visualizeBoundaries() {         const ...

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

496. 鼠标画线的问题 [ 72%]

... 2018-01-09 0 0 分享 微博 QZONE 微信 qian 赞同来自: 可以使用graphics绘制线条试一下 2018-01-09 0 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 我是用的graphics这个绘制,刚才说的鼠标位置问题也解决了,现在还剩下鼠标画线动作与panel组件...

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

497. 请教Config.isAntialias=true会不会对整体性能有影响 [ 72%]

...ue会不会对整体性能有影响 因为游戏当中有些地方需要用graphic画扇形,为了避免扇形边缘有锯齿,启用了这个全局设置项。 想知道是否会对全局性能产生不利影响。 因为毕竟只有部分显示graphic扇形的地方要抗锯齿,如果因此...

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

498. Sprite loadImage 的时候出现多张图片同时显示 [ 72%]

Sprite loadImage 的时候出现多张图片同时显示 this.img.graphics.clear(); var imgUrl = (this.flag = !this.flag)? this.imgUrl1 :this.imgUrl2; this.img.loadImage(imgUrl,100,50); 简单的点击sprite切换图片,结果会出现两张图片同时显示的情况 附件 : --> 2018-04-04 添...

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

499. Texture在绘制时能不能再次指定缩放? [ 72%]

...时器timer 如何清除sharedCanvas上一次绘制的内容 webgl 绘制graphics出报错 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 问题状态 最新活动: 2017-03-05 11:31 浏览: 1349 关注: 2 人 reven1983 • 2017-03-05 12:11 关键我同一...

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

500. LayaNative2.0 beta3 单像素图片平铺绘制失败 [ 72%]

...test.png");// 此图宽度只有1像素,横着平铺绘制无法显示 p.graphics.fillTexture(tex, 0, 0, 100, tex.height);// 无法显示 p.graphics.drawTexture(tex, 0, 0, 100, tex.height);// 正常显示   忘记说明了,native上显示有问题,网页是正常的 2018-10-25 添加评论 ...

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