Dynamic sprite resize and blur?

Started by Knox, Wed 18/08/2010 17:02:09

Previous topic - Next topic

Knox

Hi,

Im currently resizing dynamic sprites with the resize function but I feel the quality seems a bit "choppy" compared to if I did it in photoshop. I know I can just save an additional sprite with the resized one from photoshop, but Id rather save memory by redrawing + resizing than save a 2nd load of sprites, resized.

Is  there a way in AGS to somehow "mimic" the resizing of images in photoshop where it seems its much smoother/blurry than the AGS resize?




**EDIT**
Does this have something to do with this thread?
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=41551.0
--All that is necessary for evil to triumph is for good men to do nothing.

Dualnames

I think photoshop uses a filter of some sort. As far as i can tell that is. Some kind of an anti-aliasing. While AGS directly resizes the image in the same way MS Paint does. Perhaps  drawing as well above the resized sprite a blur/mosaic transparent filter?
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Khris

Fun fact: I started writing a module for rescaling DynamicSprites using filters. Blurry resizing is sort of all set; transparency is still an issue though.

I'll put the function/module up here when I get home unless someone's faster :)

Dualnames

Quote from: Khris on Wed 18/08/2010 20:46:19
Fun fact: I started writing a module for rescaling DynamicSprites using filters. Blurry resizing is sort of all set; transparency is still an issue though.

I'll put the function/module up here when I get home unless someone's faster :)

YAY!! That is so great Khris!! :D. I wanted something like that for my game, to get rid off of some tedious work.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Knox

Nice Khris! Man oh man this will save so much work :P

You should also post your paypal information so people can forward you some $$$... ;D
--All that is necessary for evil to triumph is for good men to do nothing.

Khris


Knox

--All that is necessary for evil to triumph is for good men to do nothing.

SMF spam blocked by CleanTalk