Author: david

“Smart” pointers

During my vacation I’ve been drawing pixel art for my next game and brainstormed around some basic game structure. Creating pixel graphics is consuming a lot of time.  In round terms it takes at least 5 hours (for me, the

Posted in Programming Tagged with: ,

“Oh yet another new framework that solves an non-existing problem”

Design patterns drawn into ridiculousness I am quite an avid reader on Hacker News and almost everyday I notice a new web frameworks popping up. The big thing in web frameworks nowadays is apparently to implement as many design patterns

Posted in Programming, Web development Tagged with:

Spaceship sprites

It’s summer vacation and pixel graphics time. I’ve managed to create a few candidates for spaceships towards the new game. I’m still very new to plott pixel per pixel. So it’s regarded more as a  learning experience than actually “game

Posted in Game programming Tagged with: , ,

Creating sprites

For those who creates sprites by plotting their own pixel graphics,  know it’s a very time consuming tasks. Before I had only been using Gimp and Photoshop to do animations. Layer by layer for each frame. It worked ok, but

Posted in Game programming Tagged with: , ,

OSDir fixing accessing important directories

When I’ve been building for different platforms in C++. I’ve experienced that there are no easy way to get the path to important directories. Each platform has it’s own code to get it’s own specific paths, and they are also

Posted in Libraries Tagged with: , , , ,

Wishlist for game number 2

Now when my first game is finished I’ve been thinking about game number 2. Spacefight is a fairly simple game but it has a lot of resuable building blocks. Like the animation and sound library. Game type The next game

Posted in Game programming Tagged with: ,

Spacefight – Game finished – Part 12

The game is finally complete! You can find it under the download section on this blog, if you want to try it out. You can also look it up on Bitbucket. I’m quite happy how it turned out. I have

Posted in Game programming Tagged with: , , , ,

Spacefight – Building and distributing the game – Part 11

The game starts to look complete and I am getting ready to build versions of the game, for the platforms I initially had in mind which are Linux, Windows and Mac OSX. Building for Windows First off I hoped I

Posted in Game programming Tagged with: , , , , , , , , , , ,

Spacefight – Packing all the resources into one file – Part 10

While the project is in development phase it is very convenient to have all the assets laying around in folders. But when it’s time to distribute your game it doesn’t look as professional when everything is lying all over the

Posted in Game programming Tagged with: , , , , , ,

Spacefight – Sound and music – Part 9

One of the most overlooked things when you create your first game, is the sound. For me, the sound really makes a game come to life. I can just look back to when I was a kid. I could play

Posted in Game programming Tagged with: , , , , , , ,