Using different scaling levels in the same area [solved]

Started by HandsFree, Mon 01/08/2011 17:51:48

Previous topic - Next topic

HandsFree

Hi,

I set the MaxScalingLevel and MinScalinLevel properties of a walkable area to suit the playable character.
Later in the game I used a different view but that character sprite is bigger, so I want to adjust the scaling levels for that area in a later part of the game.

I couldn't find a way to set the levels in the script, so I've drawn a second walkable area over the first one with different settings. Then I used  RemoveWalkableArea(1); RestoreWalkableArea(2); where needed.
But apparently the first walkable area gets erased when you draw another oner over it (tried it a few times because I thought I erased it by mistake).

Is there a way to do this?
thanks

Khris

Each set of areas is stored as a single bitmap i.e. they can't overlap.

You're looking for: http://www.adventuregamestudio.co.uk/manual/SetAreaScaling.htm

HandsFree

Yes that's it.
I searched for MinScalingLevel but nothing showed up.

thanks.

monkey0506

If you ever did need overlapping areas, you could treat it like you would a Venn diagram, where each of the non-overlapping areas would have their own unique walkable area, and the overlapping areas would share a third area (or more depending how complex you need it to be!).

SMF spam blocked by CleanTalk