【汉化】YEP.141 – Scale Sprites

YEP.141 – Scale Sprites

Introduction and Instructions

Sometimes we want to use sprites from different sizes other than 48×48 for our standard sprites. But sometimes, we’d also like to scale them from the actual size they’re at, too. For example, if your sprite would be 128×128 tall and you want it to appear 48×48 in-game, this plugin will let that effect happen.

很多时候我们想让角色图的大小不是固定的48像素,但是我们也希望能让不是48像素的图片在游戏里使用,例如128128的图片也能够在游戏中显示为4848

To accomplish such a feat, when naming your scaled character sprite, add the following text to its name anywhere:

为了实现这个功能,当你命名你的文件时,你需要放入尺寸来命名

[48×48]

For example, if you had ‘Actor2.png’, rename it to ‘Actor2 [48×48].png’ to make it appear 48×48 in game. Note that due to Pixi’s scaling algorithm, this effect works better when scaling down than scaling up.

例如,如果你为Actor2.png重命名为Actor2[48×48].png,那么这个图片在游戏里会显示为48*48.当然,因为MV的算法机制,缩小比放大的效果好

Happy RPG Making!

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容