Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: The Almighty Metroid on Mon 13/10/2008 22:42:14

Title: How to change players characters?
Post by: The Almighty Metroid on Mon 13/10/2008 22:42:14
ok i have a zoomed view in my game and in one room i want to zoom out.
how do i change the player character in the script?
Title: Re: How to change players characters?
Post by: Ubel on Mon 13/10/2008 22:49:03
Character.SetAsPlayer();

It's in the manual. You should check it out for more information. Also, I can't see how switching the player character could help you achieve what I think you're trying to achieve.
Title: Re: How to change players characters?
Post by: on Tue 14/10/2008 00:10:49
If you just want to "zoom" the character (making him twice as large or smaller), you can also just change the scaling factor of the walkable area to save some work. Usually it's 100%, but it can be scaled up to 200 and down to 1(?).
Title: Re: How to change players characters?
Post by: The Almighty Metroid on Tue 14/10/2008 00:59:02
ok i got it thanks ghost!  ;D