[Sugar-devel] [Karma] Re: Fwd: Conozco Uruguay in karma

Bryan Berry bryan at olenepal.org
Thu Oct 8 20:42:00 EDT 2009


On Thu, 2009-10-08 at 18:27 +0100, Ze maria wrote:
> Hello guys,
> I started a port of the activity "Conozco Uruguay" (available at
> http://activities.sugarlabs.org/en-US/sugar/addon/4199) from Python to
> the new Karma framework (downloaded from:
>  http://git.sugarlabs.org/projects/karma).

awesome!

> I'm new to html5 and to the canvas element so don't be scared by the
> lookn'feel :)
> 
> 
> Currently to only thing implemented is the capital game, where a
> person guesses where which capital of the state is located.
> 
> 
> By the way, I coulnd't get to work the Raphael function 'print', every
> time I try to use I get a :
> 
> 
> Error: f.fonts is undefined
> Source File:
> file:///Users/zemariamm/workspace/olenepal/mainline/js/raphael-min.js
> Line: 7

Print is weird. You have to define the fonts ahead of time. I have never
gotten it to work right.

> 
> 
> 
> The code is available at http://github.com/zemariamm/Conozco-Uruguay
> Comments, critics and sugestions are all welcome :)

I will play w/ it today! tks

> (To run the code just download the new karma framework and drop the
> urugay activity code in the lessons directory)
> 
> 
> Take care,
> Jose


-- 
Bryan W. Berry
Senior Engineer
OLE Nepal, http://www.olenepal.org



More information about the Sugar-devel mailing list