I've been trying to emulate Pixel Art with my sprites, so I made them small and tried enlarging them with Ren'Py commands, but anytime I try that, Ren'Py smooths the edges of the images (Both, at the edge of the image itself and on the edge between colors). I can see the use of this, but I want to turn this off and make images get rough edges, is there a way to do this?
Thanks in advance.
Getting rough edges in sprites
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: Getting rough edges in sprites
im.Scale and im.FactorScale can do this if you set bilinear=False.
Re: Getting rough edges in sprites
Yep, that was it. I was actually going to edit the post to clarify that I was looking for a Nearest Neighbor Interpolation but you already replied.
Thanks, Asceai!
Thanks, Asceai!
Who is online
Users browsing this forum: Ahrefs [Bot]