B.A.G. Engine

I would like you all to know that the game engine I am currently developing, the Build A Game Engine, is using Box2D for its collision detection and physics subsystem. The primary philosophy that is currently guiding the development of this engine is that a game engine should be nothing more than the sum of its parts. This will allow it to be incredibly flexible, with the programmers able to add or remove parts as needed and lets them decide how it all works together. This will make the engine suitable for any type of game imaginable.
Read more on my portfolio here: http://mryan.aiwsites.com/portfolio/ogf.htm I will have demonstration videos and screenshots uploaded sometime soon (within the next few weeks).

I only post about this now because I have reached the point in its development where it is at a semi-usable state. It is currently lacking sound and sprite drawing, which I plan to implement as soon as I possibly can. The underlying drawing subsystem has been implemented, so I am able to only draw basic shapes for the time being. Otherwise the game object base class and entity graph have all been implemented and work flawlessly, and that includes full Box2D simulation.

Other subsystems will include:

-- TCP/UDP Networking using Boost.ASIO
-- Lua Scripting
-- Sound using OpenAL
-- Built in GUI/widget system
-- Particle system built off of Box2D's existing physics engine.
(and the best part)
-- Whatever the programmers need and can build from scratch.

EDIT (11/14/2009): Update! The engine now has its own built in custom font rendering engine. It uses a Targa file (or whatever format needed that supports transparency) and as long as its all mapped out right, it will draw it all out for you. Still, it's only monospace and no scaling... yet. It also supports the loading and usage of multiple fonts if the need arises.

EDIT2: Right... making a generic engine is harder than I thought. Right now I'm going to focus on making an engine that has all the feature I need instead of trying to cater to every possible audience.
Sounds good Orm..

I know how hard it is building an engine from scratch, I did the same thing. What have you used for the drawing subsystem, directx? opengl?

some other components I have found useful, you might want to think about adding:
particle engine
timer functions
texture bank functions
entity manager

Good luck, have fun with it... its good seeing everything come together.
hareball wrote:
Sounds good Orm..

I know how hard it is building an engine from scratch, I did the same thing. What have you used for the drawing subsystem, directx? opengl?


OpenGL... always always always OpenGL. If someone wants to make a rendering backend that uses DirectX, that's their business. My goal is to make a 2D engine (and eventually 3D) that delivers professional quality graphics completely driven by open source libraries and tools. If it's not open source, then I highly discourage its use.

hareball wrote:
some other components I have found useful, you might want to think about adding:
particle engine
timer functions
texture bank functions
entity manager

Good luck, have fun with it... its good seeing everything come together.

Those weren't implied? 😆

Right now I'm working on a font rendering system that uses strips of characters in a Regular Image. It's a damn shame nobody has made a good, clean font extension to OpenGL. What's also nice is that this will help me make my sprite system.

As for the entity management, the std multimap has proven indispensable. Texture banks are going to be based off of my font rendering system. Timers... I'll get back to you on that.

Original thread: https://box2d.org/forum/viewtopic.php?t=3951