Hey everybody,
I'd like to share my work on my tilebased map editor "Tyler" with you and would like to gather some feedback and ideas during the development progress.
I want to build an alternative to Tiled - the current more or less standard editor for tilebased maps - in HTML5 and Javascript.
My motivation behind the project is, that I am currently working on a little browsergame for fun that is also using tilebased maps.
I found that Tiled is lacking a couple of features I would want to see inside a map editor - some of them are game specific.
My problem is: its a C++ project, based on Qt. While I am a more or less talented web-developer, I have no clue of building stuff with C++ and I don't want to learn it just to try and extend Tiled somehow
My plans for Tyler so far are:
- Support of the Tiled Map format (JSON)
- Creation and management of palettes (so you can configure things like water-animations right inside the editor)
- Automatic prettifying of maps with autotiles
- Minimap generation
- Object management with free, JSON-style custom object properties
- Support of own modules/plugins based on JavasScript
I am especially looking forward to the users developing their own modules that can be integrated into Tyler with a breeze. I have build a easy to use API that can be used to:
- Create own Tools to draw on the map
- Append containers to the sidebar of the application
- Append buttons the toolbar of the application
- Interact with other modules of Tyler by exporting a public module context
- Through the public module context:
- Embed new data into the Info-Sidebar-Box
- Add plugins to the "new map"-process chain.
- Add plugins to the "save/load map"-process chain, so you can create your own output file formats.
Tilers own tools and nearly all functionality is based on that same module system to make sure it gives 3rd party devs the post freedom in creating their own stuff.
Since the whole editor is based upon HTML5 and JavaScript, it should be easy for most people to extend its features to their like.
I also plan a public repository, where the most useful modules can be hosted and activated by every Tyler user.
But enough of the talking, here are a few impressions of the editor - I hope you like it
Screenshot of the UI state from about a week ago:
Screenshot of the layers sidebar panel:
Screenshot of the "Create a new map" dialog:
Screenshot of the current module manager, displaying Tylers core modules:
Most recent screenshot of the tooltips I implemented today:
The editor supports so-called "infinite maps". This means, you don't have to specify the dimensions of your map, when you just want to start sketching around. The map is really infinite - you can simply move around and draw wherever you like.
Upon map creation I added the possibility to chose from different options, regarding the used tileset:
- Create Tileset from image
You upload an image and it is turned into a tileset (the usual approach).
- Generate Tileset
You pick which types of tiles you (will) need and in which size you want them and
Tyler generates a Tileset of simple colors for you. Great when you want to sketch
out some maps, but don't already have a tileset created.
- Preset Tilesets
You can choose a tileset from a list of bundled tilesets and start working with it.
Isometric maps are currently not supported, but I will certainly add them at a later point in development.
Phew, this post grew quite lengthy... I hope to fetch good feedback and a couple of ideas for my editor
greetings,
Chris