Breeding NPCs – Genetic programming.

I’ve been doing some reading on ways to generate content for my games.  Mainly because I’m lazy, and don’t want to invest time in designing or tweaking a bunch of NPCs individually.  What if I could write some code to make my decisions for me?  That’s when I decided to check out this thing I’ve…

Lerping: 2D scrolling camera.

I wanted a nice smooth camera for a 2D top down RPG, you know, those ones that follow the player with a slight chase/lag behaviour. I couldn’t really find a good clear example and a lot of the Google search results didn’t quite give me a full code example that I could figure things out how…