If i wanted to create a game from scratch, what language should i learn?

  • PeterPoopshit@lemmy.world
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Unity or Godot.

    Another option is c++ with SDL2 but if you just want to make a game asap, don’t do this because it’s the hardest way. You can also use SDL2 in rust and c# projects if one of those fit the bill a little better.

    • corroded@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      People often regard C++ as one of the harder languages to learn, but once you understand the fundamentals, I feel like it’s much easier to use than some of the alternatives. I’ve focused on C++ almost exclusively for well over a decade, and any time I’m forced to use C#, Java, Python (especially Python), or any other modern language, it just seems harder. They abstract away so much that it makes it more difficult to make the language do what you want.

      • owenfromcanada@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        You’re not wrong, but the key here is:

        focused on C++ almost exclusively

        If you regularly have to switch between Java, C#, Python, and other high-level languages, C++ feels a lot more difficult (plus I personally find the syntax for C++ isn’t intuitive, so I constantly have to look things up). It really depends on where you’re coming from.