Monday, November 3, 2008

Week 2

I will update the blog weekly because I am too lazy to update them day by day.

27 Oct
Public holiday.. Happy Deepavali.

28 Oct
Presented our ideas on the simple app to integrate with lightdraw. My idea was to create a game similar to iPhysics game in ipod touch and iphone. However, after some discussion with kevin we felt that the game might take a longer time to complete. Our main objective is not on the app because it is just a practice for us to learn and understand more about c programming. 
After lunch, kevin had a change in plan which we were spilt into 2 different teams and develop 2 different applications. Me and youhock were one team and we were assigned to the app Jigsaw Puzzle. Ryan and wilson developed Pong Game.  Had a little lecture on C programming and it was very boring and confusing because there are so much things to remember and learn.

29 Oct
Me and hock had some discussions on the app and we decided to look for jigsaw open sources and from there we develop in to our own. We could not find any good open source and were stuck for quite long. Kevin told us to create our own instead of using other people's codes because they are hard to read and understand. Kevin also told us to reference the source for the flow of the game.
We split the app into different parts such as rotation of the pieces, snapping and others. So i started off by doing the rotation for the pieces.

30 Oct
 Continue with the rotation method and added a method to generate random start angle for the pieces. I continued on mouse events which I did some research on the several mouse events. I create a mouse event for the drag image and encountered some problems because I not very sure about the mouse events.

31 Oct
Continue with the mouse event to drag the image. Finally, I can drag the image after some help from Ming Hong. Even though i create the rotate method but its only for the start. I need to create a mouse event to rotate the piece. Had a little discussion with kevin on the different ways to rotate an image such as placing the mouse over at the corners and do a click. So I use the method where rectangle will appear whenever a mouse is over it and user can click on the corner to make the piece rotate. 

Weekly Reflection
For this past week I have learn and understand more about c programming. I also learned that communication skills is very important for us. The reason been that we have good ideas but we cannot present it to our boss so the effort is wasted for planing and thinking. 


No comments: