JavaScript vs C# for a 3D RPG

Okay so my world might of just ended…?

I started a 3D RPG project about 7 months back and did not put much though into the language we chose for the project as i was on a high of starting a new project…

But discovering the difference only after 7 months was a massive shock that unity3D only uses JavaScript not Java and so im a bit worried about how much this actually affects the project “code” wise… Is using JavaScript for such a game a downfall? (The game is for PC / Mac / Linux)Would it be better to rip the JavaScript out at this point and switch to c# developers?

All in all i would like to know as much as possible about pro’s and con’s of the language choice i made…

Thanks and Kind Regards

Joshua Classen

You can continue to use “Javascript” (which isn’t Javascript as in the web version but something more akin to Action Script) and you will be fine. It’s a .NET language has full inheritance etc. The only real downside is that it isn’t well documented in the wider world (unlike C# which is the same everywhere).

Don’t mix languages - Unity paritally allows it, but the rules are complex. If you are using traditional Javascript developers be very concerned that many of the “good” Javascript techniques either don’t work or don’t perform well in Unity.