[Sugar-devel] SugarGames, GTK3 and fonts ?

Gonzalo Odiard gonzalo at laptop.org
Tue Sep 24 13:56:31 EDT 2013


No problem.
In fact, tusmath is a c game, and that is a problem,
because is not multiplatform.
Go ahead, but look at it to see what they do.

Gonzalo


On Tue, Sep 24, 2013 at 2:49 PM, laurent bernabe
<laurent.bernabe at gmail.com>wrote:

> Oups sorry
>
> I did not notice that there was a similar game.
>
> In fact, I am lacking ideas.
>
> Regards
>
>
> 2013/9/24 Gonzalo Odiard <gonzalo at laptop.org>
>
>> If you add a mode similar to tuxmath,
>> may be we can kill that game finally......
>>
>> While the pedagogy of tuxmath is not the best,
>> every deployment ask for it
>>
>> Gonzalo
>>
>>
>> On Tue, Sep 24, 2013 at 2:37 PM, laurent bernabe <
>> laurent.bernabe at gmail.com> wrote:
>>
>>> Thank you.
>>>
>>> So I think I'll try to develop for both GTK2 and GTK3.
>>>
>>>  It's a game, and I have nearly finished it for OLPC 0.100 :
>>> https://git.sugarlabs.org/hittheballs/hittheballs
>>>
>>> It's a very simple game where balls with operations goes across a screen
>>> area, and user must choose good one(s).
>>>
>>> Regards
>>>
>>>
>>> 2013/9/24 Alan Jhonn Aguiar Schwyn <alanjas at hotmail.com>
>>>
>>>> My case:
>>>>
>>>> - I use Ubuntu with sugar-emulator 0.96 to test GTK2 activities. Only
>>>> with a link of my GIT folder
>>>> to ~/Activities and I'm ready to test it!
>>>>
>>>> - For latest: I download the sugar-build and works. But in certain
>>>> moment, it begin with a grade of complex
>>>> that I don't like. Now with the broot system, it's a bit complicated.
>>>> But "is what you get".
>>>>
>>>> To make a GTK2 and GTK3 activity you need make 2 codes, and maybe, two
>>>> different
>>>> activities. There are ways in python to check wich version of gtk you
>>>> have in the system
>>>> and run a gtk2 or gtk3 activity. But that needs extra work to update
>>>> both "branchs".
>>>>
>>>> >So what do you advice me ? (developping in GTK2, GTK3, and/or web
>>>> activity)
>>>>
>>>> I don't know wich type of activity you want to do. It's a game?
>>>>
>>>> ------------------------------
>>>> Date: Tue, 24 Sep 2013 19:21:17 +0200
>>>> From: laurent.bernabe at gmail.com
>>>> To: alanjas at hotmail.com
>>>> CC: gonzalo at laptop.org; sugar-devel at lists.sugarlabs.org
>>>> Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
>>>>
>>>> Hello
>>>>
>>>> In fact I am developping against GTK3 because I have the latest
>>>> sugar-build, which holds the 0.100 version.
>>>>
>>>> Otherwise, I can download the 0.94 or some versions under in
>>>> SugarOnAStick format, or in a VirtualBox format : but this way I have
>>>> difficulties for transferring easily the project from my host system to the
>>>> guest sugar one. I tried, in VirtualBox, to use the guest additions in
>>>> order to share a folder between the host and guest systems (some years
>>>> ago), but I did not manage.
>>>>
>>>> Also, I don't know how to develop the application so that it supports
>>>> both gtk2 and gtk3.
>>>>
>>>> And I was also planning to port the activity to a web acitvity, instead
>>>> of a gtk one, but it may not be available to many OLPC that way. And I
>>>> don't know where to start.
>>>>
>>>> So what do you advice me ? (developping in GTK2, GTK3, and/or web
>>>> activity)
>>>>
>>>> Regards.
>>>>
>>>>
>>>>
>>>> 2013/9/24 Alan Jhonn Aguiar Schwyn <alanjas at hotmail.com>
>>>>
>>>> Hi,
>>>>
>>>> You only will make a GTK3 version?
>>>> The latest sugar (0.100) is not used in any deployment:
>>>> in all countries we have Sugar 0.94 or less.
>>>>
>>>> Would be good have a GTK2 version of that activity.
>>>>
>>>> Regards!
>>>>
>>>> Alan
>>>>
>>>> ------------------------------
>>>> Date: Tue, 24 Sep 2013 16:45:13 +0200
>>>> From: laurent.bernabe at gmail.com
>>>> To: gonzalo at laptop.org
>>>> CC: sugar-devel at lists.sugarlabs.org
>>>> Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
>>>>
>>>> Thank you very much.
>>>>
>>>> I'll try with Python/Cairo/Gtk3.
>>>>
>>>>
>>>> 2013/9/24 Gonzalo Odiard <gonzalo at laptop.org>
>>>>
>>>> If you are not porting a existing olpcgames application,
>>>> I suggest you use something else.
>>>> You can use any of the html5 frameworks, or plain python/cairo stuff.
>>>> sugargames de not have to much development,
>>>> and pygame/gtk do not work really well together.
>>>>
>>>> Gonzalo
>>>>
>>>>
>>>>
>>>> On Tue, Sep 24, 2013 at 11:16 AM, laurent bernabe <
>>>> laurent.bernabe at gmail.com> wrote:
>>>>
>>>> Hello everyone,
>>>>
>>>> As I am developping my game HitTheBalls for sugar 0.100 (I have, I
>>>> think, the latest sugar-build), I am planning to switch it from OLPCGames
>>>> 1.6 to sugargames.
>>>>
>>>> But the sugargames tells that pango font is not supported. So, what is
>>>> the best way to get started with fonts in SugarGames ? Do you have some
>>>> links ? I searched over the web, and I found tutorials for Gtk3 and
>>>> PangoCairo, but I don't know if these can work with SugarGames.
>>>>
>>>> Regards
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>>
>>>> _______________________________________________ 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/20130924/cb18a84f/attachment-0001.html>


More information about the Sugar-devel mailing list