Help: Scripting for dummies

Hi, been working with unity for a couple semesters at TSTC Waco but I cant seem to wrap my head around the Scripting for the life of me. I was wonderin if anyone knew of any “Unity Scripting for dummies” kinds of walkthroughs or tutorials for folks with no prior programming or scripting experience.

Ive played around with the Alien plat former some and the book “Unity Game Dev Essentials” but neither of them really do the job.

You should learn some programming first. Pick a programming language you want that is supported by Unity. When you get familiar with programming, only the Unity Documentation and the forum will be needed.

Or, in fact, any programming language at all. Take some kind of Programming 101 class first, and get comfortable with programming in general. Then learn Unity later.

–Eric

Should have explained a little more on the coding and all. We had one class on C++ and we have been using Java Script in the rest of our classes but It just does not…click… ya know?

Where would I find a resource that I could sit down and go from A to B to C and be like a Unity Scripting for dummies.

Hi,
I’m kind of in the same position as you are. The only difference for me is that I did some BASIC programming at school (about 24 years ago), and every 5 years or so I’ll have another play with Basic to knock up a couple of simple little prototype games.
I’m currently trying to learn Java script so I can then learn the Unity version of Java script (it’s different because you have all these wonderful game elements to play around with, but the basic syntax seems similar) and the way I’ve been learning it via a couple of JAVA books (Head First Java How to Program Using Java (this also teaches you about how to think about programming which might be of more use to you).
Also, if you search on YouTube, there’s a great series of programming lectures done my Stanford University (about 25 in all) which are really good to watch as the teacher is really passionate about it.
From there, it’s just a case of setting yourself a simple and realistic goal (be it a game or routine for a game) and try to work your way through it and if you get stuck try to search for the answers yourself (I always seem to learn a lot more this way) and if you still have no luck, post here and someone always have the answers. Just make sure that what ever you try to do at first is really simple (you need to build up your confidence with Unity and even things that look really simple can me a lot hard to make then you realize) and just have fun with it.

If you want the ISBN numbers for the books, let me know and I’ll dig them out for you.

All the best,
Mike.

As others have pointed out, your best bet would be to learn programming first, preferably at the same time while youre learning a language supported by Unity.

The problem with JavaScript is that most resources for JS deal with web development, as thats its primary use.

Maybe this approaches what you are looking for:
http://forum.unity3d.com/viewtopic.php?t=36096

Id just like to point out that Java and JavaScript are two different languages. In fact, Java is closer to C# than to JavaScript.

You may also want to have a look at this website for Unity Scripting.
http://www.unitylabs.net/tutorials/unity-beginners
There’s a great article there that holds your hand through basic stuff like variables and basic logic stuff (if, and, or statements), which should help you a lot to find your feet mate and with it actually been Unity based as well it should be a lot easier for you to get your head around it.

Thanks,
Mike.

What a great suggestion! I had a short peek over there and I felt like discovering a treasure.
Thanks a lot.

Regards, Robert

There are also a bunch of videos on design3.com; some are free. There are a few sections that cover scripting basics:

http://www.design3.com/by-software/unity/fundamentals/unity-scripting-with-javascript?layout=category
http://www.design3.com/by-software/unity/fundamentals/unity-gameplay-a-scripting-primer?layout=category
http://www.design3.com/by-software/unity/fundamentals/unity-scripting-2d-space-shooter?layout=category