Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

999641 Posts in 39235 Topics- by 30649 Members - Latest Member: 7yp

April 24, 2014, 02:00:15 PM
TIGSource ForumsDeveloperTutorialsHelp learning C# for gaming
Pages: [1] 2
Print
Author Topic: Help learning C# for gaming  (Read 4433 times)
Lordtac
Level 0
*


View Profile Email
« on: January 16, 2012, 09:31:24 PM »

Hey everyone I'm new here, and I have a very very small background in coding, I'm good at figuring things out but honestly the only smidge of code I've ever written myself was in LUA for a star destroyer I designed from the ground up in roblox.

I'm familiar with C# and C++ in the sense that I'm aware of their existence.

My question is what is a good way to really learn the language (To a professional level)

I am considering practicing with the UDK (unreal development kit) or the unity engine, to get used to the syntax. I have been trying to practice in other ways lately (writing tiny programs in MS-Visual C# Express) but I don't feel like I'm learning anything, and its getting pretty demoralizing.

I would go to college to learn C# or even C++ but there aren't any college's in my area (as if I could afford them) that teach "Any" form of programming.  Facepalm

Please help if you can  Sad Beg
Logged
Geeze
Level 5
*****


Totally.


View Profile
« Reply #1 on: January 16, 2012, 09:54:37 PM »

Books. Get a book that teaches basics of the language you are learning (and by basics I mean everything you need to know, all syntax, most OOP stuff, data structures, file IO, threading, etc...)
Logged

Lordtac
Level 0
*


View Profile Email
« Reply #2 on: January 16, 2012, 11:42:13 PM »

Books. Get a book that teaches basics of the language you are learning (and by basics I mean everything you need to know, all syntax, most OOP stuff, data structures, file IO, threading, etc...)

can you suggest a good book? I have a crummy reference that hasn't helped me much at all.
Logged
Serapth
Level 2
**


View Profile
« Reply #3 on: January 17, 2012, 07:09:29 AM »

C# Language/Library/Tool/Book/Links suggestions for someone wanting to get into Game dev with C#.


The C# Programming Language is a great book to own, as a reference.  Not so much to learn from.  You could learn from it, but it is very dry and written in a highly technical style.  That said, it is "the source" for the C# language and a handy book to own.

Head First C# is much more newbie friendly and highly recommended, but the style can be a bit... off-putting.  Check it out first before buying.

That said, there are some links, free ebooks and tutorials at that link and you can easily start there.  If you are more of a visual learner ( I very much am not ), Microsoft has made a literal ton of materials available.  Probably a few thousand hours of video lessons, spread across msdn.microsoft.com, channel9 and create.msdn.com.  That's one wonderful thing about MS, their developer support is unrivalled.


Another thing to consider, at least while you are learning, is Safari Books Online.  It is pricey in a relative way, as I think I pay about 40$ a month, but wow does the 40$ serve me well.  I get access to a catalog of about 15K books.  Since subscribing to safari, I haven't purchased a single dead tree technical book.  Given the cost of books here ( about 60$, we Canadians pay a 10-20$ surplus for no particularly good reason ), Safari is about equal in cost to purchasing 8 books a year, a number I used to easily hit.  
Logged
Lordtac
Level 0
*


View Profile Email
« Reply #4 on: January 17, 2012, 01:57:30 PM »

thanks I'll get started on those free resources tonight and see if any of the non-free stuff can help later.
Logged
louisdeb
Level 4
****


i like foxes.


View Profile WWW Email
« Reply #5 on: December 31, 2012, 07:26:04 AM »

anyone know of any unity + c# specific books ? which are good for beginners to both?
Logged

Chill3r
Level 0
**

Probably debugging right now.


View Profile Email
« Reply #6 on: January 04, 2013, 02:38:36 AM »

Quick free tip: youtube.com/thenewboston
-programming introduction (java/c)
-networking
-websites (html/php)

Really good work, so check him out:)
Logged

YES I am using Java.
Developing http://forums.tigsource.com/index.php?topic=30698.0 right now. // Looking for a designer
-N
Gregg Williams
Level 10
*****


Retromite code daemon


View Profile WWW Email
« Reply #7 on: January 04, 2013, 02:47:47 AM »

http://msdn.microsoft.com/en-us/vstudio/hh341490

