Little Multi-Threaded Snag

No Gravatar

My recent interest in Python helped push me a bit into going back to an old task I set aside, namely game programming. To make things more interesting, I’m giving myself the additional challenge in trying to utilize the capabilities of Stackless Python. It’s a multi-threaded world out there, and this little activity should keep my wheels turning.

In my case, the annoying thing about learning to program games is that there’s a lot of infrastructure involved. Many tutorials will teach you how to draw something, manipulate an image, or get user input like mouse clicks or key presses. It gets you started, but very quickly you’ll realize that those items are trivial compared to preparing a proper framework. Controller loops, MVC, object abstraction… this is where it gets interesting. Unfortunately, this is where you tend to find less and less info.

I thought I had a pretty decent (albeit very rudimentary) thread-friendly framework going, until I hit a part which apparently required me to setup some locks. Of course I expected this to happen eventually (I am working with threads), but I just can’t seem to shake the feeling that there’s a better way, something that makes use of the design patterns/models I’ve been applying so far. I can always just move along and get it over with, progressing to designing higher level items, but then again, I am trying to come-up with something different from what I used to do with regular code.

Regardless, I have accomplished quite a bit this day (or rather yesterday), perhaps it’s time to rest (and continue reading Fall of Hyperion). Hopefully, I can come-up with something. If not, well, I’ll resign myself to an old solution. I guess it will depend on what I’m more interested in at the moment: do I want to get to something usable soon or do I want something to puzzle over?

No tags for this post.

Codename "Tambayan"!

No Gravatar

I mentioned one of my project ideas before as “Tribu“. Tribu is a very big and ambitious idea, and it will be an integration of a lot parts. A difficult aspect with an idea that big is where to start so that you’ll have something feasible and workable to begin building the whole.

After pondering on this, it’s not so much of a eureka moment, but a realization on where things can begin. I was eating lunch when it hit me, and I think it’s a very scalable and reasonable way to get Tribu started. This new realization can pretty much stand on it’s own, but it was born from the Tribu idea, and can perhaps be an aspect of Tribu. Since it can stand on it’s own, however, I will be treating it as its own entity, it’s exact relationship with Tribu to be determined in the future.

For now, I will give this child of Tribu the codename “Tambayan”.

No tags for this post.

Codename "Tribu"!

No Gravatar

Yesterday, as night fell in the cementary, a bunch of thoughts were crossing my minds, and then I came to another eureka moment! As usual, I won’t discuss much details, but I might talk about it to some trusted friends. I am willing to divulge that it’s a video game related idea and strategy, but that’s it. Lucky are the few who will hear it, and it will lead to greatness!

No tags for this post.

Codename "Kardz"!

No Gravatar

I woke up something like 0400 ‘coz this idea was bugging me. After mulling it over half-asleep, a eureka moment came to me and I woke up! Now, I just have to put all the thoughts and ideas down before they float away!

I won’t go into details yet, but for now I will give it the codename “kardz”.

When I unleash it to the world, it’s gonna rock!

No tags for this post.

Elonian Nomad - 3rd Strike is using WP-Gravatar