[gcompris-devel] Re: Three new python boards

Bruno Coudoin bruno.coudoin at free.fr
Fri Apr 2 15:20:04 UTC 2004


Le ven 02/04/2004 à 10:12, Christof Petig a écrit :
> Bruno Coudoin schrieb:
> > Very good. That's a usual activity for the kids. Good to have and not
> > that complex, just 184 line of code ;)
> > In the code I found the variable zufall. doesn't seems british... please
> > avoid to use non english in the code to help the maintainers.
> 
> escaped my review (patch appended)
> 
Thanks, commited.

> >>- minouche: find the strawberry hidden (color codes distance)
> >>- hexagon: the hexagonal variant of minouche (I particularly like this 
> >>board, it looks very pretty) [RPGers like hexagonal maps for their easy 
> >>distance measurement]
> >>
> > 
> > I saw that there is 2 different file for each activity but to me it
> > should be a level 1 = minouche, level 2 = hexagon. Do you see a way to
> > do that or do you plan to add levels to each one ? For example, would
> > the concept work with letters and numbers. 
> 
> Merging both activities into a two level one we thought about, too. Some 
> reasons stood against
> 
> - enhancing and unificating the existing activity was beyond the skill 
> of the programmer that time. This way the minouche activity remained 
> easy to understand (if you look at the code).
> 
> - supporting a hexagonal grid modified most of the program in subtle 
> ways. If you merge the activities it will be more difficult to 
> understand the program. We actually thought of dumping the rectangular 
> one once the more pretty hexagonal was done. This option still exists!
> 
I vote for dumping the rectangular. Let's wait and give time to others
to test it, perhaps we will get other ideas.

> - I wanted to get feedback on whether the work would be needed at all.
> 
Sure it's needed. The API games are a reference in france. It's good to
have this. Step after step, it's one more reason to switch to GNU/Linux.


> >>PPS: I did not manage to get semitransparent rects (is that correct)
> > 
> > 
> > You can play with this with the anti aliased canvas (gcompris -a). I
> > added transparency to the hexagon and manouche items.
> 
> eh, I forgot about that one ... I thought AA would get standard some 
> time ...
> 
I'd love that but last time I checked, there was still some bugs in it.
I checked today and it's better. Found only one problem, when I enter
redraw in AA canvas it's really slow and eat 100% CPU for 5 seconds.
Without AA it's instant play. Strange.

>    Christof
> 
> PS: Is it only me seeing no activity on the list (perhaps a virus nuked 
> my subscription to most of the lists)

I have never been very vocal. I am used to work underground ;)

I am working on the windows port so gcompris do not progress so much. I
am sad not to work on adding new activities since it's what kids expect
from gcompris. New thinks to play and learn.

With these new activities and the fix for the memory board, I suggest we
should make a new release next week. Also, many translations where
updated and not many new strings added (except for these new
activities).

Bruno.






More information about the Gcompris-devel mailing list