Does anyone have any tips for coding/ the best way to learn it fast.

Discussion in 'Game Design, Development And Publishing' started by Jamie Gargrave, May 28, 2019.

  1. Jamie Gargrave

    Jamie Gargrave Member

    Joined:
    May 28, 2019
    Posts:
    3
    Hey,

    So I am new to making games and I was wondering if anyone is able to help, Shoot me a discord message Jamie#8739
     
    MoncefFennich DZDev likes this.
  2. MoncefFennich DZDev

    MoncefFennich DZDev Member

    Joined:
    May 28, 2019
    Posts:
    19
    I Have A tip for you
    Do A Math In You Mind Then In Your Editor :
    Like When Enemy Hit You
    Code:
    if (place_meeting(x,y,obj_player))
    {
    with (obj_player)
    {
    gotHit=true;
    if (gotHit) && (!invisible) && (self.damageStg>0)
    {
    hp=hp-self.damageStg;
    invisible=invisibleDur;
    }
    }else
    {
    obj_player.gotHit=false;
    }
     
  3. MoncefFennich DZDev

    MoncefFennich DZDev Member

    Joined:
    May 28, 2019
    Posts:
    19
    Another Tip:
    Do A Comment To Understand What This Function/Setting/Math Function Do If You Forget It Or You Want To Share Your Work,You Are Free To Write Your Own Comment
    Code:
    //In GML This Line Is A Comment.
    /*
    You Can Do A Multiple Comment Line.
    Hi, I Am Another Line!
    */
     
  4. TinyGamesLab

    TinyGamesLab Member

    Joined:
    Jun 21, 2018
    Posts:
    140
    Coding is just about problem solving as it is about the syntax.
    Learn the general idea behind variables (and their scope), conditionals and loops.
    Then try solving some math problems with the recent acquired knowledge, such as having a variable go from 0 to 10, from 10 to 0, have only the odd numbers between 0 and 50, calculate a area of a circumference, etc...
    Then learn about data structure and objects x instances and try showing these values in the screen, maybe changing its position for each new value, etc...
    Try watching tutorials about coding on ti YouTube but focus on the ones that teach you how think about it rather than the syntax of a specific function of a specific language. Dont worry if it is not the same coding language, as the basis for coding is the same on most languages even if writing it may be slightly different (variables, contionals, loops, etc...)
    I'm actualy very inclined on starting a tutorial series teaching how to code on GMS, but focusing a lot on the problem solving part integrated with the language.
     
  5. MoncefFennich DZDev

    MoncefFennich DZDev Member

    Joined:
    May 28, 2019
    Posts:
    19
    GML Is The Easiest Program Language, You Can Learn About It In one WEEK!
    Gml Needs Math Skills And English because I m Algerian ._.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice