Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ultra Magnus on Fri 09/10/2009 14:42:47

Title: Making save game sprites look decent [SOLVED]
Post by: Ultra Magnus on Fri 09/10/2009 14:42:47
Hello people. I come to you with an aesthetic problem.
And that problem is that DynamicSprite.CreateFromSaveGame looks terrible after resizing.

On the left here, we have CreateFromScreenShot, on the right, CreateFromSaveGame.
(http://img208.imageshack.us/img208/8779/dynamicsprites.png)

Is there a way to make CreateFromSaveGame look better?
Alternatively, is there maybe a way to make a dynamic sprite less dynamic, so I could use CreateFromScreenShot and it will still be there after closing and re-opening the game (other than saving it to a separate file)?

3.1.2 SP1, by the way.

Thanks in advance.
Title: Re: Making save game sprites look decent
Post by: GarageGothic on Fri 09/10/2009 15:56:47
Have you set game.screenshot_height and game.screenshot_width to the actual display size of the savegame screenshot? If so it shouldn't be necessary to resize it manually.
Title: Re: Making save game sprites look decent
Post by: Knox on Fri 09/10/2009 16:46:36
I set the game.screenshot_height and game.screenshot_width to what I wanted, and it looks good.

By the way, that screenshot looks awesome...nice style :)
Title: Re: Making save game sprites look decent [SOLVED]
Post by: Ultra Magnus on Sat 10/10/2009 03:15:02
I hadn't set the game.screenshot values because I figured they'd be redundant, as DynamicSprite needs width and height variables to work anyway.
But I was wrong, and setting them has indeed fixed it.

Thank you both.