Saturday, October 16, 2010

Implementation Log 1: Back to origin

As mentioned previously, I imagine the screen being a Cartesian coordinate system with the origin at the centre. However, as it is usually the case in any programming language, origin is at the top left corner in ActionScript. Therefore, I have no choice but to deal with all four cases individually, not the simple task of changing + and - signs once I've done one I was hoping.

Also, it's been decided how the alignment works as resizing happens. Let's say the the movie 1 in quadrant 2 (top left region) is being scaled up. The one in quadrant 3 will align to the left edge of movie 1 as it's being scaled down. On the other hand, the one in quadrant 1 will align to the top edge of movie 1. Remember they all have to keep the same margin between them at the same time.

Currently, I use image files in places where the movies should be. The resizing mechnism works well. However, there will be some tweaking to do later on for sure. For example, how fast the size of movie/image should grow with respect to the distance, and how big they should be initially. We will leave this for later when we have the video files.