Archive for the tag 'tools'

Entities ahoy!

Entity system

Today I’ve continued work under the hood, on the entity system. Both components and entity types are now loaded using the plugin / entry point system of setuptools, which means custom components and units will be really easy to create and distribute. And much easier for me to load. :) I have a habit of making too many sweeping changes to code at once, and this is no exception. On the other hand, this does result in massive improvements to the entity system and especially creation of entity type files, so it’s all for the greater good.

No screenshots to show for my efforts, but see the end of the post for examples of what entity type files currently look like. This might change before these changes are completed.

Entity editor

I’ll probably have to start working on an entity editor at some point, since I recon unit and other entity creation will get quite complicated when multiple linked entities, collision shapes, etc. etc. get involved. I’m no big fan of GUI programming, especially since Python’s GUI libraries all seem kind of shoddy (though that seems to apply to other languages too, at least C# and Java). Anyway, I’ll probably use wxPython for it. Making it in-game would be cool, but too much effort at the moment.

Trac

I tried installing Trac (again) today since they just released version 0.11, and couldn’t get it working (again). After getting over a few hurdles, I was finally stumped when trac-admin hanged while trying to create the environment. Every time. I really want to like Trac, since it’s excellent when it works, but I’ve had nothing but problems trying to get it working myself. It seems I’ll have to let it go and find some other issue tracker when I really start needing one. I’d like it to integrate with Mylyn, but the (free) options there are a bit limited. We’ll see…

Read more »

Busy and exhausted

Three days of training capoeira behind, one left (tomorrow). It’s starting to feel quite exhausting, but has been really fun too! That’s also the reason I haven’t updated in a while, and haven’t made much progress either. But I’ve done a bit…

The plugin system and layout is hopefully more or less final (for) now and the renderer is starting to get together again. I want to get the renderer plugin done and do some changes to resource management, then start working on scene management again. When that’s sufficiently done, I can finally start working on the actual game. I’m not going to work on the engine any more than the game requires. I also released a simple tool for counting Python lines of code a couple of days ago.

Tomorrow’s my final exam for this Autumn and on Friday the deadline for the infovis project, so I will probably have a bit more time for hobby programming afterwards. The week after I’m going to my parents’ for Xmas, and who knows what will happen after that…