C# 3D 国际象棋游戏
嘿,所以我想创建一个3D国际象棋游戏(3D玻璃棋子),就像Vista提供的国际象棋游戏,Chess Titans,但我不知道如何开始。我知道我可能应该使用 Blender 进行建模,使用 Visual Studio 进行编程。您能否提供可以帮助我入门的综合教程的链接?谢谢
Hey so I want to create a 3D chess game (3D glass pieces), like the Chess game Vista provides, Chess Titans, but I'm not sure how to get started. I know I should probably use Blender for the modeling and Visual Studios for the programming. Can you provide links to comprehensive tutorials that can help me get started? Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您应该使用 Microsoft 的 XNA Game Studio:
http://creators.xna.com/en-US/
这是一个很棒的 API由 Microsoft 维护,有大量示例和教程可帮助您立即开始制作 3D 游戏。
以下是用 C# 和 XNA 编写的 3D 黑白棋游戏的链接:
http://creators.xna.com/en-US/minigame/minjie
You should use Microsoft's XNA Game Studio:
http://creators.xna.com/en-US/
It's a great API actively maintained by Microsoft and there is a HUGE list of samples and tutorials to help you get started making 3D games right away.
Here's a link to a 3D Othello game written in C# and XNA:
http://creators.xna.com/en-US/minigame/minjie
如果您刚刚开始使用,Microsoft 的 XNA 社区 站点是一个很棒出发的地方。他们有免费的截屏视频,实际上是从 0 知识开始并从那里开始积累。
如果您以前从未制作过游戏,那么从简单开始并逐步提高可能是个好主意。去年夏天我教授了一门高中计算机课程,我们首先将游戏编写为基于文本的命令行游戏,然后使用 XNA 的游戏引擎重新编写它。当然,一开始这看起来很无聊,但学生们逐渐意识到,无论图形是什么样的,在后端代表游戏的对象都不可避免地是相同的。
首先编写简单的代码,然后再考虑图形,这是一个很好的方法,可以让你入门,而不会因为一次学习大量的东西而完全不知所措。
If you're just getting started, Microsoft's XNA community site is a great place to get going. They have free screencasts that literally start from 0 knowledge and build up from there.
If you've never made a game before, it's probably a good idea to start simple and work your way up. I taught a High School computer class this past summer in which we first wrote the game as a text-based command line game, and then re-wrote it using XNA's game engine. It seemed boring of course at first, but the students came to realize that the objects which represent the game on the back end are inevitably identical no matter what the graphics are like.
Coding simple first and worrying about graphics second is a good way to get your feet wet without becoming completely overwhelmed by learning tons of things at once.
为什么不从创建 3D 棋盘开始,然后使用 2D 棋子完成 AI 逻辑。
通过这种方式,您可以在游戏中获得大部分进展,然后您可以更改棋盘上的纹理,改进棋子并更好地控制光源的工作方式。
Why not start with creating a 3D board and get the AI logic done, with 2D chess pieces.
This way you can get most of the way on your game and then you can change the textures on the board, improve the chess pieces and better control how the light sources will work.
为您在 Google 上搜索了一些资源:
创建交互式 3D 世界C#.NET
C# 游戏编程 - 教程、文章、源代码、常见问题解答、讨论、博客
使用 C# 和 DirectX 创建交互式 3D 世界
Googled some resources for you:
Creating an Interactive 3D World in C#.NET
Games Programming in C# - Tutorials, Articles, Source code, FAQ, Discussions, Blogs
Creating an Interactive 3D world with C# and DirectX
对于 3d 部分,请查看 unity 3d (http://unity3d.com/),indy 版本现已发布免费并支持 C# 语言等。
For the 3d part, check out unity 3d (http://unity3d.com/), the indy version is now free and support the C# language among others.