How to I get good at game programming in C#?

Started by
8 comments, last by _Linc 12 years ago
This is probobly a noob question, but I looking for some advice on how I can get a good grasp on game programming in C#? Are there any DVDS or books anyone could recommend me? Ive only messed around with a couple other languages and C# really interest me so I chose C# as a first language I would learn. I dont really know where to start so if anyone could point me in a good direction that would be great.
Advertisement

This is probobly a noob question, but I looking for some advice on how I can get a good grasp on game programming in C#?


Same as anything else: practice.
I'm interested to know of any recommended books as well. I use c# within the context of Unity 3d and it's hella fun/exciting. (They're giving away free mobile licenses until Apr 8 btw)

Specifically I'd enjoy books on c# design patterns, I bought some for javascript and they really knocked it out of the park for me as far as understanding that language goes, but it was all object based, now I need to apply it to classes......
Patterns are patterns, regardless of if the language is OO or prototype based.

Personally, I always found the original to be the best.
Yes I to am making things in unity. Do you suggest I learn the uniscript first?

This is probobly a noob question, but I looking for some advice on how I can get a good grasp on game programming in C#? Are there any DVDS or books anyone could recommend me? Ive only messed around with a couple other languages and C# really interest me so I chose C# as a first language I would learn. I dont really know where to start so if anyone could point me in a good direction that would be great.


http://www.3dbuzz.com/vbforum/sv_home.php

http://www.learnvisualstudio.net/

http://www.csharp-station.com/default.aspx

http://www.dotnetperls.com/

C# For Dummies is a good book, as well as Microsoft Visual C# 2010.
Once you feel comfortable with the basics of C# and want to get really good at it, I highly recommend C# in Depth by Jon Skeet.

http://csharpindepth.com/

openwar - the real-time tactical war-game platform


Personally, I always found the original to be the best.


+1'd, although it's examples don't use C# it's full of little bits of advice and patterns that will pop into your head while you're coding. I would read this a little, code a little, read a little more - you find that the book slowly starts weaving itself into your thinking without you even noticing and the end result is something you feel a little more proud of.

But if you want to get good?

Practice! If you ever think "I wonder if I can do X?", try it! Learn from it and move on.
Look at other peoples code and while not directly copying, try to understand why they did it that way and make a decision if you agree with this or not.
If you can, talk to people about it, even if they don't fully understand, just talking about it can help you get your head around it a bit more. Also, most of the time a problem you have has already been solved.
Please check out my attempt at making a game at www.Dubious-Games.co.uk!
Current project: Missile Base
Are you sure about the C# for dummies book? I hear a lot of people especially experts at programming say the for dummies books always have minor if not big flaws in them that teach bad scripting habits.
I would recommend to anyone to learn to program the way I did - by programming games on my graphing calculator. I have a TI-84+, and after learning the built-in dialect of BASIC it provides, I moved on to Axe Parser. It's an awesome language, makes things very simple, but very powerful. The syntax is moderately similar to C, too, so the transition to computer programming isn't very painful.

Anyways, if it sounds interesting, check out http://www.omnimaga.org/index.php?board=71.0 and maybe join the friendly Omnimaga community. In addition to all this, like it's been said, the best way to learn to program is to program, as much as you can, as often as you can.
- Lincoln Bergeson

This topic is closed to new replies.

Advertisement