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

Getting better

Discussion in 'Scripting' started by MrPuppyy, Sep 14, 2020.

  1. MrPuppyy

    MrPuppyy

    Joined:
    Nov 4, 2019
    Posts:
    40
    How do you guys genuinely get better at scripting? How many hours a day does it take of studying/making scripts to learn some functions? What are some good sources you guys used?
     
  2. Terraya

    Terraya

    Joined:
    Mar 8, 2018
    Posts:
    646
    Hey!

    So actualy im coding 4h a day "at least" :),
    since its my hobby and my job it makes fun, so first you have to know if thats what you want todo,

    to get better its necessary to get constantly feedback from any better developer since as long as you do coding, you encounter problems, you try to fix them ... until you fix them the right way , time will pass which you can save yourself by having any experienced developer who can give you instant feedback and tips on how to fix that the right way and so on ...

    also a good thing is to have a nice project to stay motivated :)
     
  3. MrPuppyy

    MrPuppyy

    Joined:
    Nov 4, 2019
    Posts:
    40
    Ok thanks, what about sources?? Besides the unity api source, is there any other that are good?
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,758
    Try stuff, try lots of stuff, try old easy stuff, try new hard stuff, try stuff you don't understand, when you get stumped, try and figure it out. You will get better, and one day you'll look back on today and go "yeah, I came pretty far so far... now how much farther can I go still?"
     
  5. MrPuppyy

    MrPuppyy

    Joined:
    Nov 4, 2019
    Posts:
    40
    hey so what happens if i know what kind of script i want to make, but not sure of any functions to use, what do i do then? also what goes though your minds when coding?
     
  6. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,758
    Hard to say... I've seen so much code that an approach to doing something generally tends to come to mind almost immediately, at least giving me something to tinker with. If that's not what I need, then I can learn from it and modify it, tinker some more, maybe wait a bit and see if any more ideas come to me, etc.

    The biggest motivator is success, so start out with the easy tutorials... pick one and go through it, but don't just act out the motions. Understand what you are doing at each step. It will take a few tries, don't worry. Then do another simple tutorial. Slowly you will begin to see patterns and your mind will develop new tools to think about problems.

    But as long as you are understanding what is ACTUALLY happening when you do a tutorial, what the code is doing, what the prefabs / scene is doing, etc., you will have something to study and pull apart, sort of like taking apart something in real life to see how it is put together.

    Here's a challenge to do: pick an easy tutorial, then when you're done, challenge yourself to change something about its behavior. Changing existing code is a great way to understand what is going on, and prove to yourself, "Hey, I really do understand what's going on here!"