How far can I go with Javascript?

Hello! I’m a Web Developer that have worked with Javascript, and I have now started with Unity for more a hobby. My first project right now it’s a “RPG with 3D” game with low poly landscape / models. And maybe in the future I want to add Co-op with 4 players.

I’m going with Javascript, because I know the syntax. But my question is, is it a very bad choose? It’s the preformance going to be really bad? Or can my game be good preformance if I coding it good with Javascript?

Sorry for my bad english.

UnityScript (many of us call it this because it’s not truly JavaScript) is used by a number of new and older developers but it is slowly losing ground to C#. There was a similar situation with Boo (a Python-like language) and it was eventually phased out. This may eventually happen to UnityScript too but that’s just a guess at this point.

No, I believe it compiles down more or less to the same identical native code as C#. Worst case if there is a penalty of some kind it won’t be anything particularly noticeable and your own skill as a programmer will more than make up for it.

Ok thanks for the answer. Hmmm I wonder if they are going to remove UnityScript in the future? I really hope not, I like it a lot, and hope it’s gonna stay. If not, I need to learn c# in the future :slight_smile:

If they do eventually decide to remove UnityScript it’ll largely be the result of it losing ground to C#. Below was the usage chart for scripting languages back in September 2004. I wouldn’t necessarily say this is a result of UnityScript losing developers though so much as C# gaining more. Unity has gone up by at least one million developers since 2004.

It would be a good idea to learn it at some point. Both the official tutorials and the documentation are largely C# only.