Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: HandsFree on Sat 14/09/2013 10:57:09

Title: character size unpredictable? [solved]
Post by: HandsFree on Sat 14/09/2013 10:57:09
The resolution we are using is 640*400. I've been given a .chr file and I imported it in AGS (3.2.1.) and when set at 100% the character takes up about 75% of the height of the screen.
I used the 'export sprite to file' option on one of the sprites to see how big it is, and it's 158 pixels high.

So why would a 158 character sprite on a walkable area set to 100% take up 75% of the screen height when the screen is 400 pixels heigh? Any ideas?
thanks
Title: Re: character size unpredictable?
Post by: Scavenger on Sat 14/09/2013 11:25:09
Is the character's sprite doubled in size? 75% of 400 seems to match up with the character's doubled height.

It's probably because the sprites that made up the character weren't imported at the right resolution. Check the Resolution entry in the sprite's properties tab - if it says 320x200, change that to 640x400.
Title: Re: character size unpredictable?
Post by: HandsFree on Sat 14/09/2013 12:43:18
Yes, it said 320*200, so I had to change it for all the sprites. Thanks.
How can we make sure the sprites are imported correctly? I don't see an option that relates to this problem. :confused:
Title: Re: character size unpredictable?
Post by: Khris on Sat 14/09/2013 15:46:51
At the time the sprites are imported, they get the current res setting of the game.
So this will only ever be an issue if a character is exported from a game, then imported into a game with a different resolution.
Hence no option either, since usually, everything will work as intended.
Title: Re: character size unpredictable?
Post by: HandsFree on Sat 14/09/2013 16:08:11
Ah, it must have been originally used in a 320*200 project then.
thanks