- Home /
How do I start learning C#? URGENT
Hi you guys. Im totally new to this forum, and I need some help. I have a little experience with Unity, but Ive used Blender 3D for years, and I can model just about anything thats simple enough. Me and my friend wanted to start our own FPS game, but first, I need to learn a powerful coding language. BUT I HAVE NO EXPERIENCE WITH C# OR JAVA. Can someone please help me out here? I need to know where to start, and fast. Thanks so much for your concern.
-Tylor
Urgent? Have you looked for C# tutorials at all? Typing "C# tutorial" into google gives a lot of hits. Is there some specific thing that's holding you back?
Lots of places :
Search this site :
There are two things in your question that doesn't fit together:
Learning a program$$anonymous$$g language
Urgent
$$anonymous$$ost people who program do this for years. You have to understand how it works and how to use it. That's nothing you can learn in 3 days if you have no experience at all.
Answer by Dbl_Jay_C · Dec 27, 2013 at 06:57 PM
Well, listen here, I didn't touched programming since I was 17 years old , and I programmed in Basic *( Dark Basic ) at the time, and just a little bit enough to know the bells and whistles of the For, Loop, While, If, then etc etc.
Then, after 12 years, I decided after working as IT in Game company, well, Unity3d Is pretty good, ( like 100 000 times better then what I had at my disposal in my younger days ) Why not getting back to that programming fun ?
There we are, Javascript or C# ? ( bool is a no go for me )
As I realy didn't liked the approach of the Unityscripting ( java ), I went for C#, wich I found alot more logical as a language, and syntaxly speaking, made more sense to me from the start than Javascripts.
I actually found a good Tutorial ( learn C# for Unity3d INTERACTIVE ).
In this tutorial, what made me kick start was not the code explained ( there were almost none ) but the guy showed us how to actually think and process the logic on paper , then to find the way to apply a code to do it. Then, find where ( on Unity C# manuals ) the structure of the codes is.
After that, I took his space shipt tutorial, then I improved it untill I had no more Ideas.
Once there, I started another project ( some 3rd person shooter mixed with Tower Defense )
That took me 200 hours on my own, writing my own lines of codes, and always finding a new concept that would trigger my brain to learn a new line of code and logics.
As I see it, it is just a big big puzzle, where the pieces are generated by your imagination, and placed on the board by your logical brains. see it as a big creative process ( at least, as a hobby ).
Build your game or program on paper 1st. Try to think how YOU would write it on code.
Then, structure it, and find the equivalent reasoning ( the real syntax ) of the C# ( or Javascript ) and have fun, test, debug. After I tasted the fun it was to create art from Codes....I got hooked, and , I rather enjoy more building the games, than playing them myself, as there is more puzzles per minutes solving your logic on codes, rather than playing, plus, you learn something that his actually usefull.
All in all, don't make the mistake of learning where to find someone that can grant you a fish, rather, learn how to fish it, and while your at it, add some chalenge, and learn how to make the fishing pole first :)
Hope this helps :D
Answer by HolBol · Jun 29, 2012 at 01:45 PM
I'd say start with JavaScript. Not Java, for the main reason the Unity doesn't use Java, it uses a form of Javascript that the community generally refers to as UnityScript.
The way I learnt JavaScript was through web design, which meant it was easy for me to get started in Unity with scripting. However, you've said you have none or minimal programming experience, so you best option is to look online for scripting tutorials, and just get started trying to make things work. If you can access a library, go pick up a few books on programming.
Once you've used UnityScript (JavaScript) to get a hold on programming concepts, move to C#; as this will be more beneficial in the long run. It's a bit more complex and long winded than UnityScript, but it's also a lot more general and easy to apply to other scenarios.
So yeah, that's what I'd say to do. Spend a couple of years (or some very intensive months) learning the fundamentals of programming, and then move to C# and just get really stuck in. Make sure when using Unity you always have the Scripting Reference open that comes with it so you can always access it, and watch or read as many tutorials online as you need.
Good luck.
UnityScript and the web-based JavaScript have nothing to do with each other. Only the syntax is close (because both languages are EC$$anonymous$$A-compliant). But the semantic of UnityScript is closer to C#.
On the other hand, C# is pretty close to Java both syntaxically and semantically. They are both pure object-oriented language, use a V$$anonymous$$ and have a very similar grammar.
Answer by DESTRUKTORRR · Jun 29, 2012 at 02:30 PM
http://msdn.microsoft.com/en-us/library/aa288436(v=vs.71).aspx
That should give you a start. You'll want to figure out object oriented programming, before you go much further. If you can't get it from just that one tutorial, try googling C# for beginners or something. There's plenty of tutorials around for people just starting out in object oriented programming. Good luck!
Answer by dylanfries · Jun 29, 2012 at 01:52 PM
Check out the Unity Tutorial section. Some other good links are http://www.unity3dstudent.com/ and http://www.digitaltutors.com/training/unity-tutorials No real shortcuts though, it will take a bit of work. Theres also some unity example projects that will cover most of what you need for a FPS. Also, don't post multiple Answers questions that are exactly the same post.
Answer by DaveA · Jun 29, 2012 at 05:51 PM
Honestly, if it's urgent, it's faster to friend/hire someone who knows the language than to learn it. If you already knew C/C++/Java/Javascript or even PHP, they are all similar enough to C# to know the basics (loops, conditions, etc.), but the details of libraries, API's, and syntax difference is not a quick process. Find someone, that's my recommendation.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Multiple Cars not working 1 Answer
How to draw an arrow from fps contoller 1 Answer
I am having a problem with the following script 1 Answer
How to make the FPS camera shake on collision with enemy? 1 Answer