Re: [Sugar-devel] how to run the Physics Activity as a standalone application?
On Thu, 2010-04-08 at 22:02 -0400, Walter Bender wrote: On Thu, Apr 8, 2010 at 9:14 PM, Rafael Enrique Ortiz Guerrero dir...@gmail.com wrote: Vimal, Walter did some work about this with Turtle Art, you might want to look into it. Rafael Ortiz A more simpler example would be Abacus. http://git.sugarlabs.org/projects/abacus/repos/mainline/trees/master -walter Walter, Tomeu, Rafael thanks for your suggestions. I'm new to the sugar world. I'll check the abacus code. I got some more clue from the make your own sugar activities manual. Is there any other documentation available on this? thanks and regards, ~vimal -- Libarate your documents, Celebrate document freedom day 2010 Use OpenOffice : http://openoffice.org http://documentfreedom.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] how to run the Physics Activity as a standalone application?
On Fri, Apr 9, 2010 at 3:25 AM, Vimal Joseph vimaljos...@gmail.com wrote: On Thu, 2010-04-08 at 22:02 -0400, Walter Bender wrote: On Thu, Apr 8, 2010 at 9:14 PM, Rafael Enrique Ortiz Guerrero dir...@gmail.com wrote: Vimal, Walter did some work about this with Turtle Art, you might want to look into it. Rafael Ortiz A more simpler example would be Abacus. http://git.sugarlabs.org/projects/abacus/repos/mainline/trees/master -walter Walter, Tomeu, Rafael thanks for your suggestions. I'm new to the sugar world. I'll check the abacus code. I got some more clue from the make your own sugar activities manual. Is there any other documentation available on this? I was going to write a chapter for Jim on this topic, but never seemed to have the time. Jim touches on it somewhat. The key is to isolate the Sugar dependencies and to provide the graphics environment that is normally inherited from Activity.activity. Best of luck. regards. -walter thanks and regards, ~vimal -- Libarate your documents, Celebrate document freedom day 2010 Use OpenOffice : http://openoffice.org http://documentfreedom.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] how to run the Physics Activity as a standalone application?
On Sat, Apr 3, 2010 at 03:46, Vimal Joseph vimaljos...@gmail.com wrote: Hi, Is it possible to run the Physics activity as a standalone application? I've tried that (Physics-4.tar.gz) and got the following error: Traceback (most recent call last): File physics.py, line 129, in module main() File physics.py, line 123, in main game = PhysicsGame(screen) File physics.py, line 50, in __init__ self.canvas = olpcgames.ACTIVITY.canvas AttributeError: 'NoneType' object has no attribute 'canvas' I've installed the pygame and box2d and related libraries. I use Ubuntu 9.10 Hi Vimal, you will need to modify Physics to not depend on sugar-specific stuff if you want it to run outside Sugar. Regards, Tomeu thanks, ~vimal -- Libarate your documents, Celebrate document freedom day 2010 Use OpenOffice : http://openoffice.org http://documentfreedom.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] how to run the Physics Activity as a standalone application?
Vimal, Walter did some work about this with Turtle Art, you might want to look into it. Rafael Ortiz On Thu, Apr 8, 2010 at 11:06 AM, Tomeu Vizoso to...@tomeuvizoso.net wrote: On Sat, Apr 3, 2010 at 03:46, Vimal Joseph vimaljos...@gmail.com wrote: Hi, Is it possible to run the Physics activity as a standalone application? I've tried that (Physics-4.tar.gz) and got the following error: Traceback (most recent call last): File physics.py, line 129, in module main() File physics.py, line 123, in main game = PhysicsGame(screen) File physics.py, line 50, in __init__ self.canvas = olpcgames.ACTIVITY.canvas AttributeError: 'NoneType' object has no attribute 'canvas' I've installed the pygame and box2d and related libraries. I use Ubuntu 9.10 Hi Vimal, you will need to modify Physics to not depend on sugar-specific stuff if you want it to run outside Sugar. Regards, Tomeu thanks, ~vimal -- Libarate your documents, Celebrate document freedom day 2010 Use OpenOffice : http://openoffice.org http://documentfreedom.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] how to run the Physics Activity as a standalone application?
On Thu, Apr 8, 2010 at 9:14 PM, Rafael Enrique Ortiz Guerrero dir...@gmail.com wrote: Vimal, Walter did some work about this with Turtle Art, you might want to look into it. Rafael Ortiz A more simpler example would be Abacus. http://git.sugarlabs.org/projects/abacus/repos/mainline/trees/master -walter On Thu, Apr 8, 2010 at 11:06 AM, Tomeu Vizoso to...@tomeuvizoso.net wrote: On Sat, Apr 3, 2010 at 03:46, Vimal Joseph vimaljos...@gmail.com wrote: Hi, Is it possible to run the Physics activity as a standalone application? I've tried that (Physics-4.tar.gz) and got the following error: Traceback (most recent call last): File physics.py, line 129, in module main() File physics.py, line 123, in main game = PhysicsGame(screen) File physics.py, line 50, in __init__ self.canvas = olpcgames.ACTIVITY.canvas AttributeError: 'NoneType' object has no attribute 'canvas' I've installed the pygame and box2d and related libraries. I use Ubuntu 9.10 Hi Vimal, you will need to modify Physics to not depend on sugar-specific stuff if you want it to run outside Sugar. Regards, Tomeu thanks, ~vimal -- Libarate your documents, Celebrate document freedom day 2010 Use OpenOffice : http://openoffice.org http://documentfreedom.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel