Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: OllyRich on Thu 21/07/2005 10:34:34

Title: Character size
Post by: OllyRich on Thu 21/07/2005 10:34:34
Hi,

Another question. Is there any command in ags for setting the size of a character. I have a group of pre-determined characters in my character group, and want to place them in new rooms. The problem is that even when I am using the room scaling property, my charaters are not of an appropiate size. Can I detemine the size within the ags environment?
Title: Re: Character size
Post by: Gilbert on Thu 21/07/2005 11:11:17
Can't you tell us what do you mean by "not of an appropiate size"?
You can change these scaling parameters in game using the scripting function SetAreaScaling().
Title: Re: Character size
Post by: OllyRich on Thu 21/07/2005 13:11:48
Well I have taken over a project from someone else, who had already loaded up various characters in the character area. I don't want to change the scaling of the rooms, I just want to change the size of the character. The character should not be able to move (has a fuxed position) - so therefore I just need one size for him. The problem is that when I insert him in an area he is too big. Is there a way I can change the size of the character directly?

Cheers
Title: Re: Character size
Post by: Gilbert on Thu 21/07/2005 13:24:53
Changing the area scaling parameters is the easiest way already.

Otherwise you need to resize your graphics and reimport.
Title: Re: Character size
Post by: GarageGothic on Thu 21/07/2005 13:31:46
If the character stands still, just make a small special walkable area for him, which the player can't enter (have a 4-pixel wide non-walkable ring around his x,y coords) and then set the scaling percentage of that area to the size you want.