logame team mailing list archive
-
logame team
-
Mailing list archive
-
Message #00028
Re: Level Editor
Hi again,
Sorry pressed send too quick.
I meant to add that the way I designed the editor may (or may not:))
help you with the menus. The editor is derived from the Scene class in
the same way that Ben thought that the menus would be, so have a look at
the Editor class and the way it is called and set up in logame.py.
Logame.py does need some tidying up though..
For the editor, I also created a button class in the graphics module.
It derives from the GameObject class and so you can draw and manipulate
the buttons as well as do collision detection in the same way as with
all other GameObjects like the player etc.. do. Feel free to use
it/derive from it/improve it/ignore it as you want :)
Again, any questions please ask.
Paul
Follow ups
References