I’m just starting to learn Unity, and am a little unsure of how to tackle the problem of scripting. I have experience in other programming languages (primarily QBasic and Gamemaker, so nothing particularly “legit”), and as a result I’m a little unsure of how to go about learning scripting. I already basically understand how programming works. So should I simply jump in and look up syntax as I need it? Or take the typical beginner approach? Are there any good resources out there for people who just need an overview of how the language works?
Also, do I need to learn both Javascript and C#, or do most people stick with one or the other?
Hi there,
Good luck with your endeavours.
First, just google around for tutorials or questions you may have. Answers to your questions have probably been asked and posted in these threads a million times before. But, with that, also ask here if something is puzzling you. These forums are very helpful. Very unified if you will. Haha.
As far as languages, seasoned scripters tend to use C#. It is imporant to choose one language and stick with it. While you can use both in a project, it can cause a few issues and headaches. To compare JS and C#, I would say, JS is the same but with trainging wheels. It kind of tucks things under the rug and heads some loose ends that C# doesn’t. On the other hand C# can pull a few tricks JS cant.
I prefer C#, but leant on JS, as, at the time, visually, the syntax was more familiar.
There are a ton of tutorials out there. In face I can put a link to some awesome ones that will teach you about what’s going on. Check these out.
http://www.youtube.com/watch?v=_3ZODVA0yKQ
The link is just to a series of tutorials for making a Voxel/Minecraft like game in Unity3D and it starts in the beginning. I suggest you go through these. Once you got that done, I’d check out other tutorials and then looking at source code for projects to figure out what they are doing. I personally go through tutorials several times to make sure I know. Also, there are some good books out there but if you are looking at free then stick with Unity3D Game Tutorials. Good luck!