Hey, I’ve been programming for a while mainly in Java but my question is, would it be possible to create a game entirely using JavaScript or would maybe C# be used for maybe things like MySQL databases or something to store player data maybe?
Yes, it’s possible to create an entire game in JavaScript (UnityScript)
There are some differences between the languages but to my best knowledge you can still use all the API’s regardless of language choice. There may be rare moments where doing something in UnityScript may be harder than C# but I wouldn’t let that deter you if you feel that UnityScript is a better choice for you overall than C#. If you prefer UnityScript and if you feel the syntax is familiar for you, go for it.
However, with my limited experience in Java (not JavaScript), I think that you may find transition to C# pretty easy since the languages are pretty similar in structure and syntax.
You may find this page helpful too:
In the end, common libraries are the same and the language choice is mostly a matter of preference. You can’t do some things with UnityScript that you can with C#, such as using extension methods. On the other hand UnityScript excels over C# when it comes to terse coroutine syntax. This is just mentioning two differences, and there are of course several. None of these will stop you from writing any code and you should be able to achieve the same goal with either languages.
If at all uncertain, give each a try. Try making a simple component in UnityScript and in C#, and see which one follows a syntax convention that you prefer the most.
Recommended topics:
I don’t have the option to ‘covert to answer’ or whatever on your answer? only on mine?