• kralk@lemm.ee
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    4 months ago

    I love Godot, I’ve followed some of the tutorials but I think I’m too stupid to ever understand vectors.

    • Quetzalcutlass@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      4 months ago

      Godot has one of the better explanations of vectors and their uses in games in their documentation, if you haven’t checked that out yet. It focuses on their practical use rather than going deep into the mathematics (though there is quite a bit of that too).

      And if you don’t understand the math, the documentation also explains when and how to use specific methods, so you can still use it as a cheat sheet when working on your project even if you don’t fully understand vectors.

      (And you’ll probably have an “ah-ha!” moment when working with them yourself. Like a lot of math, vectors are much easier to understand with practical, non-abstract examples.)

      • Charzard4261
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        4 months ago

        Everything about this project is amazing, but the documentation is something else. It is written so perfectly concise and yet easy to understand, gives example code just when you’d need it (and 90% of pages have C# variants and includes notes on how it may differ!) and so you just walk away knowing exactly what to do, or with a link to another useful, beautifully written page with what you actually were looking for instead.

        I used to think Unity had good documentation, but now that I’ve seen this it’s just on a whole new level. It also genuinely makes me weep when I go back to work in a proprietary engine with such scarce notes that it’s easier to look for other places it’s used and spend a day writing your own for the poor souls who come after…

        TL;DR Whoever writes the docs, I love you

    • alessandro@lemmy.caOP
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      If you ever played Pen&Paper Battleship as child, you already know what a Vector2 is (Vector2i more precisely), it just didn’t click yet.