Introducing the use of Silverlight 2.0 (c#) to develop a fly-fighting game with background music
How to play: Use the mouse to control the movement of the scope, and use the left mouse button to fire.
Ideas
1. The movement trajectory of the fly is calculated using a simple formula, namely sine wave. The formula of sine wave: y = A * sin(ωx + φ)
2. The fly control is developed using the MVP (Model - View - Presenter) pattern. Its purpose is just to illustrate how to apply the MVP pattern in Silverlight.
Expand