Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/olpcgames/activity.py
Commit message (Collapse)AuthorAgeFilesLines
* adding triple quoted comment accidentally removedRafael Ortiz2012-04-111-1/+1
|
* coding utf-8 fixesRafael Ortiz2012-04-101-1/+3
|
* Save and restore state of the gameManuel Kaufmann2012-03-281-102/+128
| | | | | | | | | | | | | | | | | | Ability to 'save' (when the user closes the Activity) and 'restore' (when the user launch it from the Journal or the Home without holding Alt) the state of the game. For this ability I had to upgrade 'olpcgames' to 1.6 because 'olpcgames.FILE_READ_REQUEST' and 'olpcgames.FILE_WRITE_REQUEST' events are added in that version and those events are needed for this. The data is saved (as JSON, with json module) in the 'event.metadata["state"]' and the timestamp state is saved in 'event.filename'. This commit solves ticket #2393: * http://bugs.sugarlabs.org/ticket/2393 Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Signed-off-by: Rafael Ortiz <rafael@activitycentral.com>
* Maze: Remove KeepButton due to deprecationGonzalo Odiard2011-09-011-5/+1
| | | | Signed-off-by: Rafael Ortiz <rafael@activitycentral.com>
* removing EOL on olpcgamesRafael Ortiz2011-06-231-1/+0
|
* Ordering filesRafael Ortiz2011-05-131-0/+220