2012-06-03

Weekly update

During week I didn't do much, but luckily, when weekend came, I had some free time to do a little bit of work, so here we go:

There are now projectiles, flying around, hitting stuff etc (not doing any damage yet). I also added touch flags so it is now possible to touch specific objects but not collide with them (as it is case for wizard's astral projection and some projectiles). And because I have now first objects that can be destroyed, I had to solve the issue of advancing objects while some of them may disappear.

And I had time for some thoughts about threading. I don't support threading at the moment but I will surely do for at least some stuff. I'd like to have AI and Appearances multithreaded as any action in them is limited to this single object and if there is something that may affect other objects, such things like messages between AIs might be/are queued. Physical activity, such as movement, interactions, everything that may not be confined to a single object or can't or shouldn't be deferred, will be singlethreaded. Of course things that are singlethreaded should be limited to as small number as possible and should be quick as possible.

During next week I hope that I will bring projectiles to some usable level and I will start working on actions. And maybe think about something that could handle health, mana etc. I don't want to have such things for Dragontorc, but I'd like to have an option in code for that.

No comments:

Post a Comment