silverlight2 游戏 1 你能坚持多少秒

这是开始学习silverlight的第一个游戏


源码下载 https://files.cnblogs.com/hubj/Movebox.rar

感谢各位的关注,已增加重新开始功能! :)

click onto the red block with jump over it:
鼠标移动到红色部分。
move the red block avoiding crash with the blue ones
拖动红块,避免碰到蓝色部分。
don't touch the black edge.
不要碰到黑色区域。
if you can reach more than 18 seconds, you are a genius.
如果你能达到18秒以上,你算得上是个天才。

1、游戏管理类
GameManager.cs


Page.xaml.cs
Code

DragManager.cs
Code

Enemy.xaml.cs
Code

Owner.xaml.cs
Code

Page.xaml.cs
Code
原文地址:https://www.cnblogs.com/hubj/p/1457637.html