Search Unity

Help in General (Tips and tricks on how to script).

Discussion in 'Scripting' started by ppapa2000, May 2, 2015.

  1. ppapa2000

    ppapa2000

    Joined:
    Apr 28, 2015
    Posts:
    3
    Basically what the title says, I'm a COMPLETE newbie on how to script and I need some of your advise, because you guys are experts. My friend is too lazy to explain to me what does this script do etc. , so, if you have some spare time, please help me. I want to be a game developer but, as I can't understand and fail every time I try to code, that makes me fell sad. So, my question is: Can you explain to me what does everything do in scripting and how can I use it to make my very first game? :)
     
  2. krougeau

    krougeau

    Joined:
    Jul 1, 2012
    Posts:
    456
    While there are certainly experts here among us, the scope of your question is extremely broad. Your friends seeming "laziness" may simply be an indication that the topic is an expansive one, and one that is difficult to sum up "real quick". A script is simply a piece of code that performs a function (and sometimes quite a few functions). This can be anything from drawing text on the screen, to counting, to moving objects, to creating & destroying objects, and much, much more. Rather than try to explain even the most basic of basics in full, please allow me to direct you to a good source of beginner's material. Here is a link to the Unity scripting tutorials, which will guide you through basic and intermediate level programming techniques: http://unity3d.com/learn/tutorials/modules/beginner/scripting

    You may also be interested in taking lessons at Codecademy, which has free tutorials in a variety of programming languages. Beyond that, there are a ton of great learning resources out there, including an extensive amount of Unity specific tutorials on Youtube.

    If you ever find yourself stuck on a particular aspect, then feel free to ask for assistance here, however keep in mind that these forum threads are generally better suited to specific questions about specific aspects of programming and are not really designed to teach you from the ground up.

    Best of luck & have fun!
     
  3. Fluzing

    Fluzing

    Joined:
    Apr 5, 2013
    Posts:
    815
    "My friend is too lazy to explain to me what does this script do etc."

    A heads up: noone here will do this. Like the above post said, people here can help you with specific problems, but programming and learning to read code is something you will have to do on your own.
     
    krougeau likes this.
  4. fight_1977

    fight_1977

    Joined:
    Apr 10, 2015
    Posts:
    2
    Official help manual are best references for u, just read and research it everyday!
     
  5. Duugu

    Duugu

    Joined:
    May 23, 2015
    Posts:
    241
    The 3 most important activities are: practice, practice and practice. :D

    [e] If there's still spare time do some practice!