[Sugar-devel] Is PyGame already installed on real XO ?

Alan Jhonn Aguiar Schwyn alanjas at hotmail.com
Fri Jun 28 04:56:46 EDT 2013


Maybe you can obtain more specific info in the gcompris list:
https://lists.sourceforge.net/lists/listinfo/gcompris-devel

Date: Fri, 28 Jun 2013 10:54:18 +0200
From: laurent.bernabe at gmail.com
To: gonzalo at laptop.org
CC: sugar-devel at lists.sugarlabs.org
Subject: Re: [Sugar-devel] Is PyGame already installed on real XO ?

Finally I've just understood how is orgranized the GCompris project :the boards implementations are written in C language, under the src/boards folderthe xml definition of the board is defined in boards/chess_movelearn.xml.in
the pieces are in the boards/chessNow I am trying to understand :how is the individual Chess MoveLearn is bundled from the overall GCompris sources
if I can easily change the chess board behaviour, just for Chess MoveLearn, particularly in order to highlight some cells (either by a blink or using a special color), and - for the theory part - to animate pieces on the board. (Though I think it can be better to use a child window instead when teaching pieces movement : so the animations would be managed in this child window).
Regards
2013/6/28 laurent bernabe <laurent.bernabe at gmail.com>

Ok. So I keep the main idea of an exiting GCompris application extension.
I've looked at the mainline branch of the GCompris repository on Git SugarLabs : but I did not found any code relating to the sub project Chess MoveLearn (neither did I with the GCompris Activity homepage link).


Regards

2013/6/28 Gonzalo Odiard <gonzalo at laptop.org>


I am not sure about GCompris use of PyGame, the last time I checked
(a long time ago) they used goocanvas

Gonzalo


On Thu, Jun 27, 2013 at 9:04 PM, laurent bernabe <laurent.bernabe at gmail.com> wrote:



Thanks for the advice,
So I think I'll start a program from scratch, using Gtk3 (as I suppose that GCompris is built upon PyGame).
Regards



2013/6/28 Gonzalo Odiard <gonzalo at laptop.org>




IMHO, PyGame does not integrate well with gtk, and we see different issues with activities using it,better use Gtk3 or do a web activity.
Gonzalo





On Thu, Jun 27, 2013 at 6:56 AM, laurent bernabe <laurent.bernabe at gmail.com> wrote:





Hello everyone,
I plan to write an activity in order to let users learn basics chess rules.
But I am wondering whether I should write it in GTK3 or PyGame as I don't know if the real XO (not the emulator instances like in my environment) has already an installation of PyGame, so that no extra work need to be done in order to install the activity I'll try to write.






Thanks in advance.

_______________________________________________

Sugar-devel mailing list

Sugar-devel at lists.sugarlabs.org

http://lists.sugarlabs.org/listinfo/sugar-devel













_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130628/7e561cc4/attachment-0001.html>


More information about the Sugar-devel mailing list