NickThissen
01-07-2011, 10:32 AM
Hi,
First of all let me say: great game! :)
Now, I see many people requesting a level editor, and that's not very surprising, it's the first thing that popped into my mind too after playing a few levels.
So after playing the game for a few days (stuck on hard at the moment :o) I was curious how the levels were set up so I had a look in the game files. I was surprised to find that the levels were defined almost completely in simple XML files! I was pretty happy with that as it meant I might be able to read the levels and maybe even modify them or create my own levels.
So the first thing I tried is editing a level, just by hand in the XML file. I was able to change the cube spawn points, the pattern and speed of the cubes, the exit points, even the zoom level of the camera (a tip to people who are complaining about the inability to zoom: change the zoom level in the xml file if you really want to).
However, then I tried to edit the actual level geometry and I reached a disappointing conclusion: I can't.
While I can edit the locations of the 'level blocks' (basically the geometry of the level, walls), this does not seem to change the appearance of the level at all. It does change the way the cubes behave, so I am actually editing the physical location of the level blocks, but that is not reflected in the appearance of the level.
As an example, if I look up the level block that sits underneath a cube spawnpoint (the position in the level is simply an attribute of the level_block element) and remove that, then the level does not look any different, but the cube will fall through the level.
It seems like the appearance of the level is just a separate model which does not need to correspond to the actual level_block definitions in the XML file.
I tried looking for the model that corresponded to the level I was editing, but I had no clue where to look, how to open the model files, etc, so I basically gave up.
Is there any possibility at all that I could create my own level editor?
I can foresee a number of other problems beside my current problem:
- There might not be any way to add levels. Possible dirty solution: replace existing levels.
- There won't be any practical way to test my own level, besides keeping the game open in the background and switching to it every time I want to test (or even worse; load the game every time). Possible solution: besides re-writing the game from scratch, none :p
- Your levels (at least the ones I have finished) all seem to have only ONE solution. I don't know if there would be a problem with a level having multiple solutions (I don't think so) but if there is a level with multiple solutions then the hint system wouldn't work (unless you happen to have chosen the solution that is defined in the level file), so that's not very good...
My final question really: are you considering releasing a level editor? If not, can you consider releasing some information that might make it possible for others (like me) to make one? Reading the level won't be a problem, but the issues I've mentioned would make it impractical to use without some support from your end.
Thanks for any answers!
First of all let me say: great game! :)
Now, I see many people requesting a level editor, and that's not very surprising, it's the first thing that popped into my mind too after playing a few levels.
So after playing the game for a few days (stuck on hard at the moment :o) I was curious how the levels were set up so I had a look in the game files. I was surprised to find that the levels were defined almost completely in simple XML files! I was pretty happy with that as it meant I might be able to read the levels and maybe even modify them or create my own levels.
So the first thing I tried is editing a level, just by hand in the XML file. I was able to change the cube spawn points, the pattern and speed of the cubes, the exit points, even the zoom level of the camera (a tip to people who are complaining about the inability to zoom: change the zoom level in the xml file if you really want to).
However, then I tried to edit the actual level geometry and I reached a disappointing conclusion: I can't.
While I can edit the locations of the 'level blocks' (basically the geometry of the level, walls), this does not seem to change the appearance of the level at all. It does change the way the cubes behave, so I am actually editing the physical location of the level blocks, but that is not reflected in the appearance of the level.
As an example, if I look up the level block that sits underneath a cube spawnpoint (the position in the level is simply an attribute of the level_block element) and remove that, then the level does not look any different, but the cube will fall through the level.
It seems like the appearance of the level is just a separate model which does not need to correspond to the actual level_block definitions in the XML file.
I tried looking for the model that corresponded to the level I was editing, but I had no clue where to look, how to open the model files, etc, so I basically gave up.
Is there any possibility at all that I could create my own level editor?
I can foresee a number of other problems beside my current problem:
- There might not be any way to add levels. Possible dirty solution: replace existing levels.
- There won't be any practical way to test my own level, besides keeping the game open in the background and switching to it every time I want to test (or even worse; load the game every time). Possible solution: besides re-writing the game from scratch, none :p
- Your levels (at least the ones I have finished) all seem to have only ONE solution. I don't know if there would be a problem with a level having multiple solutions (I don't think so) but if there is a level with multiple solutions then the hint system wouldn't work (unless you happen to have chosen the solution that is defined in the level file), so that's not very good...
My final question really: are you considering releasing a level editor? If not, can you consider releasing some information that might make it possible for others (like me) to make one? Reading the level won't be a problem, but the issues I've mentioned would make it impractical to use without some support from your end.
Thanks for any answers!