Map Editor progress

posted Sep 22, 2009 1:34 PM by Gustav Olsson   [ updated Oct 1, 2009 4:53 AM ]
I've been working on the map editor on and off for the last week or so and now it has all the features necessary to create a complete map! It's now possible to insert a new object into the game and place it in the right spot without any additional C# code. The editor features a very simple set of tools, you can add, duplicate and remove objects as well as move them around and rotate them. Everything is controlled using the gamepad, which has a very limited number of buttons available but editing the map is quite intuitive because of smart button layout.

I'm not planning an in-game map editor for users in the final game, though i have thought about making it possible in a post release update, this is currently just a development tool.

The current content pipeline for general objects look like this at the moment:
  1. The object is modeled as it should appear in the game using Blender
  2. The model is then exported to a file (my own model file format) which is placed in the game project folder
  3. In the project folder, an xml file is written describing the object type and the physical properties of the object
  4. The object can now be added to any map using the map editor
I haven't talked about Blender on the blog yet but I've been thinking of writing a dedicated post on what it is and how it works. Blender is really the greatest modeling application I've ever tried, and, it's open source!

Now that most of the code is finished I can start making objects to populate the maps with, which will hopefully make the game look more believable and alive!

The editor widgets makes it easy to see how an object is positioned and orientationed as well as indicates what mode the editor is in.


Older work-in-progress screenshots:


Č
ą
ď
Gustav Olsson,
Sep 22, 2009 1:35 PM
ą
ď
Gustav Olsson,
Sep 22, 2009 1:35 PM
ą
ď
Gustav Olsson,
Sep 23, 2009 10:13 AM
ą
ď
Gustav Olsson,
Sep 23, 2009 10:13 AM
ą
ď
Gustav Olsson,
Oct 1, 2009 3:22 AM
ą
ď
Gustav Olsson,
Oct 1, 2009 3:23 AM
ą
ď
Gustav Olsson,
Oct 1, 2009 3:23 AM
ą
ď
Gustav Olsson,
Oct 1, 2009 3:23 AM