[sugar] Differents behaviours of my application

Morgan Collett morgan.collett at gmail.com
Mon Nov 24 06:48:24 EST 2008


On Sat, Nov 22, 2008 at 17:43, Aleix Palet <aleix.palet at gmail.com> wrote:
> Ok, but which command do you use to create the wrapper?? I don't know what
> to put in the:
> python buildskel.py -n JClic -t JClic -t "JCLic" -m (what should i put
> here??)
> Because i unferstand it when you create a game with a "main" funcion, but
> when there is no main?? (only __init__, read_file, write_file as a sugar
> activity)
> and in the activity.info file, do I have to put som special line?? like the
> "class" line?? or the "exec" line??
> Thanks!

Take a look at the source of Productive:
http://wiki.laptop.org/go/Games/Productive - this was written by Mike
Fletcher who most recently maintained the pygame olpcgames wrapper, so
it should be the most up to date example of using it.

Regards
Morgan


More information about the Sugar mailing list