
Fight or flight!
Since I had no previous experience of coding a computer player I turned to our friend google for advice. I found a number of threads on the

Say hello to Ester!
Ester (Eraserhead Animation Editor) is a new tool I've build that will make it easier for me to describe what different animations a spritesheet contains and their different characteristics e.g. how long each frame should be displayed. I can then export the description, as a json-file, and then together with the spritesheet load it into the game and use it to set up my "in game" animations. This is how Ester looks with a spritesheet loaded and one animation created: I'll easi

The movie analogy
Here in Stockholm it's been unusually hot and dry for this season of the year and I'm quite convinced that the pharmacies have broken a new record in anti-histamine sales. Last night we were finally blessed with thunder and rain and today the air is cool and nice and the pollen gone. I've sneezed quite a lot the last couple of weeks but I've also done some coding. My primary focus has been building an animation framework for use in intro, cutscenes and background movements an

There will be lightning!
When scanning the net for examples on different weather effects I came across an amazing tutorial written by Michael Hoffman on how to make realistic looking light effects. This inspired me to write a very similar lightning engine. The main difference between the solutions is that Michael's uses a pre-drawn image rendering the lightning bolts while mine uses the line strip drawing primitive. Michael's lightnings are more realistic looking than mine but since I'm going for mor

Rain engine #2
We've had a sunny weekend here in Stockholm, but I have been coding rain. Since my last update I've fixed a few bugs in the rain engine related to splash angle and drop transparency and I've also added an option to control length of the drops. But more importantly, I've made and uploaded a new rain video, of higher quality than the previous one, to my YouTube-channel. So far I'm using the open source software OBS Studio (Open Broadcaster Software) for recording. But this is t