- Home /
Which is better for a space based game, C sharp or javascript?
i am farely new to coding im unsure whether to use C sharp or Javascript for a space based game that might become a online game, any help?
Answer by BiG · Nov 30, 2012 at 04:52 PM
First of all, I give you an advice: don't think about an online game, if you are new to coding, but start from the basis! However, if you are really interested in making an online game as your first experience, there are no significative differences between C# and Unityscript. C# is maybe preferable, because Unityscript (that you call JavaScript, but they are not properly the same) is "slower", for a series of reasons (it's slower in a "general" way, not specifically for the online, as I said). If you want a more complete tractation, read this topic. However, C# is a little more difficult to learn (and there are less examples on the Web); also for this reason I recommnd you to start with something more "easy"!
I disagree that there are less examples on the web for C#. Don't look for "unity3d c# " but look for native C#. If you don't look for DotNet specific libraries, there is are tons and tons of code snippets for nearly anything you would want to accomplish. Actually I recommend to take the little extra trouble learning C#. If you make a big, complex game (and who knows, what happens if you extend your game further and further) you WILL regret not having chosen C#, because it "forces" you to some extent to program more clearly and more structured. This will improve your ability to maintain the code later, vastly.
Your answer
Follow this Question
Related Questions
simple ball rolling mechanic 0 Answers
How to create a fluid stream? 1 Answer
C# to JavaScript translation 1 Answer
Changing material Color using RBG? 3 Answers
Has anyone got a Toggle key script? 3 Answers