Description: ASP.NET俄罗斯方块游戏SilverLight版,一款运行于ASP.NET的俄罗斯方块游戏,基于SilverLight,SilverLight是微软的一项新技术,侧重于网页图形显示方面,这款游戏可以学习一下。
-ASP.NET version of Tetris game SilverLight, ASP.NET runs on a box of the Russian game, based on SilverLight, SilverLight is a new Microsoft technology, focusing on aspects of web page graphics, you can learn the game. Platform: |
Size: 566272 |
Author: |
Hits:
Description: 用 Silverlight 2.0(c#) 开发一个七彩俄罗斯方块
玩法
↑ - 变形;← - 向左移动;→ - 向右移动;↓ - 向下移动
1、每个形状都是由4个“块”组成的,也就是“块”是俄罗斯方块的最小单位,首先要有一个“块”的用户控件。要求可以设置“块”的位置和颜色
2、经典俄罗斯方块一共7种形状,把每种形状所需要的功能抽象出来写一个抽象类,7个具体形状分别继承这个抽象类,并重写其抽象属性和抽象方法-With Silverlight 2.0 (c#) to develop a colorful Tetris
Play
↑- deformation ←- move to the left →- move to the right ↓- move down
1, each shape is by four block component, which is the block is the smallest unit of Tetris, we must first have a block of user control. Requirements can set the block position and color
2, a total of seven kinds of classic Tetris shapes, each shape to abstract out the functions required to write an abstract class, seven specific shape inherit this abstract class, and override its abstract properties and abstract methods
Platform: |
Size: 565248 |
Author:adf |
Hits: