[Unfinished – C++]DirectX 2D Tile Engine

So I decided to give DirectX a shot and try and create a Tile Engine (wikipedia link for those who dont know..)

Without much reading or forethought I went ahead and started coding. Not really happy with the results, has a quite a few things which I would do different. A pixel based camera rather than a tile based one, so I’m posting this here and leaving it as is. I’ll salvage bits from this code and recode it and see what I come up with.

Anyway, heres a picture of it:


The values in the map file are stored in little endian format, and the structure of the map file explained.

Source Code (.cpp)
Source Code (.h)
PNG #1
PNG #2


~ by Rhys Mossom on August 31, 2008.

4 Responses to “[Unfinished – C++]DirectX 2D Tile Engine”

  1. It looks like its got lot’s potential. Good work

  2. Pretty! This has been an extremely wonderful post. Thank you for providing
    these details.

  3. Cheers, I like this.

  4. Everything is very open with a clear description of the challenges.
    It was really informative. Your site is extremely helpful.

    Thanks for sharing!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: