Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: tiagocorreia on Wed 21/06/2006 17:29:29

Title: Suggestion: .ManualScaling for Objects
Post by: tiagocorreia on Wed 21/06/2006 17:29:29
Hi,

I've a Module that can rescale objects in any direction. But the problem is that this only works for characters, since objects don't have ManualScaling variable or Scaling.

I think this is not to hard to implement. Can this be done?
Title: Re: SUGGESTION ManualScaling for Objects
Post by: GarageGothic on Wed 21/06/2006 17:49:51
Just create a DynamicSprite of the object graphic and resize it to whatever scale you need. Then assign it back to the object (you would need a struct to keep track of the original graphic for each object).
Title: Re: SUGGESTION ManualScaling for Objects
Post by: strazer on Wed 21/06/2006 17:51:43
Use this tracker entry: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=187
Title: Re: SUGGESTION ManualScaling for Objects
Post by: GarageGothic on Wed 21/06/2006 17:55:02
lol, ironically my posts in that tracker entry became obsolete the moment DynamicSprite scaling was introduced.
Title: Re: SUGGESTION ManualScaling for Objects
Post by: Pumaman on Wed 21/06/2006 19:20:02
Yeah, this really should be implemented for objects too.