I'm currentely working on a top down rpg.
I would like to give the opportunity to player to create their own levels thanks to a map editor.
At first, I thought using Tiled Map Editor, giving to players a project template - including layers, set of tiles and objects. Once there level finished, they would then able to import the TMX file in my game.
- it is not really intuitive (the players have to download a software while the game is web-based)
- framework like citrus engine are not tile-based
- tiles doesn't work great for outdoor topdown level
- it won't benefit of some Starling advanced features
I start thinking about another solution when I saw this tutorial to create a glowing flowing lava river on ActiveTuts. This technic will be perfect to generate nice rivers and roads and it will be great to be able to add it to an editor.
I start looking for starling-made editor, without any success (did I miss something?).
So I'm wondering how complicate if would be to create one. Unfortunately, I don't think I will have the time and the willing to do one just by myself.
Such an free and open-source editor could really benefit to the community. It could be used by designers to create levels for platformers and top down games as well as players in populous-like or sandbox games.
So I'm wondering if other people would be interested to work on it with me?
Here some features that I thought about:
The user should be able to class the content in layers, that could be of three kinds:
- texture layer: possibility to select a texture (grass, rock, water...) and draw a shape or a mask that will be fill with it. We could imagine several tools for drawing (brush, eraser, line and fill) and selecting (for erasing and filling). Edges could be hard or smooth. On this post, there is a starling implementation of this paint algorithm. There are as well few native display as3 drawing applications here, here, here and here. I am sure we can find better application than this one. The shape could as well be surround by a nice bitmap border like in this example (great for walls and cliffs!).
- bezier curves layer: possibility to draw bezier curves in order to create road and rivers (see this link)
- object layer: possibility to select an object (tree, house, furniture) and to paste it anywhere on the scene.
The main tools that will be needed are therefore
- a drawing app like this one with the possibility to select a texture instead of a color as well as a border (color or texture) and few more options (polygons or shape creation, fill and erase)
- a bezier curve drawer
And finally, each layer could be defined as obstacle or not.
Of course, these are just few ideas. Maybe some of them are dead end or could be replaced by something else. Other features could as well be integrated.
In case it could be needed, here are few example of random generation I found during my researches:
So, anyone is interested?