Video tutorials on C# from microsoft themselves, might be of some use.
Logged

wccrawford
Level 2
**



View Profile Email
« Reply #8 on: January 04, 2013, 04:18:35 AM »

Books are a good way to get the basics, but to become truly proficient in the language, you'll need to use it.

So get started now.  Pick an engine that uses C# and start making things.  They don't have to be pretty.  Just use boxes and scale them to size.  The important part is to not let art get in the way of the coding. 

And do a *lot* of coding.  It's the only way that you'll truly get good at it.
Logged
forwardresent
Level 5
*****


UNINTENTIONALLY DEADPAN.


View Profile Email
« Reply #9 on: January 05, 2013, 07:32:43 PM »

anyone know of any unity + c# specific books ? which are good for beginners to both?

A book called Unity Game Development 3.x Essentials uses C# and Javascript, code is provided for both paths. It's very handy, I'm reading it so I can finally stop using Javascript.
Logged
louisdeb
Level 4
****


i like foxes.


View Profile WWW Email
« Reply #10 on: January 06, 2013, 03:58:52 AM »

A book called Unity Game Development 3.x Essentials uses C# and Javascript, code is provided for both paths. It's very handy, I'm reading it so I can finally stop using Javascript.

Just what I needed thanks, even had an amazon voucher for it.
Logged

Vithium
Level 1
*


View Profile
« Reply #11 on: January 13, 2013, 08:43:49 AM »

What wccrawford said is very true.  My main lanquage is C#.  If you have any questions I will try to help out.  But there is nothing better then just getting your hands dirty. This is how I learned programming.  I am a self taught programmer, and many people are.  I never went to school nor had the time with family and work and all. But I was so determined and love programming so much I never gave up.  Just start simple. Open up VS express and just start coding.  Make small simple things and as you go when you have a problem, just start researching a solution.  Google is very good.  I still use Google all the time to refresh my memory real quick or to just get information on how something can be done.  

Another good thing to realize is that you will get frustrated and lost from time to time.  But don't let that get you down.  If you have to just take a break and walk away.  When you come back to it with a clear head it will help out.  I don't know how many times I was having a very hard time and then came back later and the solution just came to me out of thin air.  

Another good site that is good to learn from and learn a lot about programming and how it all works from the nitty gritty details to the more higher level stuff is http://www.wibit.net/.  They start you down from the core of just simple C and then work you up to more complicated stuff like objective-C, C++, java, and even some c#, and its free.  The value I think that you can get out of this site and watching these videos is the core concepts of programming itself. Like memory usage, variables, classes, object oriented programming concepts, and more.  There are a lot of concepts and things that can also help you out that overall apply to any language.

Work hard at it, never give up, and enjoy it. Good luck!!







« Last Edit: January 13, 2013, 01:29:11 PM by Vithium » Logged
capnramses
Level 0
**



View Profile WWW
« Reply #12 on: January 24, 2013, 06:28:37 AM »

I made a little starter sheet http://antongerdelan.net/teaching/3dprog2/xna-tut0-helloworld.pdf (it was actually a lab worksheet for a university course) using XNA Game Studio if you're interested in learning 3d graphics. You'll need a bit of basic C# background, but XNA is pretty easy to get started with.

The book that I mentioned - Aaron Reed's "Learning XNA 4.0" (O'Reilly) is really very good for beginners, and has a chapter on virtually every game development topic that you'll want to play with. Check out the TOC on amazon http://www.amazon.com/Learning-XNA-4-0-Development-Windows/dp/1449394620/ref=sr_1_1?s=books&ie=UTF8&qid=1292689866&sr=1-1
Logged

currently making this game http://www.crongdor.com
userXDev
Level 0
**


View Profile WWW
« Reply #13 on: January 28, 2013, 11:42:27 AM »

I found this website great when I was learning c#. Although its not centred around game coding, it'll definitely give you the fundamentals:
http://www.functionx.com/csharp/
Logged

Pedrosanchau
Level 0
***



View Profile Email
« Reply #14 on: January 28, 2013, 12:01:50 PM »

http://www.freewebs.com/campelmxna/tutorials.htm

Learning C# was really easy with this tutorial.
Logged
Pages: [1] 2
Print
Jump to:  

Theme orange-lt created by panic