Easy rescaling of the character [SOLVED]

Started by Cfant, Wed 14/06/2023 12:41:20

Previous topic - Next topic

Cfant

I'd like to apologize first - I searched the forums for a while and the manual too, but I miss the answer... the character has of course different sizes. In one room he is on the at the foot of a mountain, in another room in the kitchen - the character appears different sizes. I can't find a way to simply adjust the character sprites. aerea scaling is only for when the character moves forwards or backwards, isn't it? do I need different sprites for my request? in other words, different characters (character_size_hill; character_size_indoor)?

or is there any way to tell the programm "make character in this room 30% bigger"?

Thank you and best regards!

Edit: Ah, I have to resize the walking aera!

Khris

You seem to have solved this on your own, but "resizing the walkable area" sounds kinda off.
To use a different size for the entire area, simply enable scaling, then set both factors to the same number.

Alternatively, put something like this in room_Load
Code: ags
  player.ManualScaling = true;
  player.Scaling = 130;

SMF spam blocked by CleanTalk