This week gonna be a short working week.
Because Christmas is coming......
Kevin, Ming Hong and Bernard were on leave. Therefore my motivation was not that high and progress not too good neither. However, I still tried to continue with my work. While doing the application, I met some difficulty on the dragging of the image.
Problems:
1. The image could only move within a small area.
2. Within the area, as long as a mouse click event occur, the image will move to the mouse cursor.
I knew something is wrong at my storing part, which I set two variable to store previous X-axis coordinate and previous Y-axis coordinate. I had trouble shoot the coding countless time. Everything seem to be fine. Initially, I thought it might be my fault and unable to spot the error. So I gave Wilson, You Hock and Leonard a copy of my work to help me check for error. They also agreed with my coding. I guess Quartz composer does not accept storing of value in Javascript. Continue on research..............
Tuesday 23/12/2008
I am done with my dragging function. Thanks to Wilson. He told me that I could actually use a Math to store number value. With that, I am able to make it work functionally. However, that is not the end of the function, I still need to do the "holding" part. Then, that can be consider as complete.
The holding part is pretty similar to the dragging part as both need to be store in an arraylist and a Math to store a value.
For the holding part, I set it for a second, therefore a second later the image will be lock to the laser detected.
Wednesday 24/12/2008
Christmas Eve!!!
Half day work.... Seem to be non working day.. At the pantry is crowded with many people preparing for Christmas party. I continue testing my application to ensure that the dragging and holding is working and make some changes to the holding part.
At about 11, we went to pantry to have Christmas party and after that we headed back home!!
Thursday 25/12/2008
Merry Christmas!!
No comments:
Post a Comment