2012年10月25日 星期四

HW05

HW05-1: Storing mouse data in Arrays
Trace the code 33-15 located at Page 307 and Page 308. Extend the code such that the all circles with different colors.

原本是要做飛鏢的形狀,但是看起來有點像花朵


HW05-2:
Write a simple image animating system with at least six effects such as horizontal movement, vertical movement, zoom in, zoom out, fade in, and fadeout.
Note that, each effect can be control by a specified key. Go to Page 225 to Page 227 to learn methods to interact with the keyboard.


                  貓                         老鼠                





貓抓老鼠
我做的功能是貓吃老鼠,老鼠會回到原位,貓會變大 變大 變大。


心得:

這次做的作業非常的有趣新奇又好玩。
貓抓老鼠的遊戲可以做的功能更完整。




沒有留言:

張貼留言