Saturday, May 22, 2010

C## Game prgramming?

Im looking to make a morpg like www.tibia.com. I'v asked them if they have any book suggestions or tips for where to start but they said they couldnt help me out. Anyone here got any tutorials or E-books that can help me. Im a complete beginner so need to start at the begining. thanks...

C## Game prgramming?
You can do programming in C#, but that's not the only choice.


If you already have a copy of C# community edition, you can also download something called XNA studio for free.





This is a new wrapper around MS DirectX technology that's quite a bit easier. I didn't say easy. Just easier. Game programming is hard. You can learn it (I've taught hundreds) but you need to be willing to work hard.





My advice?


Learn to program first. The language doesn't matter that much, because you'll learn several before you're done. Don't start with C / C++. While they're good languages and they are used in professional games, they still aren't the best choice for beginners. They are frustrating and difficult languages, and most who begin with them give up before writing a single game. Look at any gaming book in C and you'll agree with me.





I strongly encourage you to learn game programming in 2D first. This will give you the opportunity to learn the things game programmers need to know in a more forgiving atmosphere. Learn things like:


* basic programming concepts - variables and statements


* control structures - loops, branches, functions


* data structures, arrays, dictionaries, objects





Then move on to some gaming ideas, like:


* sprites


* basic movement


* graphics and blitting


* basic motion


* collision detection


* game and sprite states





When you've got these things, you can build pretty much any 2D game.





You'll also have the confidence to handle one of the more challenging 3D environments.





Back to language choices: If your heart is set on C#, it's pretty good, with XNA. You should also consider Flash (most commercially viable game programming skill - EVERYBODY - wants a flash game on thier site.)





I've had great success teaching game programming with Python. It's quite an interesting choice:


* It's free and open source


* It runs on virtually any hardware


* It's nearly as fast as C (because it uses the same graphics engines)


* It's a friendly, easy-to-read language





Feel free to check out my notes on flash


http://www.cs.iupui.edu/~aharris/flash





or python gaming


http://www.cs.iupui.edu/~aharris/python
Reply:There was a PHP book about game programming that has a simple MMOG, but it's not MMORPG, and it's NOT simple to program either. Haven't seen one in C#.
Reply:I wish I knew...

floral centerpieces

No comments:

Post a Comment