Jump to content

Recent Entries

Recent Comments

Latest Visitors

View more

Pixel → Tile → World

4: Adsense

Code snippet for typesafe void* userdata

Just tossed this piece of code together - it wraps void* points with asserts() to ensure you are getting the same type that you originally set.
Normally I shy away from void* pointers as I feel like they are indicators of bad design, but sometimes you need to use them, and when you do, they might as well be type-safe.

This is kinda a lightweight alternat...

Tiny bit of art, some programming talk

Here's a few pieces of art I made for my game, in between programming.

Stone fence


I just finished this a few minutes ago - it took about an hour.

Cobblestone


I guess about a week ago? Maybe two.


Programming

Didn't get anything done today - rather lazy. Still have a few hours left in the day, so I'm going to crack back into the code for a bi...

Easing along, one step at a time

I just finished adding some of the standard Ease equations to my code base for use in Of Stranger Flames.In discussion about the equations, it was requested for me to share the code here. This is not a tutorial , I don't have enough familiarity with the subject (or with math in general) to explain how every equation works. I'm just posting what I added to...