Tile Engine Map Editor

So with my first learning process into the world of programming, I have started to pick up C# and the XNA framework. For my first project? Building a tilemap engine!

Although right now I don’t have (nor do I expect) a full product to be finished anytime soon, learning the basics of engine programming is very entertaining. I may just pick up a small project and put together a small game that can be played by a lot of people, but for now I am still learning the basics.

First XNA project was codename ShackRPG, and it is basically a 2d RPG tile engine, dynamic map editor, and battle system. For a first project, although the logic behind it all is pretty simple (being that its 2D, and Super Nintendo quality tech wise) this thing was actually pretty complex for someone new to the ideas.

This shows the very basic map editor when selecting a texture to paint on the ground.

Once the texture is selected, exit the texture selection screen and you can paint the map in real time directly from within the game.

Once your textures and objects are painted on the scene, you could add collision detection directly from within the map editor, ensuring that your character would be blocked from walking on tiles that they were not supposed to such as a mountain or tables.

Once the map is textured, add pre-loaded enemies into the map

Then, exit the map editor and view the game demo that has been created. Walk around the map, battle the enemies you’ve placed down, explore the different areas.

So that was my first project with learning how to program using Microsofts C Sharp programming language and the XNA framework. I’ve started moving towards 3D, but still in the back of my mind am wanting to finish a 2D project. We’ll see what happens in the next little bit with classes and work schedules.


No comments yet

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: