开发者

Can Tetris be made without using XNA currently? Using C#?

开发者 https://www.devze.com 2022-12-23 20:19 出处:网络
I have an outdated computer, that currently will not run certain XNA components. I am a beginner at this stuff,开发者_开发知识库 so I\'m looking to get some other programming stuff done before I get a

I have an outdated computer, that currently will not run certain XNA components. I am a beginner at this stuff,开发者_开发知识库 so I'm looking to get some other programming stuff done before I get a new computer that can run XNA and everything else. But is Tetris easy to make without XNA?


Sure. I have written Tetris for text mode, and in ILasm at that, so it is possible.

You can work on the smarts of the game in any presentation style, then change that later.


Tetris Game in C#


You can write WPF and Silverlight applications in C# and they are more than capable platforms for building a Tetris game.

Here is a Tetris game developed in Silverlight. http://www.herbess.com/Projects/Silverlight.aspx

Enjoy and Good luck.


You certainly don't need any advanced graphics capabilities for Tetris, and C# and GDI/GDI+ development will be fine.

Here's some VS2003 vintage samples from MS - you might examine the "Using GDI+ with C#" source code to get started

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号