Mecha Asylum Code Reuse and Refresh

Reusing Old Game Engine Code

I’m finally using some of the old game engine code for the new Battle Machines/Game Engine project. The interesting thing however is that the Game Engine was based off of the old Mecha Asylum code. I’m going to also use some of the old Mecha Asylum code with the development.

The point is that I have spent a lot of time on Mecha Asylum and the Game Engine. It would go a lot faster if I just reuse those items instead of recreating them again.

Merging Mecha Asylum, Game Engine, and Battle Machines

So, what I’m doing is merging the best parts of Mecha Asylum, the Game Engine branch off of the Mecha Asylum code into the new Battle Machines code. It would be nice, since it would be easier to move the code over to Mecha Asylum when the time comes. However, I believe I’m probably going to buy a new template for Mecha Asylum before I do so. That won’t be for another 9 or 10 months. The work that I’m putting into Battle Machines and Heat of the Race won’t be wasted when I finally restart Mecha Asylum.

It would also be nice to have three games to be under Absidon Games beta status. However, it would be interesting to place the data from index.php into other files, so that index.php doesn’t have to be edited at all. Work will probably begin soon to do just that and remove instances of BM_PATH and instead use GAME_PATH and then use that for all of the files instead. Or, to use set_include_path() for the library instead. It would make things interesting, using the latter and would have to use relative paths.

The point is, that all of my work on Mecha Asylum and the months spent on the Game Engine won’t be wasted and will eventually be imported into the new Game Engine that Battle Machines will eventually use. The idea of the old Game Engine was to create everything, the new game engine is going to use other libraries where possible.

After the Merge

I suppose it would be time to delete or archive the old Game Engine and Mecha Asylum version. I suppose it would be worth the investment to change Mecha Asylum to use the new Game Engine. Even so, working on Heat of the Race is something that I really need to do and have put off for a long time. By the time I get back to Mecha Asylum, I want to have a pretty damn good idea on how to create browser games and the tools that go behind them.

I think I’ll probably rather delete the Game Engine files since there isn’t much there and what is there is pretty worthless.

Possibly Related Posts:


Comments are closed.