Games
Development
My Blog
About Me
Forums
Subscribe

Check out the Archive for more blog entries.

The Pixie Game Engine

July 2, 2008

Over the last couple of days, I've spent a bit a bit of time cleaning up and fixing things for my game engine, so I thought I'd do an update on it. If you've tried the engine or the games before, and it didn't work, it's worth trying it again now: I've fixed lots of issues in the engine, and put up new versions of all the games and all the source codes, so everything should be up to date now, and you should be able to build the projects in any Visual Studio version from 2003 and later. Also, the games appearently run fine on Linux, using Wine, but I haven't tried it myself (I'm not a linux guy).

Pixie

Pixie is a 2D game engine (which is good, because 3D games are a bit lame anyway) for C++, specifically designed to be easy to use and run on as wide range of computers as possible. It will check the players system for DirectX, and make use of it if it's there, but it doesn't require it. There's no annoying runtime librarys or dlls you have to ship with it: In fact, you can bundle all your data files into your executable if you like.

At the base level, Pixie is using optimized software rendering code to draw rle-compressed bitmaps to the screen rather quickly. And if you're a hardcore graphics programmer, you can use that functionality as it is for your game. But I've also added a few things on top of that, like sprites, buttons,  animations, text etc, and by using those, you'll probably get more done on your game in shorter time. For those of us doing retro stuff with pixel art, there's a special mode you can enable where Pixie ensures there's no blurring or weird scaling distorting those precious pixels, keeping things sharp and crisp regardless of what system it's running on.

Pixie is totally free by the way. And by free I don't mean the bogus "free" of the Open Source world, where they force you to do all sorts of things to comply with the license. I mean proper free, as in "public domain". This means there's no license agreement for Pixie: It doesn't even belong to me, it belongs to all of us, so we can all use it for whatever we want. Want to sell a game you made in Pixie? Just go right ahead. Want to write a book about it and bundle the engine and the game source codes? Feel free. Want to set up your own site, rename it to Fairy and claim you wrote it? I'm not going to stop you (though it would be rather cheeky :P) 

I've used Pixie for a couple of game demos so far (and I'm working on a full game as well, but I'm not ready to talk about that yet), and it's getting quite good now. Check these out, if you haven't already: they're good demos of Pixies capability. None of them took longer that a week to do, and the RPG-style game (Kassandra) only took 48 hours (but a quite intense 48 hours, I tell ya!). So it can be rather quick to get things done with Pixie.

The Amazing Adventures of Kassandra Midwinter Rites Baby Viking and the Alien Invasion 

The source code is available for all of these games, but I warn you, it's a bit messy in places, as I was a bit rushed when making them...

I've also done a little utility for managing poser files (I call it Poser Content Manager), and I used Pixie for that as well. Again, source code is available.

Poser Content Manager 

More recently, I've been writing a couple of tutorials introducing the basic concepts of Pixie.

Pixie Tutorial 1 - Hello World

The first one is a simple Hello World tutorial, where we just draw some text to the screen. But it also walks you through some of the basic concepts of Pixie, and shows you how to set up a new project for Pixie using Visual Studio.

Pixie Tutorial 2 - Bouncing Ball

The second tutorial is a bit more interesting, as it shows how to make a bouncing ball, but I also explain in-depth about how bitmaps work in Pixie, and how to work with files.

There's some documentation available for Pixie too. It is generated from comments in the source code, and it's not fully complete yet, but it's an ongoing project. The documentation for Pixie can be found here.

And finally, I have set up a forum for Pixie where you can ask for help or just generally discuss things related to it. And ask me to add features even. There's nothing on there at the moment, but be assured that I'll keep an eye on it and do my best to help out with any problems.

Check out the main Pixie page to download it and the available source code samples.

That's it for now, hope you'll give Pixie a go at some point, and let me know what you think.


Archive

Launching mattiasgustavsson.com - August 18, 2008
The Pixie Game Engine - July 2, 2008
Marvin Maggot - May 26, 2008
retrogamedev.org - May 19, 2008
Blur and Bleed: Running Games on a TV - May 3, 2008
The RetroBox CPU - April 27, 2008
RetroBox - The Specification - April 24, 2008
Starting something new: A Retro Project - April 19, 2008
Bloodlines & Not finishing on time - March 30, 2008
Midwinter Rites - December 25, 2007
Baby Viking and the Alien Invasion - December 18, 2007
Trolls are not very nice people - December 4, 2007
Another enemy: Orc - November 28, 2007
The Amazing Adventures of Kassandra - November 20, 2007
First enemy: Goblin - November 12, 2007
Player Characters - November 5, 2007
Site is up! - October 22, 2007