[OLPC-Games] Image resizing?

Kent Quirk kent_quirk at cognitoy.com
Wed Sep 5 01:34:21 EDT 2007


Roberto:

Why do you need resizing for an adventure game system?

PyGame does have a rotozoom feature that can resize -- although it might 
not be as smooth as you'd like it. But it can also be a big performance 
hit. It might be better if you try to keep icons and things to a 
constant size.

    Kent

Roberto Fagá wrote:
> Hey,
>
> As PyGame doesn't have a good resize function (it deforms the
> surface), I'm using PIL (python-imaging) for this, which is doing this
> work very quickly. But PIL isn't shipped with Sugar, so, is there any
> other way to resize images quickly?
> _______________________________________________
> Games mailing list
> Games at lists.laptop.org
> http://lists.laptop.org/listinfo/games
>
>   


-- 
------------------------------------------------------------
Kent Quirk           I'm making a game about global warming.
Game Architect                        Track the progress at:
CogniToy                http://www.cognitoy.com/meltingpoint



More information about the Games mailing list