[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Best practices for creating multiple resolution 2D pixel-art games?



On Thu, 2012-04-05 at 18:24 +0200, Santiago Romero wrote:
>  How do you think I should be handling all this?

One idea not mentioned, that I'm thinking about implementing, is to use
vector graphics. I'm presuming that when you import an svg file into a
game, it is turned into a standard bitmap.
	But, I see no reason you can't scale it to the correct size for
whatever resolution is selected on the fly, before the code imports it
as a bitmap. This means you would always have a perfect full-resolution
image for any selected screen resolution.

You would probably need to decide on an aspect ratio and stick with it
though, how you decide to adjust to different screen ratios is up to
you.

Attachment: signature.asc
Description: This is a digitally signed message part