Converting the Pink Mask
Spent an hour writing a procedure that converts the pink mask in bitmaps to alpha.
Noticed it was implemented in allegro 5.
Derp
This post was imported from tumblr
Spent an hour writing a procedure that converts the pink mask in bitmaps to alpha.
Noticed it was implemented in allegro 5.
Derp
This post was imported from tumblr
My vsge game engine uses a node based graphics engine. This makes parenting really easy for example. Entities of the game engine own a graphics node and update it’s transform, so they …
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 im …
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 …
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 …
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 applica …
When shooting bullets, entities must be able to copy a bullet entity. That bullet entity is stored as a pointer in that entity, which has the ability to shoot. Okay, then let’s create …
In the end it wasn’t even the sjlj/dw2 problem after all. I thing I had a buggy snapshot of MinGW or so, or failed when using mingw-get-inst ;P
Whatever it was, my compiler is working and I …