MyAppTheme Logo2

tutorials

iOS Game Dev with DragonFire SDK – Tutorial 1: Hello World

I assumed you already have either a starter or ultimate version of DragonFire SDK installed on your PC and a version of Visual C++ Express. So now let’s get started! Setting up the development environment – Option 1 (The hard way) Here’s the hard way of doing the setup. Launch Visual C++ or Visual Studio. Language Visual C++->Win32->Win32 Project Give it a name and choose the location. Click OK. Click Next in Welcome dialog. Choose Windows application, check Empty project. Click Finish. Copy DragonFireSDK.h and...

Posted by astk on Oct 8, 2010

0 comments

Blog

Read More

Syntax Highlighter Added

I just finished updating my previous tutorial posts which include some sample code. To enable source code posting on a WordPress site, first needs to download and install a plugin called Syntax Highlighter from this site: http://wordpress.org/extend/plugins/syntaxhighlighter/ Then just wrap your code with sourcecode tag. Samples, complete list of language supported and other parameters can be found here: http://en.support.wordpress.com/code/posting-source-code/ Anyway, these are just the steps I took. There can be many other...

Posted by astk on Oct 8, 2010

0 comments

Blog, Site Updates

Read More

Embedding a Scripting Language to your Game Engine

My latest DragonFire game project has about 3000 LOC excluding level file information. This size of code is still a really small project. But the process of compiling and running the project again and again for any tweaking of GUI button positions or any other game related variable is a tedious work flow. It’d be nice if I can update those variables somehow. I wrote a post about Tweakable Constants regarding this issue. In this post, I’ll share my experiment embedding a scripting language called GameMonkey to our...

Posted by astk on Sep 22, 2010

0 comments

Blog

Read More

Setting Up PyVision, FaceL on Ubuntu

Last week, I had some works to experiment with PyVision. It was the FaceL demo that I found on YouTube that made me interested in it. FaceL is a fun and easy tool to train and label faces. Since my works involve computer vision and things like that I decided to try it out. FaceL is developed with Python using various open-source computer vision and Python libraries. http://sourceforge.net/apps/mediawiki/pyvision/index.php?title=FaceL:_Facile_Face_Labeling And its distributed with PyVision source. So I needed to download PyVision...

Posted by astk on Sep 21, 2010

0 comments

Blog

Read More

Basic level file system example for a DragonFire SDK game

I’ll show you how to load the level data from a file and use it in your DragonFire SDK game in this simple tutorial. First, be sure to include these file I/O functions from here: http://forum.dragonfiresdk.com/index.php?topic=74.0 In this example, I’ll just load the positions of my objects from a level file. And the level file structure will be in this format: id;x;y; So for e.g. the position of an object id 0 will be defined like: 0;50;50; Here’s the template point class to hold the x, y position: #ifndef...

Posted by astk on Sep 15, 2010

0 comments

Blog

Read More