原创 俄罗斯方块,来看看吧!

2008-6-19 23:03 2433 6 6 分类: 测试测量

在网上找到的,应该是外国人做的这个程序。

To move the game block right, left, down or rotate/turn, use the arrow keys on a desktop also pressing the 'S" key will start the game and pressing the "X" key will exit the game.

You can also click the buttons with your mouse. On a Pocket PC click the buttons with your stylist or use the buttons on the device itself.

Pocket PC Issues

The "S" and "X" keys are not current supported on the Pocket PC. Although the color property node is support on the pocket PC there seems to be a limitation on the number of properties it can handle for this reason the color control is disabled in the Pocket PC mode. Get Date/Time in Seconds.vi only has a resolution of one second that is the reason behind not using it for timing in the Pocket PC mode. An Array was not used for the game board because you cannot hide the Index display. A cluster was not use be cause of behavioral issues.

其中键盘鼠标的读取,状态的读取转换等等,还有很多值得学习的地方。



附件: zip.gifDual Platform Keyboard Puzzle.rar (289 K)


http://bbs.avrvi.com/read-htm-tid-4586.html

文章评论0条评论)

登录后参与讨论
我要评论
0
6
关闭 站长推荐上一条 /2 下一条