|
-
Well, the pictures work now. I don't know how to help with your problem. I would expect that you'd have to keep your tiles in a structure so that you can easily find the neighboring 8 tiles, and manipulate their height and width accordingly. It looks like the particular scaling factor depends on the mouse position in that the squishing is not symmetrical vertically. It's an interesting problem. Basically, you know that you have 3x small size width and 3x small size height in which to place those resized 9 tiles. You also know how big the middle tile is, so you can derive the width and height of the smaller tiles by divvying up the 3x - middleTile.width according to some weighting technique.
Good luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|