[gcompris-devel] point API

bruno bruno.coudoin at free.fr
Sun Dec 2 12:30:03 UTC 2001


On dim, 2001-12-02 at 09:52, pgeorges wrote:
> bruno a écrit :
> 
> 
> > I also just added a new API in gcompris core to have a point counter
> > system.
> > It provides:
> > void gcompris_point_start (PointStyleList style, guint x, guint y, guint
> > max);
> > void gcompris_point_end();
> > void gcompris_point_set(guint value);
> 
> Some file(s) are missing in CVS (at least point.h), preventing
> compilation.
> Does 'point' is the correct naming ? Wouldn't it be score ? (point seems
> a bit french).
>  
Correct, now they are in the cvs. I will change the name to score asap.

> > Today there is just one pointstyle of the form 1/10 but we could imagine
> > to use a decreasing list of cube as another style for smaller children.
> > 
> > I started to use it in clock, algebra and falling words.
> > 
> > The goal is to replace the following entry:
> > void             gcompris_bar_set_timer (guint time);
> > void             gcompris_bar_set_maxtimer (guint time);
> > These methods are using the progress bar in the window status bar but it
> > is too hard to see.
> > When completed this status bar will be completly removed.
> 
> The status bar could be kept to track progress inside a board, and the
> scoring for the whole bunch of boards.
> Well, I certainly need to check how it works by myself, when it will
> compile.
>  
I don't think it is good to keep it for any usage because children just
don't see it.
We could have a general scoring displayed in the control bar but it is
complex to implement.

> > After on the same principle, I will create a real timer with
> > gcompris_timer_start(style, ...
> > This will make the user loose when the time is up.
> > It will make gcompris more challenging I hope.
> > I already have some great picture from Renaud for that.
> 
> I fully disagree on the use of a timer. Children don't like that
> (neither most adults). We must not make children panic because of a time
> out.
> I would prefer a gentle voice hurrying up the child, when he's sleeping
> in front of the screen.
>  
I plan to use it only for algebra because it really makes sense to be
abble to answer in a given time.
My plan is to have the algebra set of board with or without timer to
meet different education goal.
Do you still disagree ?

> > Also, I would like to get rid of the gnome menu and most important,
> > change the general size of gcompris to match a usual resolution ratio.
> > It means that the 'drawing' area will be less high.
> 
> This will have a lot of consequences on many boards. Some are tuned to
> the actual resolution.

I know, but the may problem we are facing is to be able to work in
640x480 resolution. 
I just found out that 640/480, 800/600, 1024/768 are equals.
My bet is by using this ratio, gcompris will be closer to fullscreen
(why not fullscreen ?).

Bruno.

> 
> Pascal






More information about the Gcompris-devel mailing list