← Back to team overview

logame team mailing list archive

Level Editor

 

Hi all,
I have just committed a first version of the Level Editor.  I don't
think I quite anticipated how much work it would be ;)  The version I
have committed is not yet complete but I wanted to get something out to
the team to get some initial feedback and comments.

So, what works (and what doesn't):
The editor can be started with the ./editor.py script.  Eventually,
you'll be able to use command line options to specify which level to
edit, or to create a new level using a specified background image.
The GUI is complete and mostly functional.  The left and right arrow
keys scroll the background along.  You can drag and drop tiles (all red,
green and blue at the moment) and collectables.  Right clicking on tiles
or collectables on the background deletes them.  Clicking on the arrows
on the Tiles button scrolls through the tiles and into the Collectables.
This will eventually have lists of Enemies that can be added, and game
locations such as player 1 start and so on.

The quit button works :) but the save button doesn't yet :(.

New collectable or enemy types need to be added to collectables.yaml or
enemies.yaml as this is where the game and editor now look for them.  As
with the tiles.yaml, eventually we can make it load from sets of
tiles/collectables/enemies etc..

There is a limit on how big a tile or collectable can be at present or
it won't fit in the GUI.  The limit is 100x100.  Again, I want to remove
this limit at some point.

So, my TODO list at present looks like this:
1. Get the editor to handle enemies and locations.
2. Get saving to work.
3. Allow specifying on the command line a level to edit or new level to
create.

Have a look and let me know what you think or changes you would like.

Paul 




Follow ups