Super Fast Tile Based Level Editor- Source Code Output
Hi Guys,
Well after another ludum dare compo I’ve noticed alot of people, including myself have always needed to spend a great amount of time writing the tedious backend for our tile based games, The problem with these back end levels is that they are always the same old code and its just boring to have to write over and over again.
Well not anymore, I’ve been working on a application that allows you to make your tile based game and once your happy with the way it looks you can export the map as a IDE ready source file (currently XNA 4.0/ c++ and JAVA output is planned)
How is this program any different then Tiled for instance? Well with tiled and other programs of this nature it doesn’t allow you to export to ready to use code, you will always need to parse in a XML file for instance.
When you export the file it creates all the needed source code for you.. It may be a little hard to understand so I’ve made a video demonstration below.
Its also worth noting that this is extreamly early in the dev stage and alot of improvements can and will be made. You should also know that the viewport is rendered using a camera so you can look around and zoom in and out (not shown).
Got a opinion on the application, think its crap?.. Great let me know as its early days and your opinions are useful to development.
Enjoy
So, you would have to recompile your sources every time you change something in your levels, as opposed to loading them dynamically from file. As long as you’re not constrained to 1 file, isn’t a level parsing class or similar API a better solution?
“have always needed to spend a great amount of time writing the tedious backend for our tile based games”
Why not write it once, use it in your framework every time?
Isn’t a tile map just data, like a two-dimentional array of integers?
What does the code do beyond filling an array? Or are you using some method other than arrays to hold the map data?