In need of good scripting tutorial.

Hello Unity community!!!

I am trying to teach myself scripting in unity, but there is so much I need to learn about the scripting itself. I know a little bit on the Syntax of Javascript, but I can’t find any good internet tutorials that are explaining anything complicated about scripting besides the basic stuff like:

transform.position(0, 0, 0)

or

function Update(); 
{
if (input.getbuttondown("W");
{
transform.position(0, 0, 0);
}
}

Can someone please help me learn something else?!?! I want to do more, but with my lack of knowledge on Unity’s Javascript, I can’t really do anything.

Thanks 100!!!

  • Conor

This might help, tonyd wrote a great introduction to getting your feet wet with the syntax: http://forum.unity3d.com/threads/34015-Newbie-guide-to-Unity-Javascript-(long)

Thank you, but I already looked at this tutorial. Let me ask you, where did you learn Unity scripting?

I already knew JavaScript and Flash ActionScript 2.0 (very similar to JavaScript) years ago. I currently program heavily in C# at work. So moving to Unity was not a matter of learning the syntax for me, just a process of exploring their library and engine usage.

You may take a look at the following books:

  1. Unity Game Development Essentials by Will Goldstone
  2. Unity 3D Game Development by Example Beginner’s Guide by Ryan Henson Creighton

The second book is easy to follow.

Thanks a lot. I will read up on this.