Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Icey on Fri 07/05/2010 00:48:27

Title: sizing players [SOLVED]
Post by: Icey on Fri 07/05/2010 00:48:27
i need to no why every time i level this one room it seems the areas were i used to have size settings don't work anymore can some one tell me what i am sort doing wrong i dont no if it was in the script or not
Title: Re: sizing players
Post by: GarageGothic on Fri 07/05/2010 00:53:11
I don't know what you mean by "every time i level this one room", but the character scaling settings are stored in the walkable area properties in the room editor.
Title: Re: sizing players
Post by: Icey on Fri 07/05/2010 00:58:56
sorry about that what i mean is i made setting for scale-ling but before i go in to this room the  settings still worked but afterwords it stops but everything else is fine
Title: Re: sizing players
Post by: GarageGothic on Fri 07/05/2010 01:04:45
So you're saying that once you go into that room scaling doesn't in any other room either? Check that you're not setting the ManualScaling property for the player character to "true" anywhere in the script.
Title: Re: sizing players
Post by: Icey on Fri 07/05/2010 01:07:17
will do!
Title: Re: sizing players
Post by: Icey on Fri 07/05/2010 01:19:30
ok i no what the problem is[fixed]
Title: Re: sizing players
Post by: Dualnames on Fri 07/05/2010 01:37:23
Eh, what? Seriously, I'm making the least of senses, in this forum, but you icey games, are the master! So this is the question:

I want to know why every time I level up, the scaling of the walkable area doesn't work anymore.

Answer: You're probably either disable the walkable area, or you set ManualScaling property to true, and therefore it ignores the walkable areas.
Title: Re: sizing players
Post by: Icey on Fri 07/05/2010 01:40:56
TRUE TRUE, THAT'S WHAT HAPPENED! but the walking area still worked just scale-ling :]
Title: Re: sizing players
Post by: Dualnames on Fri 07/05/2010 01:44:47
RemoveWalkableArea (int areanum)

Removes the walkable areas in colour AREANUM from the current room. You can put the area back with RestoreWalkableArea.


NOTE: When the player leaves the screen, all the walkable areas are reset. Therefore, if you want an area to remain off when they leave the screen, you will need to set a flag, then run the RemoveWalkableArea command in the "Player enters room" event when they return.


(Please take note on the bold part, think of what you're doing, think again, think again, yes, keep thinking, and you probably either solved it, or not.

Title: Re: sizing players
Post by: Icey on Fri 07/05/2010 02:13:09
ok