ShareThis

Tuesday, May 7, 2013

on 1 comment

Tile Engine Source

About a month ago, I decided I wanted to create a simple FarmSim game akin to Harvest Moon. This would require a bunch of sprites, and I figured having a Tile Engine would be the best way to go about implementing it. I know that Microsoft's XNA will be losing support, but I was pretty familiar with it already, so I decided to kick off my making a tile engine using XNA 4.0. But first, as is my wont, I decided to first try and find a good Tile Engine to base my project off of so I could build it up from there.

Now, I consider myself pretty skilled at finding things online. So imagine my surprise when I couldn't find a single decent implementation of a Tile Engine in XNA. There were plenty of tutorials and lots of people pointed to Nick Gravelyn's excellent video tutorial on building your own tile engine. I can understand that they perhaps wanted to have young programmers learn how to do this themselves, and that's fine. But I think it would have been more efficient for me to have the source code, since I already understood the concepts.

So what really got the ball rolling in starting this blog was the idea that I would provide the end result of those tutorials here, as soon as I finished implementing them. And that's exactly what this post is for.

The end result of going through those tutorials includes:

  • Tile Engine
  • Map Editor
  • Base classes for Characters, Items, and Scripts
  • Content Importers and Processors for the Map Editor
That said, if anyone has any questions about any of the stuff that's in here, I highly recommend that you go and watch the video tutorials before asking any questions.


1 comment:

  1. What version of visual studio did you create this in?

    I'm getting: "The project is incompatible with the current edition of Visual Studio" for all of the projects within the solution except for the TileEditor -- I'm using VS 2015 Enterprise with update 3.

    I'm hoping you'll have a chance to answer before I download the previous editions just to open the solution.

    ReplyDelete

Powered by Blogger.