Welcome to the Weekly Discussion! This is a place where you can do general chat in the community for things that might not deserve their own post

  • Queen Of Squiggles@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    So I have a “Game Base” for 3D games that I’ve been working on. It’s using Godot 4.X Mono. I usually use it when I start a new project, and then I merge any improvements back into the game base once I’ve finished the project. I’ve also had a rather generous soul go through and do some PRs of code cleanup.

    I guess what I would love to know is, how do people in this community feel about Game Bases? Would you use someone else’s?

    Personally, I greatly prefer to use my own because then I know every inch of it. But I can see the value in using someone else’s if I needed/wanted to work on a project different from my usual style (i.e. a 2D puzzle game)

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

      I’m a week late on this… but just wanted to comment in support of this style! I think it’s worth having a strong pattern of code re-use across projects - your tools should get better as you get better game dev!

      I’ve built games for several game jams in the last ~8 months in the same project: https://github.com/russmatney/dino

      The goal is to lower the overhead of trying out new ideas, and make it easy to put reusable library code into libraries (addons), and game-specific code in the games themselves. It’s a fertile ground for letting games and addons develop and grow organically - as more games are implemented, the addons get another consumer to test the apis they offer. Maybe one day an addon will be ready to be pulled into it’s own project, if it would make it easier for other folks to use it.

      (Tho, my addons have grown fairly cross-dependent, so now I’m starting to think of all of Dino as more of a personal framework… we’ll see where it goes…)

      It’s typically alot to ask others to come into your own project and work with it (at any level, really), but if you are productive in there, you must be doing something right, so just keep going!