I’ve been developing this engine for about 2 years now, and I’ve scrapped it and started over more than once, as most of you can probably relate to. Its finally all (sort of) coming together. Here’s what I got:
- Base Engine [Environment], handles collisions, some location based searching, and the base shell of the console
- AI - this is divided into layers, it’s very intuitive and straight forward. It’s pretty well documented
- Animation - this is pretty dynamic, and easily handles frame animations, its explained in the docs too
- Console - this what will make it easy to create levels, game objects, and modify properties, and can be scripted
- Messaging - Very intuitive board system and easy message dispatchers, put all your properties in the boards and they can be edited by the console
- Object - finally the object classes you extend to put anything in the engine. very flexible and dynamic.
- Structure - this only consists of a QuadTree class which I just made. It looks great, i just need to implement it.
I’ve spent a lot of time on each division, and some of them could be their own little libraries (like Messaging)
notes:
I’m experimenting with different physics, I tried Bullet physics but 3d and i’m just looking at 2d right now, I have some basic stuff that suites me well for now. I was looking into raytracing for bullets and such, but I’m focusing on the rest of the engine first.
All the graphics are in OpenGL (jogl) and the animation library loads it all into textures very nicely.
I have a separate sound library that’s bangin’, I’d like to post that here eventually, its does a really great job.
There’s the whole acm stack implementations for reusuable objects in there, but i’m not going to bother with that until later.
my other libraries in there:
-
my opengl library, which has utility stuff, an animator, and an easy extendable class to handle the GLCanvas for jogl
-
my simple (and horribly dirty and uncomplete) physics libraries
- http://svn.xp-dev.com/svn/toucansam_project1/ (No SSL) or
- https://svn.xp-dev.com/svn/toucansam_project1/ (SSL, if for some reason you would want that)
I’ve started developing a tower defense game, so you can see how stuff is implemented. Running it doesn’t do much, but you can check out the console by pressing the “`” key. Also check out how the AI is set up. This should see major development in the next month, so there will be more improvement to the engine. Let me know what you think
Credits:
Processing (it did the dirty work for changing images into textures, so i grabbed that part)
the AI design is from various books
Edit: looks like someone else put up an engine too. I’ll have to come up with a name haha
Also, if anyone just wants a zip of the library instead of the repository i can set that up too.