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 folder - the xml definition of the board is defined in boards/ chess_movelearn.xml.in - the pieces are in the boards/chess Now 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.bern...@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 gonz...@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.bern...@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 gonz...@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.bern...@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@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] Is PyGame already installed on real XO ?
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.bern...@gmail.com To: gonz...@laptop.org CC: sugar-devel@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.bern...@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 gonz...@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.bern...@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 gonz...@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.bern...@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@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] Is PyGame already installed on real XO ?
Thanks, I suscribe right now Regards 2013/6/28 Alan Jhonn Aguiar Schwyn alan...@hotmail.com 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.bern...@gmail.com To: gonz...@laptop.org CC: sugar-devel@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 folder - the xml definition of the board is defined in boards/ chess_movelearn.xml.in - the pieces are in the boards/chess Now 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.bern...@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 gonz...@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.bern...@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 gonz...@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.bern...@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@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 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is PyGame already installed on real XO ?
Laurent, There is a Git repo containing all the sample code in the FLOSS Manual. You can judge for yourself how well PyGame might work for you. I am not a PyGame expert but in making the examples I thought it worked OK. There is a guest chapter on making an Activity using HTML and JavaScript which you may find worth checking out. There has been a LOT of discussion on the list lately about how best to do this, so this chapter cannot be considered the last word on the subject, but it should be a good place to begin. James Simmons On Thu, Jun 27, 2013 at 7:04 PM, laurent bernabe laurent.bern...@gmail.comwrote: 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 gonz...@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.bern...@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@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] Is PyGame already installed on real XO ?
Thanks for your answer I'll read the remaining relevant chapters on the floss. And, as you replied to me in another topic of mine : it is better to contribute to GCompris in its initial version. So I am going this way. Regards 2013/6/28 James Simmons nices...@gmail.com Laurent, There is a Git repo containing all the sample code in the FLOSS Manual. You can judge for yourself how well PyGame might work for you. I am not a PyGame expert but in making the examples I thought it worked OK. There is a guest chapter on making an Activity using HTML and JavaScript which you may find worth checking out. There has been a LOT of discussion on the list lately about how best to do this, so this chapter cannot be considered the last word on the subject, but it should be a good place to begin. James Simmons On Thu, Jun 27, 2013 at 7:04 PM, laurent bernabe laurent.bern...@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 gonz...@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.bern...@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@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] Is PyGame already installed on real XO ?
Yes.. Pygame is in Sugar.In early versions ( 0.92 ?) there are pygame 1.8.1and in newest ( 0.92? ) there are pygame 1.9.1 Date: Thu, 27 Jun 2013 11:56:15 +0200 From: laurent.bern...@gmail.com To: sugar-devel@lists.sugarlabs.org Subject: [Sugar-devel] Is PyGame already installed on real XO ? 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@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] Is PyGame already installed on real XO ?
Thank you very much :) 2013/6/27 Alan Jhonn Aguiar Schwyn alan...@hotmail.com Yes.. Pygame is in Sugar. In early versions ( 0.92 ?) there are pygame 1.8.1 and in newest ( 0.92? ) there are pygame 1.9.1 -- Date: Thu, 27 Jun 2013 11:56:15 +0200 From: laurent.bern...@gmail.com To: sugar-devel@lists.sugarlabs.org Subject: [Sugar-devel] Is PyGame already installed on real XO ? 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@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] Is PyGame already installed on real XO ?
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.bern...@gmail.comwrote: 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@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] Is PyGame already installed on real XO ?
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 gonz...@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.bern...@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@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] Is PyGame already installed on real XO ?
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.bern...@gmail.comwrote: 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 gonz...@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.bern...@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@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