Rewriting the engine in C++

Just checking in, as I haven’t posted anything in a few weeks, I’m currently in the middle of completely rewriting the game in C++ and it will likely be about a month or so still before visual progress resumes.

To make a long story short, some of you who’ve played the demos in the past may have noticed that the game occasionally stutters, freezing for a split second in the middle of gameplay. This is caused by a memory leak in the collision code for characters that I was putting off, having recently tried to fix it I realized there was no straight-forward way of fixing it without spending weeks studying Bullet and JNI just to get a single physics object to reset its state properly.

It had been my intention to rewrite the engine in C++ after the initial release as it’s the only way I’d consider doing any kind of multiplayer. While I’m still on the fence about whether I’ll actually add any network features, I was never going try doing it with LibGDX. As I’m now rewriting the whole thing anyway, I can plan around this future capability when I’m putting the game back together.

Stay tuned and have fun!

View this article on the original website