Quote from: Khris on Sun 27/12/2009 23:29:07thanks, I'll try that.
You have to do it manually. In the room's before fadein event, call player.ManualScaling = true;, then set the scaling in the room's repeatedly execute.
An example: say you want to scale the player from 60% to 100% on a walkable area stretching from 10 to 290.
(100-60) / (290-10) = 40 / 280 = 1/7.
Thus:Code: ags player.Scaling = (player.x - 10)/7 + 60;
About the second part of your question, I'm not sure what you're after, could you explain a bit more?
What I mean when I say two walkable areas, is that if I were to scale left to right using a normal walkable area, I would want one area on if certain conditions were met. With your code, all I will have to do is have that code activate when those conditions are met.