How to get started learning JavaScript or UnityScript?

How to get started learning UnityScript JavaScript: is it by learning ActionScript? Or getting some book on JavaScript. Book on JS are to learn how to make a web site? Is there anything a beginner can read (even online) to get started with Unity Script directly? Beside Will book that I already read.

There is one book that I am aware of, Unity Game Development Essentials, from author Will Goldstone. This book deals with Unity Editor and Unity Api and takes you through completing a game with Unity. Every script in the book is in Unity Java Script.

Head First into Unity with JavaScript is an article in Wiki that talks about differences between JavaScript and Unity JavaScript. Digging in the Wiki you can also find sparse (but great) info about Unity JavaScript.

I found some nice explanations on object oriented programming in a book called Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries.

You can also consider seeing and buying some Unity video tutorials, there are some that deal with scripting, from

The info exists but is not in one place. I find the documentation and really good. It just needs time. Perhaps when Noesis tutorials show up, we will have something a little bit more consistent.

You can consider learning Unity as a journey. As Cavafy said, "And if you find her poor, Ithaka won't have fooled you. Wise as you will have become, so full of experience, you'll have understood by then what these Ithakas mean"

You're likely to get one of two types of books on Javascript:

  1. Books that discuss the DOM and how to interact with a page, usually from the frame of reference of a library such as JQuery.
  2. Books that discuss the intricacies of the Javascript language itself, a lot of which won't apply to Unity's not-quite-Javascript implementation.

Neither will likely be of much use with Unity.

I'd say that you're better off looking at the tutorials, such as the 2D and 3D platform tutorials, and gleaning the use of the language from them.

I found this

If you're already familiar with basic programming (i.e., variables, arrays, functions, OOP, etc.), I found the FPS tutorial in the resources section of the Unity3D site to be extremely helpful for getting used to Unity's way of doing things. If not, it will probably be a little more difficult to learn basic programming concepts while also learning to use Unity. I'd suggest reading a few basic Javascript/C# tutorials first before trying to jump into Unity scripting (even if they're geared towards web development).

design3 also has a bunch of tutorials on javascript for Unity. I've found Unity's documentation on scripting to be extremely helpful as well.