jonoxia / platform-game

untitled HTML 5 side-scroller
15 stars 5 forks source link

Allow more than one level to be saved #4

Closed jonoxia closed 13 years ago

jonoxia commented 13 years ago

put a level row into the levels db table; point the foreign keys of all the level objects at it.

need some UI on the editor page for selecting name of level to load/save, and some UI on the play page to choose the level to save.

Re-use code from listworks.py especially when it's time to give ownership of levels to player records.

jonoxia commented 13 years ago

The database side is done in https://github.com/jonoxia/platform-game/commit/934b720ef140bbfbed62fddacce23a73ccd29fde

still need the UI

jonoxia commented 13 years ago

UI created in https://github.com/jonoxia/platform-game/commit/e5564c02c8c163b8662f84b974be5b5436878cfa