[quote name='GHMP' timestamp='1320964848' post='4882756']
[quote name='VildNinja' timestamp='1320935990' post='4882595']
You would probably be surprised of how many professional teams are using Unity for their commercial projects. So no you are not spoiling yourself by using Unity. I would however say (based on experience) that you are spoiling yourself/Unity by using Java Script in Unity. You are both missing out on some cool features such as generic lists you can access directly from the Unity editor and enums you can access as drop down boxes in the editor. Plus the auto completion in mono develop doesn't work that well with Java Script, while it works super with C#. Finally Java Script in Unity hides away some of the code, which makes it a lot harder to understand the core principles behind object oriented programming.
So keep using Unity, but switch to C# now! If you in two years still haven't tried anything but Unity, then yes you are spoiling yourself
Hey, thanks for the reply. Just wanted to make a quick note: Unity's JavaScript allows creating enums and setting them in the Inspector.
Example:
enum Effect
{
Stun,
Immobilize,
Mana Steal,
Mana Drain
}
var effect:Effect;
Things like that work and you can set them in the Inspector. I'm not really sure what generic lists are.
If I switch to C#, should I attempt to translate all of my JS scripts into C# scripts..? Sounds like a waste of time, but...
*********************************
Regarding the rest of the replies:
*********************************
Thanks for all of the answers! I think I'll just keep using Unity and try to get something presentable, at least in gameplay (because models are pretty much a lost cause with me).
I suppose I should try to switch over to C# sometime soon. I haven't necessarily had any problems with JavaScript so far, but I know in a lot of situations, knowing C# will be much more helpful than knowing JavaScript, especially since JS is so Unity-specific.
[/quote]
Woo, wait what?
Javascript is Unity specific?
Alright, first off, all things being equal C# is my weapon of choice. I love the language and would personally choose it over Javascript in a heart beat. That said, Javascript is used far in away in more applications, spaces, nooks and crannies than C# is, by a country mile. That it is being forced like a bad enema on us all with HTML5 as the apparently future of programming, this is only going to become more true.
Basically what I am saying is, Javascript is anything BUT Unity-specific.
[/quote]
Sorry, what I meant to say was it seems like JS with Unity isn't the same as JS in website development. Of course, I could be wrong there, but I looked a bit into using JS with HTML and it seems different than what I've been doing. For example, it seems variables were declared differently:
var name="John" was what I saw when reading on website development with JS, whereas
"var name:String = "John" is what I'd use while scripting with JS and Unity.
I also was under the impression that JS wasn't actually used to develop games with any engines other than Unity, though it is used with website development.
Of course, it's more than likely that I'm wrong