[Sugar-devel] how to run the Physics Activity as a standalone application?
Rafael Enrique Ortiz Guerrero
dirakx at gmail.com
Thu Apr 8 21:14:59 EDT 2010
Walter did some work about this with Turtle Art,
you might want to look into it.
On Thu, Apr 8, 2010 at 11:06 AM, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
> On Sat, Apr 3, 2010 at 03:46, Vimal Joseph <vimaljoseph at gmail.com> wrote:
>> 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>
>> 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
> Hi Vimal, you will need to modify Physics to not depend on
> sugar-specific stuff if you want it to run outside Sugar.
>> Libarate your documents, Celebrate document freedom day 2010
>> Use OpenOffice : http://openoffice.org
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
More information about the Sugar-devel