Resolution -- Backgrounds and Sprites

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
Crazy Cactus
Regular
Posts: 117
Joined: Wed Jan 13, 2016 2:13 am
Contact:

Resolution -- Backgrounds and Sprites

#1 Post by Crazy Cactus » Fri Feb 12, 2016 11:25 am

Hi there,

Since our current game will be starting on sprites soon, I needed people's help on this matter.

As of right now, our background artist has created 4 out of 20 of the BGs for the game. They are using 1920x1080 resolution, as I have read for BGs the resolution is the biggest concern, with many of the opinion that resolution was more important than dpi. 1920x1080 resolution wasn't a problem for my background artist, and we're using that, plus 300 dpi 'just in case.'

Here's the real question: Is there a size/resolution/dpi that would be best for sprites? (Keep in mind these will be thigh-up shots, if that makes a difference.)

Thanks in advance!

User avatar
Shakezula
Regular
Posts: 67
Joined: Wed May 20, 2015 8:01 pm
Organization: Digital Sandbox
Contact:

Re: Resolution -- Backgrounds and Sprites

#2 Post by Shakezula » Sun Feb 14, 2016 5:18 pm

maybe so, but I'd make it on the big size, as you can always resize a cache of it with

Code: Select all

im.factorscale('SpriteName.png, SizePercentageAsDecimal)
Long as the user has a computer that was made in the last 20 years they should be able to run high res image that has been recached as smaller.

User avatar
PyTom
Ren'Py Creator
Posts: 15574
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Resolution -- Backgrounds and Sprites

#3 Post by PyTom » Mon Feb 15, 2016 1:45 am

Keep in mind it also might be useful to draw the sprite larger than you display it at. For example, you could draw the asset at "double size", and scale/crop it to have a selection of closeups and distance shots.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Kia
Miko-Class Veteran
Posts: 937
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Skype: KiaAzad
Contact:

Re: Resolution -- Backgrounds and Sprites

#4 Post by Kia » Mon Feb 15, 2016 8:30 am

when you are using pixels for unit, the dpi is irrelevant for computers,
DPI (dots per inch) is important if you're giving the size in inches, centimeter or any other unit OR you want to print the image (for print you'll need higher resolutions and specify the size of the image in something other than pixel)
screen resolution is 72 dpi so I suggest keeping it that way for images that are used inside the game though computers will ignore it and use the pixel size for showing the image.

User avatar
Crazy Cactus
Regular
Posts: 117
Joined: Wed Jan 13, 2016 2:13 am
Contact:

Re: Resolution -- Backgrounds and Sprites

#5 Post by Crazy Cactus » Mon Feb 15, 2016 9:36 pm

The sprites this artist does are very large, and the file size is accordingly (obviously). I was just concerned since I've experienced the occassion where an image file is so large and so detailed, that when you try to downscale it, the edges blur (bad pixellation), and loses its sharpness/clarity.

I just didn't know if there was a simple answer to this as "no worries, Ren'py automatically downsizes for you" or "no, you should probably size your sprites at _____ for best optimization with the program" -- things like that.

Still, I appreciate all of your help with this!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]