Class 03 - Director Workshop 1
1 |
A point in the movie stage
point(x,y);
- myPt = point(20,30);
- trace(myPt);
- trace(myPt.locH);
- trace(myPt.locV);
- trace(myPt[2]);
|
2 |
A rectangular area
rect(a,b,c,d);
- myArea = rect(10,20,30,40);
- trace(myArea);
- trace(myArea.left);
- trace(myArea.top);
- trace(myArea.right);
- trace(myArea.bottom);
- trace(myArea[3]);
|
3 |
The movie stage
- _movie.stage
- _movie.stage.rect
|
4 |
Location of a sprite is a point as well as the mouse location
- sprite(2).loc
- sprite(2).locH
- sprite(2).locV
- sprite(2).loc[1]
- _mouse.mouseLoc
- _mouse.mouseH
- _mouse.mouseV
- _mouse.mouseLoc[1]
|
5 |
The area of a sprite on stage is a rect
- sprite(3).rect
- member("abc").rect
|
6 |
The four corner of a sprite on stage is the quad
sprite(2).quad
It is a list of four points in floating point number.
The direction of measurement is Upper Left, Upper Right, Lower Right, Lower Left.
|
|