January 3

22:07

Enemies and explosions!

Today I pro­grammed the Enemy class. The Enemy class is shared by all ene­mies, when the game adds an enemy it also passes the type to the Enemy class and will change the sprite/movement/bullet pat­tern accord­ingly! This saves me a lot of has­sle hav­ing to recode it every time I want to add a new enemy type.

Boom

I did a quick job sprit­ing the first can­non fooder enemy, the Drone, not very happy with it so I’m going to go back and redo it first thing tomor­row. I also spr­ited my first explo­sion ever, I’ve always been afraid of sprit­ing explo­sions since they look so hard to do, but I man­aged to knock out some­thing decent! I spent much time cod­ing the emit­ters and get­ting the explo­sion to look right and I think it turned out pretty good! :)

Turned down the res­o­lu­tion to how it was at first, since twice the res­o­lu­tion was just too big and I don’t want to alien­ate peo­ple with shitty resolutions/monitors.

Lat­est ver­sion can be found here!

Con­trols:
Move — Arrow keys
Shift — Focus Movement
Z — Fire