Original Post
Hi all!
As I begin the long journey to the ultimate goal of creating a new 2d game, I kind of want to to have a full fledged editor for my game. I already have a fully working with states, rendering, sound, physics, timers, etc.
I want to write an editor which allows me to easily create levels ,place game objects and test them. right now, I'm using the object oriented approach, but I wouldn't mind switching to a component based model if I have to.
Features I'd like to have in the editor:
+allows one to design levels wirthin the editor
Placing objects, tiles, decals, enemies, etc
+Provides a neat interface to load new types of objects (right now object data is stored in XML files, with a LUA script file path) and render them.
+Allows (some) level of scripting
I already have a very clumsy scripting-language-thingamajing using XML in an event - condition - action format.
+allows saving / loading level files
XML format again
+would be nice to be able to stop execution and get back to editing in an instant, but not a prerequisite.
+extensible / reusable / modular - would be nice if I don't have to rewrite the engine for every game I make
So, for all of you who have taken the pain to write a game editor, how hard is it actually? is it worth it? should I do it? or is a console app kind of editor enough?
Thanks all!
and PS- if there actually is a 2d engine which I have missed with all of these features, point me to that please
As I begin the long journey to the ultimate goal of creating a new 2d game, I kind of want to to have a full fledged editor for my game. I already have a fully working with states, rendering, sound, physics, timers, etc.
I want to write an editor which allows me to easily create levels ,place game objects and test them. right now, I'm using the object oriented approach, but I wouldn't mind switching to a component based model if I have to.
Features I'd like to have in the editor:
+allows one to design levels wirthin the editor
Placing objects, tiles, decals, enemies, etc
+Provides a neat interface to load new types of objects (right now object data is stored in XML files, with a LUA script file path) and render them.
+Allows (some) level of scripting
I already have a very clumsy scripting-language-thingamajing using XML in an event - condition - action format.
+allows saving / loading level files
XML format again
+would be nice to be able to stop execution and get back to editing in an instant, but not a prerequisite.
+extensible / reusable / modular - would be nice if I don't have to rewrite the engine for every game I make
So, for all of you who have taken the pain to write a game editor, how hard is it actually? is it worth it? should I do it? or is a console app kind of editor enough?
Thanks all!
and PS- if there actually is a 2d engine which I have missed with all of these features, point me to that please