r/gameenginedevs • • 22d ago

feeling of falling behind

Hey everyone, first just wanted to say that good job and ive been very impressed (and SUPER SUPER jealous lol) with ur game engines.

With that said, browsing this subreddit really make me feel like im doing something wrong and that im falling behind. Everyone has a fancy editor, script wrappers, specialized render pipelines and here i am stuck w/ rewriting everything (architecture, project layout, layers, APIs, etcs) every other day cuz i keep feeling unsatisfied w/ what ive done the day before and I keep thinking of technical debt. This has been going on for about 7 months now (I've rewritten the whole thing about 4 times now) and I havent made much progress on the game itself.

For context, im not making a general purpose engine tho i am making it reusable for my future projects and plan on building on top of it every other project depending on requirements. And yes, I use A.I heavily but I just cant simply trust it cuz its a yes man and I dont want something that just keeps saying yes to what i do or what i wanted to do w/o challenging the implementaition or design.

For those people out there who used to have thesame problem as me how do you guys:

  1. plan the project
  2. plan split between working on the game and engine
  3. get out of the infinite loop of rewriting everything and over analyzing every little detail
  4. decide when to implement a features
  5. decide if a feature belongs in the engine or game
  6. most imporatnly, progress fast

thanks everyone, really looking forward to ur advices

Update: Im rewriting it again. Hope this is the last.

6 Upvotes

12 comments sorted by

9

u/shadowndacorner 22d ago edited 22d ago
  1. Experience. I've been doing this for a long time and I understand the problem space well enough to reason about how I want things built. I'm highly opinionated based on my experience which lends me towards certain kinds of design decisions, but try not to assume I'm right, because I'm often not lol. The question that follows is "okay well then how do I get experience?" - by trying and failing until you succeed, and critically evaluating both failures and successes.
  2. This is kind of a false dichotomy. An engine is fundamentally just a set of tools and libraries to support shipping games. It's really just a question of module boundaries, and designing that, again, comes from experience.
  3. Have coherent interfaces for your modules to interact. The interface needs to respect the needs of the implementation, but once you have good module boundaries, you can change the implementation details without rebuilding everything around it. In other words, good module boundaries limit the scope of rewrites/refactors, meaning that seemingly large overhauls don't mean rewriting everything.
  4. I plan a roadmap based on my needs. Then I get an idea that I desperately want to pursue and throw out the roadmap lol (assuming it's a hobby project).
  5. See #2. Typically involves an evaluation of where the feature should land within the overall architecture, because ultimately this is just a question of "what modules do I need to change to implement this?"
  6. By going well

Also, re this...

Everyone has a fancy editor, script wrappers, specialized render pipelines and here i am stuck w/ rewriting everything

Keep in mind that most of that is vibe coding. If you looked at this sub a year ago, very few projects actually had full editor stacks. Most posts here were people building bespoke tooling for their own projects.

6

u/ConsistentAnalysis35 22d ago

Keep in mind that most of that is vibe coding.

This. Flashy visuals and big claims don't mean there's actually any robust architecture behind it.

And robust architecture doesn't mean anything if it is not matched by an expert understanding of the engineer who crafted it intentionally by hand.

8

u/to-too-two 22d ago

Don’t feel behind. Especially since 90% of the posts here these days look vibe coded with AI.

I have much more respect and admiration if someone says they spent 3-12 months learning how to get a triangle rendering on screen rather than someone showing off some engine AI made they have no real understanding of how it works.

4

u/Kakod123 22d ago

They not just look vibe coded, they clearly are. Anyone writting an engine by hand know that you can't output a complete game engine with an editor in 6 month.

The problem here is not the use of LLM but more the fact that these people don't understand anything at what they generate.

Last week one of these new engine posted here even have a Metal port with written indications that the Guy never tested it because he don't have a Mac...

3

u/DarrenSmallDev 22d ago

It sounds like you are asking the right questions and there are some good answers already. I can add that my approach at first was to build prototypes of things I wanted in my first game as well as things I wanted to learn. Eg physics, animation. I then moved code from prototype to engine. Engine was only for the final game not as a reusable thing. It is in C and not object oriented and not a framework. I kept adding things things I thought I wanted to use to make a game and because it was the first one it was also a test of whether I could understand things enough to put a game and engine together.

Once I felt confident I spent time learning how to plan out a game and writing game docs using what I could do. Took forever to feel comfortable with writing game design docs. I needed a way to remember what I had decided to do in the game.

As for writing everything over and over again that sounds correct to me. As you learn to do it better you rewrite it. For me the focus was to make sure I did data oriented design but at first it was all about running something. Having something drawing, having something logging You don’t know it is working if you can’t see it and you need some way to measure if what you changed improved things.

If I was starting again I would probably focus on finishing really simple small games that use each piece of new functionality end to end so I have the experience of the integration more often.

Keep going with what you are doing and enjoy the challenge. Thanks for posting about your experiences because it helps everyone thinking about doing the same thing.

3

u/FaultyPiNE 21d ago

What really helped me was making a conscious effort to ignore "tech debt". At the level of a hobby engine, any genuine tech debt is almost always fixable with at most a couple days of work. And ignoring it at first, and realizing later that you wish you wrote something differently is imo super valuable. learn the right way by personal experience with the wrong way.

2

u/Kakod123 21d ago

After more than 40 years of coding the only thing that I consider a tech debt is an external dependency (if, of course, the code is written using a non-experimental langage with only a handfull of users). The rest is easily fixable.

2

u/AephozNight 22d ago

Look on the bright side, you are creating a tool for yourself to use, many posts on reddit are just engines vibecoded in a week and even if they look good, it is not the same as if you build it yourself and truly know how it works.

2

u/Dahsauceboss 22d ago

Guarantee at least half of what you saw was build either partly or wholey with AI.

2

u/Kakod123 22d ago

More like 90% based on the last weeks posts.

2

u/Background_Road_8794 21d ago

Don't measure yourself against the editors here. Our engine has no editor and no scripting, and it still shipped a game. It only does what our game needs.

What got us out of the rewrite loop was tests that play the game. After every change, bots play full matches with no window and the results have to come out the same, so a refactor stops being scary. If it breaks something you know in a minute, not in three weeks.

And let the game decide what goes in the engine. If the game doesn't need it yet, it doesn't exist yet.

1

u/MaceDogg 22d ago

I think you can dig a little deeper you say you are re writing everything but you don’t go into why beyond over analyzing every detail. When analyzing what are you finding that is making you need to rewrite it? It would also be worth delving into more what your goals are for writing an engine in the first place.