Showing only posts in tumblr. Show all posts.

Drawing Order

I really want to implement drawing order in my node based graphics engine in vsge.

Node based meaning, that I actually have a nodetree, each node containing a pointer to the parent and a children list. This means that each node handles drawing of the children, so the graphics engine …

al_uninstall_sytem()

I spent 2 hours debugging last night and another 2 hours today to find the reason for random crashes at application exit.

When using Allegro 5 in a shared library, it is very important to use al_uninstall_system() manually (I guess allegro can’t call this in atexit() in those cases …

Vector Normalising Problems

Yeah, sure, this guy can’t even do such a simple thing as normalizing vectors?

No***,*** the math was not the problem, trust me ;)

I kept getting a vector with 2 nan components. Sadly I spent about 3 hours looking for the problem, thinking this could not be possible, until …

Posted on in tumblr. updated archived Tags: c++.

Switching to Allegro 5

Since Allegro 5 has been released a long time ago, I thought I’d give it a try. I was pretty impressed by it, so I started rewriting my vsge2D game engine (which really just had only a basic structure though) using Allegro 5.

This turned out to be a …

Random Crashes? Possible Solution...

I have this problem in two of my projects where applications just crash at random moments. And if I say random, I mean random. No connection to what is going on in the rest of the application.

I am making this demo-game for vsge2D: “Blue Moon”, a project I have …

« newer articles | page 6 | older articles »