Character size

Started by OllyRich, Thu 21/07/2005 10:34:34

Previous topic - Next topic

OllyRich

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?

Gilbert

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().

OllyRich

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

Gilbert

Changing the area scaling parameters is the easiest way already.

Otherwise you need to resize your graphics and reimport.

GarageGothic

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.

SMF spam blocked by CleanTalk