设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 3105|回复: 7
打印 上一主题 下一主题

[交流讨论] 图片显示可能会非常影响游戏的帧率

[复制链接]

Lv3.寻梦者

梦石
0
星屑
3404
在线时间
461 小时
注册时间
2013-12-7
帖子
333
1
发表于 2018-5-2 11:47:24 | 显示全部楼层
A plugin that includes a sprite renderer that reduces border artifacts and 3 blend mode implementations for WebGL

Allows to use blendModes that are not available in pure webgl implementation, such as PIXI.BLEND_MODES.OVERLAY.

Please, don't add children to sprite if you use those blendModes.

Use PIXI.picture.Sprite instead of PIXI.Sprite, or change sprite pluginName to picture, or call renderer.plugins.picture from your own Sprite implementation.


你可以在https://github.com/pixijs/pixi-picture查看它的用法以及DEMO.

点评

_(:з」∠)_还是看不懂  发表于 2018-5-3 11:07
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-5-7 06:02

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表