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

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

1. graphicsfillTexture 圆角图边缘有多出线条 [ 100%]

...s.fillTexture(texture,0,0,texture.width,texture.height,"repeat"); 如果用drawTexture就没问题,因为平铺需求 需要用到fillTexture,但周边有线条 附件 : --> 2018-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

2. fillTexture使用问题 [ 90%]

fillTexture使用问题 sprite使用drawTexture是可以正常使用的,但是用fillTexture时无任何效果。 class Map extends laya.display.Sprite { static width: number = 1188; static height: number = 594; constructor() { super(); Laya.loader.load("res/images/map_01.png", Laya.Handler.creat...

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

3. 纹理平铺怎么做 [ 74%]

... jacksing888 相关问题 Graphics.cmds切换纹理做动画 图片通过drawTexture平铺出现缝隙 tiledMap api 纹理索引值及TileSetId的含义? clearTextureRes无法恢复(另文本纹理释放有bug,经常出现文本渲染混乱) 纹理截取后内存释放不了 希望加入类似...

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

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

...raphics.fillTexture(tex, 0, 0, 100, tex.height);// 无法显示 p.graphics.drawTexture(tex, 0, 0, 100, tex.height);// 正常显示   忘记说明了,native上显示有问题,网页是正常的 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

5. 分享个用美术资源做位图文本的方法。。。 [ 49%]

...有找到对应的字符:" + targetChar); continue; } var charSp = this.drawTexture(charData); charSps.push(charSp); } this.charSprites = charSps; this.setCharsPos(); } // 从图集上面抠图 private drawTexture(charData){ var charSp: Laya.Sprite = new Laya.Sprite(); charSp = Laya.Pool.getItemBy...

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