[Sugar-devel] [PATCH Maze 4/4] Save and restore state of the game
Manuel Kaufmann
humitos at gmail.com
Wed Mar 21 07:13:41 EDT 2012
On Wed, Mar 21, 2012 at 07:37, Gonzalo Odiard <gonzalo at laptop.org> wrote:
> Question: I don't know pygame, why can't be used the standard
> read_file/write_file methods in the activity?
Because of the way that PyGame works. The class that handle the game
don't inheritance from Activity, so read_file/write_file are not those
methods that you think in the Game class.
Here is the explanation about "Journal Integration" with PyGame games:
* http://wiki.laptop.org/go/Pygame_wrapper
--
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Portfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
More information about the Sugar-devel
mailing list