JavaScript Zygote

ok…

So I have gone through the 2d tutorial, which is very good for what it is. My problem is that it looks like the tutorials are showing how to plug values into existing scripts rather than how to build up new scripts if you have never written them before…

Unfortunately, I have never used JavaScript before and it seems that all of the samples that I can find are geared towards web development.

At my office we have used a number of different flavors of C, as well as Lua. I haven’t seen anything that looks like this stuff and frankly, it’s hurting my brain.

I was wondering if anyone could point me at anything that might help me make sense of what it is that I am looking at.

On the whole I very much like the the product and will keep hammering away at the 3d platformer tut, but following these scripts seems very difficult for me at the moment because I cannot seem to figure out where they are pulling their values from, or what the syntax is for changing anything.

You might find some of the tutorials on the Wiki to be helpful:

And there is a beginner’s tutorial for Unity Javascript somewhere, can’t find it at the moment. Maybe someone else can provide a link. There was another thread about future tutorials for Javascript that popped up a couple days ago, a search of the forums should find it.

If you’re more comfortable with C, have you considered using C# with Unity instead of Javascript?

Thanks!!! Thats an excellent resource to start working on when I get done w/ the platformer tutorial.

I am a little leery of messing w/C# on Unity right now because I am seeing almost all of the tuts being done in JavaScript and for some reason I am a sort of “When in Rome…” kind of guy…

A couple of those tutorials look like just what the doctor ordered.