Adventure Game Studio

AGS Support => Modules, Plugins & Tools => Topic started by: tiagocorreia on Wed 24/05/2006 11:54:26

Title: MODULE: AreaScaling v1.2
Post by: tiagocorreia on Wed 24/05/2006 11:54:26
I've developed a module based on SteveMcCrea's RegionScale module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=26714.msg338390#msg338390).

This module allows the characters to have continuous scaling, but in any direction. Currently AGS only supports the vertical direction and this module adds this functionality to any direction.

The main difference between this module and the RegionScale module is that it uses Walkable areas instead of Regions.

In version 1.2, you can now specify a multiplier for the characters so they can have different sizes in the areas. If you add the same character, it only changes its multiplier.

10-July-2006: New version!
Download AreaScaling module v1.2 (http://www.cnotinfor.pt/ags/AreaScaling.scm)

26-June-2006: New version

Many thanks to Steve McCrea for the original idea.
Title: Re: MODULE: AreaScaling
Post by: jasonjkay on Wed 24/05/2006 12:50:56
So what exactly does this module do? Anyway I'll just add it to my site later on. The site is in the sig.
Title: Re: MODULE: AreaScaling
Post by: Kweepa on Wed 24/05/2006 15:41:16
Nice job!
Using the walkable areas makes a lot more sense.
Title: Re: MODULE: AreaScaling v1.1
Post by: tiagocorreia on Mon 26/06/2006 16:48:57
New version available.
I've changed it to static, since it doesn't use any of the object oriented paradigm.
the struct is just a way to combine functions.

I've also fixed a small bug, that made the character to have a different size for a small fraction of time, when chaging rooms.
Title: Re: MODULE: AreaScaling v1.1
Post by: monkey0506 on Tue 27/06/2006 04:08:38
This sounds very useful. The computer I'm on ATM doesn't have AGS, but I'll definitely take a look at this when I get a chance.
Title: Re: MODULE: AreaScaling v1.1
Post by: Samwise on Mon 10/07/2006 09:02:23
Please see my question here:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=27362.0

Is it possible to solve this issue by using this module?
Title: Re: MODULE: AreaScaling v1.1
Post by: tiagocorreia on Mon 10/07/2006 11:32:14
Yes, this module can do what you want.

but it needs some changes. Since this module can resize characters, but they all resize the same size. Maybe waht you need in a non staic object, add on enter each room, you should assing differednt scaling foreach character.
Title: Re: MODULE: AreaScaling v1.1
Post by: GarageGothic on Mon 10/07/2006 12:49:12
Why not just add a struct with scaling multipliers for each character? If the main character is 400 pixels tall, a 300 pixel character would then have the multiplier 1.33 to be the same height at the same scaling area. That way you wouldn't need room specific variables. Of course this only saves work if the NPCs move between a number of rooms.
Title: Re: MODULE: AreaScaling v1.2
Post by: subspark on Thu 13/07/2006 10:21:50
Which is highly likely for my game.

Could you possibly update your AreaScaling Module, tiagocorreia, to include this functionality? It's a fantastic tool and deserves every bit of attention. This way we can all benefit from a Generic Scaling Module that does practically everything we have ever needed.
Title: Re: MODULE: AreaScaling v1.2
Post by: Gilbert on Thu 13/07/2006 10:37:15
Actually I had already made a module (http://www.2dadventure.com/ags/ichascal.zip) in that other thread Samwise mentioned (it does only individual character scaling but not arbitrary direction scaling though), guess few people paid attention to that. :P
Title: Re: MODULE: AreaScaling v1.2
Post by: monsterbuzz786 on Mon 05/09/2016 02:57:34
Where has this module gone?  Does anyone have it still that could upload it? Thanks
Title: Re: MODULE: AreaScaling v1.2
Post by: Mehrdad on Mon 05/09/2016 05:48:11
Here you are :
https://www.dropbox.com/s/gg0mhhlldl85w4e/AreaScaling.zip?dl=0