Which language to choose?where to learn?

Hi all,

ive just signed up here and downloading unity
i have been wanting to play around with something like this for a while and finally decided to jump in.

im looking at learning this to make 2D games as just a fun time hobby. something to do when im sitting around bored
im really not interested in 3d at all

i noticed there is javascript and c#
i was wondering which is the better to learn?

i know basic javascript from teaching myself web dev and i k now Actionscript from teaching myself to make flash games but that was many moons ago but i know c# is usually considered a more powerful language

but then again html5 and javascript seems quite powerful too

i would be looking at making games for android as i have an android phone

Also where would be a nice place to learn unity with video tutorials? i learn better from watching than i do reading

thanks

Pretty much all the tutorials are written in C#.

I personally know JavaScript 2-3 times better than C#, but I still started learning C# because from my point of view it works better with Unity.

Please do further research by checking this links:

2 Likes

It’s not truly JavaScript. There are subtle and not so subtle differences between actual JavaScript and UnityScript. About the only reason to choose UnityScript is if you’re having to work with other scripts written in that language for your project.

If you’re concerned about choosing the most popular language I want to point out that C# had 80% of users back in 2014.

https://blogs.unity3d.com/cn/2014/09/03/documentation-unity-scripting-languages-and-you/

3 Likes

C#. Hands down. As @Ryiah said, the only reason to do UnityScript is if you have to support a project already in that language.

3 Likes

One more vote for C#

Of anything, it’s a much cleaner language to read and write, and it forces you to be more specific and intentional (which is a good thing once you get into more complex scripts that need to be debugged)

As for where to learn, google cat-like coding. The author makes great written tutorials for c# in Unity, and you can start with something as basic as a clock, then build on each thing you learn in the tutorials as they get more advanced.

1 Like