Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Java script / "Unityscript" Help!!!!!

Discussion in 'Editor & General Support' started by iceman360360, Feb 1, 2015.

  1. iceman360360

    iceman360360

    Joined:
    Jan 24, 2015
    Posts:
    6
    I have been learning Javascript threw codecademy and ive done research and come to find out javascript in unity 3d is different than just scripting in java. Unity has there own twist to it and Id like to know if I can complete my java scripting lessons from codecademy and know enough threw what i know from codecademy and teach myself how to code in Unity and how hard would it be to do that, could i pick it up real quick? The game i have been working on for a long time more like tinkering with a long time its a 3rd person shooter and i just want to have a survival kind of feel like COD MW3 survival but a lot more simple just like make the enemy chase me when he sees me then shoot me and chase me until i die and have a seperate mode where theres zombies. I have all maps made i have all guns made i have enemys and my player. My enemys and player just need to be boned and animated. SOOOO yeah....can i do it....easly.....or is there some place where i can learn how to convert over from Javascript to UnityScript and please noooooo c# there arent alot of resorses out there for c# programming thanks :)
     
  2. Nubz

    Nubz

    Joined:
    Sep 22, 2012
    Posts:
    553
    Then you didn't bother even looking for some.
     
    shaderop and Jessy like this.
  3. iceman360360

    iceman360360

    Joined:
    Jan 24, 2015
    Posts:
    6
    Ummm hows that gonna help me?
     
  4. iceman360360

    iceman360360

    Joined:
    Jan 24, 2015
    Posts:
    6
    And i have unity is the only place i have found and i personally dont like learning from this site because they dont really tell you why things happen like why type var why type GetComponent.Axis ("Horizontal") why does this work i mean i can easily copy scripts but how do i come up with my own....only by knowing how the script works and functions like it does
     
  5. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    When I typed "learn unity3d c#" into google, I got 476k results.
     
  6. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,184
    Java is not JavaScript - they're two completely different languages that have way to similar names. Unity uses... neither! Unity's JavaScript isn't even close to the real JavaScript!

    UnityScript is a weird bastardized language that lives somewhere between C# and JS. It's largest drawback is that it is used by exactly the segment of the Unity community that uses it, and exactly nobody else. And since the Unity community (and I think Unity itself) seems to be moving towards C# and away from UnityScript, I'd go with learning C# instead.

    Not that it's a big problem - programming is essentially programming, and languages don't actually differ that much. If you want to learn C# for Unity, the official tutorials are where you want to go.
     
  7. iceman360360

    iceman360360

    Joined:
    Jan 24, 2015
    Posts:
    6
    man....i was hoping for better results but thanks guys are there in other tutorials "vids" that move a little faster in learning the unity tutorials are just so slow and very blend and boring ill watch the unity offical voids but really rather watch something else but whatever as long as i can get some where and start making games i am more of a modeler i use blender but i want to make my creations come to life and run in a game.
     
  8. iceman360360

    iceman360360

    Joined:
    Jan 24, 2015
    Posts:
    6
    im talking about learning C#
     
  9. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    The scripts you can write with UnityScript and c# can perform exactly the same functions, just the way you write them is a little bit different. If you can program in UnityScript, then a small amount of effort will help you switch to c# and vice versa. If you struggle to program in either, then I'd recommend reading some programming books, or taking some programming courses online. Since you have started in codecademy, continue to learn Javascript. UnityScript is almost the same. Write some small, simple, 2d or 3d games in Unity. Maybe do pong. Don't assume because you've gone through codecademy Javascript training you can then create a COD clone.

    (I've taken some driving lessons recently, once I pass I am going to enter my racing team into Formula 1.)
     
  10. iceman360360

    iceman360360

    Joined:
    Jan 24, 2015
    Posts:
    6
    what FREE online courses are out there?