[gcompris-devel] Question in submarine
Bruno Coudoin
bruno.coudoin at free.fr
Sun Aug 17 15:12:03 UTC 2003
Thanks for the clarification. I will change the tank to display a water
level intead of a number. It will be I hope more visual for the kids.
For the gnome API, I am sorry for it. I agree with you that it lacks
documentation and we suffer bugs. You entered into another complexity
using the afine to rotate the submarine and I feel your pain.
On the other hand the gnome canvas is a high level API and allows us to
create the drawing board for example that would be difficult to
implement with lower level API like SDL.
Another choice would be qt canvas. It is probably better documented but
we won't get more performance.
So chosing an API is very complex and you never know how thinks will
evolve.
Lately we got the chance to have the python plugin created but
unfortunatly, we failed to attract python coders to effectively use it.
What is your suggestion on the API front (QTCanvas, SDL, Stay as
current)? What to other think ?
Bruno.
Le dim 17/08/2003 à 00:19, pgeorges a écrit :
> Bruno Coudoin wrote:
> > Pascal,
> >
> > I still don't understand how the middle tank works and what it is use
> > for.
> > It is strange because it works the oposite way than the 2 main tanks.
> > Opening the top valve add more air in the middle tank while it remove
> > air in the 2 main tanks.
> >
> > I suggest to simply remove the middle tank since it adds confusion to
> > the submarine and it is not mandatory to understand the whole picture,
> > nor to operate it.
> >
> > Bruno.
>
> The two main tanks have no accurate values. When you let air go out by
> opening the top valves, you can only guess what remains in them.
> They are usually used in the same way :
> - dive by opening both valves a long time;
> - surface by flooding air (of course with valves closed - it is
> forbidden to navigate with valves opened !).
>
> One special case is when you want to make an emergency surfacing : then
> you only flood air in the front tank (15 sec) to get a positive angle as
> quickly as possible. Then use both tanks.
>
> The central tank is used to balance the submarine. The value shown is
> the water you have in. If you open the top valve, water goes into the
> tank, not air (because there is no pressure), and you should see it
> dives (if the main tanks have no air into). This is where you
> misunderstand how it works.
>
> I'm sorry not to participate more to gcompris, but I tried my best to
> understand Gnome APIs and found nothing less usable in 10 years of IT !
> So I really got fed up.
>
> Pascal
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel
>
More information about the Gcompris-devel
mailing list