I made a blog post about my experience switching from Unity to Godot earlier this year, and some tips for Unity devs.

  • Ms. ArmoredThirteen@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    “and it even adds the .gitignore for you!” I’m sold I hate trying to figure out what version of base gitignore I need for what version of Unity. Thank you for making this!

    • popcar2@programming.devOP
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      It’s definitely a big point for me too, using Git with Unity is a big pain. Even using the right gitignore I often have to upload large Unity-generated files to my github which might’ve pushed me to using Git LFS. Having something that just works is liberating.

  • amio@kbin.social
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    1 year ago

    You can use C# (don’t)

    C# users are second-class citizens in Godot. Many features such as web exports don’t work with C# projects, and C# often has bugs specific to it and often lacks tutorials/documentation

    … welp. So… any more details on this? I’m not learning a single-purpose language.

    Edit: yes, GDScript seems nice, I know. Please stop recommending it though :P

    • swordsmanluke@programming.dev
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      C# works fine, lots of Godot projects are using it.

      That said, consider learning GD Script? Even if it’s only used by Godot, it’s simple, well integrated with the editor and is awesome for quickly building out your game.

      Besides, it’s very Python-esque. Whether you know Python or not, it’s syntax is very straightforward and easy to work with.

    • popcar2@programming.devOP
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      Honestly GDscript is really easy to learn if you’ve got a programming background. The concepts are mostly the same so you can head over to the GDScript reference and learn to use it in less than a day. As soon as you get used to the syntax you basically know it already.

      • amio@kbin.social
        link
        fedilink
        arrow-up
        9
        arrow-down
        2
        ·
        1 year ago

        I’m sure you’re right, and it looks serviceable. It’s not really about that, though. I’ve done the “learn a new language” thing many, many times. It gets old and I’m sort of over it - it’s not as fun as it once was, particularly now I have my favorite that I know well and am good at.

        • I Cast Fist@programming.dev
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          GDScript works almost 1-1 like Python. Any experience with Python almost instantly translates into knowing what to do in GDSCript, but not necessarily the other way around, as their script has a couple more builtin features.

          • circuitfarmer@lemmy.sdf.org
            link
            fedilink
            arrow-up
            4
            ·
            1 year ago

            Was going to say this but you beat me to it: if you know Python, you pretty much already know GDScript. It’s not at all like needing to learn another language from scratch.

            • AdmiralShat@programming.dev
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              I don’t understand why people are so afraid of GDScript, so many are literally refusing to even look at it. It’s baffling.

        • Rodeo@lemmy.ca
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          If you’ve done it a lot then you know how easy it is to get up and running with a new language.

          Really, it’s not that hard. GDscript is not some archaic clunker like COBOL with outdated paradigms, nor some esoteric joke language like Brainfuck that’s just pointlessly difficult. You’re going to be fine with it inside of a day.

    • tshannon@beehaw.org
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      I’ve been working in Godot for about 3 years now, and have never touched GDScript. I personally haven’t felt like a second class citizen, and have rarely run into C# specific bugs, or found the documentation was missing for C#, other than when I was using the GD4 betas.

      That being said, I’m not currently targeting web or mobile with my hobby projects, and I know those are open issues with the C# support.

      My 2c.

    • Ategon@programming.devM
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      The C# version of the project is separate from the main one. It is possible to entirely code a game in c++ though in the main one (you can use both c++ and gdscript in it in one game interchangeably). Gdscript is a really easy language to learn though and is similar to other scripting languages (the only things you really need to learn is some keywords godot added to make coding in it easier when using things in the engine. Stuff like node names etc you would have to learn regardless of the language you’re using)

    • lorty@lemmygrad.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      You can do most stuff with C# just fine, unless you run into one of the C# specific bugs and lack of beginner friendly tutorials.

      That said what made me make the jump to GDscript was just how seamless it is to use compared to C#.

  • HobbesHK@startrek.website
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    You may want to change the fact that web exports don’t work on macOS. MacBook Pro M1 user here. I’m happily running my Godot 4.1 as web exports on my server. Setting the headers is required for any browser / operating system, but things seem to work fine for me on Mac.

    • popcar2@programming.devOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Weird, you may be an outlier. The issue for Mac web exports not working is one of the most upvoted on their Github: https://github.com/godotengine/godot/issues/70691

      According to that, you have to manually set the renderer to Metal* or it might freeze/crash your browser (or take minutes to load). I’ve personally had many mac users tell me that my web projects aren’t loading for them, I’m pretty sure the issue is still not resolved.

      • HobbesHK@startrek.website
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        That is weird! Once my project is in a shareable state, I’ll post the link here. Maybe it’s because (so far) it’s not awfully complex…

  • Yerbouti@lemmy.ml
    link
    fedilink
    arrow-up
    4
    arrow-down
    3
    ·
    1 year ago

    I recently realized that Unreal is Open-source. I’m curious why it doesn’t seem to get any love from the FOSS community? I would personnaly glady ditch unity, but I heavily rely on video tutorials for my very amateur projects . So I was actually moving to Unreal…

    • popcar2@programming.devOP
      link
      fedilink
      English
      arrow-up
      25
      ·
      1 year ago

      As far as I know Unreal’s source code is available but the licensing isn’t, so the company still owns it and can still charge you for using it.

    • nybble41@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Unreal is “source available”, not Open Source. There’s a big difference. With any Open Source project you can legally fork the project, distribute your custom version of the code, create a community around your variant… “source available” has none of that. The Unreal EULA is more permissive than most game engine licenses (with the obvious exception of Godot) but it still comes with plenty of restrictions. For example:

      You are permitted to post snippets of Engine Code, up to 30 lines of code in length, online in public forums for the sole purpose of discussing the content of the snippet or Distribute such snippets in connection with supporting patches and plug-ins for the Licensed Technology, so long as it is not for the purpose of enabling third parties without a license to the Engine Code to use or modify any Engine Code or to aggregate, recombine, or reconstruct any larger portion of the Engine Code.

      Which pretty clearly does not satisfy the Open Source Definition.