DEV Community

Discussion on: Why OpenGL is better than a game engine?

Collapse
 
thebonejarmer profile image
Ruben Labruyere • Edited

Someone I knew once rephrased my motivation for not using an existing engine very well: "Do not create a game engine, create the game instead from the ground up". And I stand true to those words as in my opinion, any engine will do as long if it fits your needs.

That said, in my case it is also a bit of control. I have had a not so pleasant experience with using existing engines. Some were abandoned, some were just right out buggy or lacking and feature requests were ignored by the devs. This created a big trust issue and even today when I can see that engines have become stable, I still cannot help but feel the lack of trust from the past.

For example, the video you posted mentions RayLib. While I managed to write my own 2D OpenGL framework in C#, I have a rough time doing the same in c++. RayLib seems perfect but one thing has been holding me back for using it. It seems to me (and please do correct me if I am wrong), that the whole project is done by Raysan only. And that troubles me. I am not so much just looking for a framework, I am looking for a framework for several years. Learning how to use an framework or engine is one thing, mastering it takes much longer.

And it happened a lot that because of above reasons I had to start from scratch, again and again, undoing all my mastered knowledge. This frustration eventually led me to the decision to write games from scratch. If you look at my github repos you will notice I have a framework for C# (Arqanore) and webgl (JarmerJS). Both are the result of many prototypes I created in the past. But both feel much and much more stable to me than other frameworks I found. And the best of all, they are mine. I get to say how they work and if something is not, I could fix it right away. And even the latter occurs rarely.

Mind you, both are 2D only. 3D has been my thing a long time ago but I like pixel art so I never needed a 3d framework. But depending on my requirements and my past experience, if I needed some low-poly 3d framework for example, that still is not terribly difficult to do. StackOverflow is your best friend and even the math you won't even need to learn or write yourself as their are tons of libraries out there for you. Especially for c++. I started using it not that long ago but jeez, the amount of single header libraries out there is impressive.