Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: SilverSpook on Sat 16/01/2016 06:12:56

Title: Set Scale Of An Object Manually?
Post by: SilverSpook on Sat 16/01/2016 06:12:56
Hi, is it possible to set the scale of an object manually?  I see that you can have an object change size according to the walkable area it's on but I need to be able to set the size of an object at a certain time.

Thanks!
Title: Re: Set Scale Of An Object Manually?
Post by: AnasAbdin on Sat 16/01/2016 06:46:03
Maybe not the answer you're looking for. But in such case, I create a character instead of an object.
Title: Re: Set Scale Of An Object Manually?
Post by: SilverSpook on Sat 16/01/2016 07:10:57
Thanks for the tip.  Yeah this is what I ended up doing. :)
Title: Re: Set Scale Of An Object Manually?
Post by: Necromancer on Wed 20/01/2016 23:58:37
...and how does one scale a character?
Title: Re: Set Scale Of An Object Manually?
Post by: Khris on Thu 21/01/2016 00:25:29
Consult the scripting section of the manual, then check the (sorted) list of "command groups" for "Character". You will find a folder that says "Character functions and properties". If you look at the list, you will find a long list of (again, sorted) functions, then properties.
Scaling is right where you'd expect it to be, between R and T.

While this method of finding a command may not always work, it often does, and the manual also has a search function.

Plus, I suspect you're looking for a way to scale the character based on their y position (continuous scaling); this option is found in the walkable area part of the room editor, in the properties of the current walkable area.