- Home /
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.
Answer by Ippokratis · Nov 27, 2009 at 04:31 PM
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 unifycommunity.com 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 unitytutorials.com.
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"
Answer by Ricardo · Nov 26, 2009 at 11:20 PM
You're likely to get one of two types of books on Javascript:
- Books that discuss the DOM and how to interact with a page, usually from the frame of reference of a library such as JQuery.
- 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.
Answer by user-297 (google) · Nov 27, 2009 at 11:37 PM
I found this http://forum.unity3d.com/viewtopic.php?t=36096.
Answer by Stelimar · Nov 27, 2009 at 10:17 PM
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).
Answer by Narven · May 14, 2010 at 10:14 AM
This link isn't very helpful. It just goes to the base level of a forum. While some part may cover an answer to the question, this is about as useful as saying "google it".