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 SugarGam
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,
Thank you very much.
I'll try with Python/Cairo/Gtk3.
2013/9/24 Gonzalo Odiard
> 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,
>
CC: sugar-devel@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
If you are not porting a existing olpcgames application,I suggest you use
something else.
You can use any of the
2013/9/24 Alan Jhonn Aguiar Schwyn :
> 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.
We, sugar dev community, recommend using GTK3 or web te
> Date: Tue, 24 Sep 2013 13:50:42 -0300
> Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
> From: ma...@laptop.org
> To: alan...@hotmail.com
> CC: laurent.bern...@gmail.com; gonz...@laptop.org;
> sugar-devel@lists.sugarlabs.org
>
> 2013/9/24 Alan Jhonn Aguiar Schw
> Deployments using old Sugar releases, they are missing a lot of
> > features, bug fixes and translations. But of course they will have
> > reasons.
>
> One reason can be the stability. For example: Ceibal have problems with
> latest
> Dextrose 4 (Sugar 0.98).
>
>
While I understand your point,
--
> Date: Tue, 24 Sep 2013 16:45:13 +0200
> From: laurent.bern...@gmail.com
> To: gonz...@laptop.org
> CC: sugar-devel@lists.sugarlabs.org
> Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
>
> Thank you very much.
>
> I'll try with Python/Cairo/Gtk3.
>
>
>
>While I understand your point, is a chicken and egg problem,
>few users, few testing, low stability.
Yes, it's a dichotomy.
>The developer community can break that, no the deployments.
Yes, but if you depend of the deployment apply your improves..it's difficult.
>If you are making a activity to u
z...@laptop.org; sugar-devel@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
fo
;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.bern...@gmail.com
> To: alan...@hotmail.com
> CC: gonz...@laptop.org; sugar-devel@lists.sugarlabs.org
> Subject: Re: [Sugar-
know wich type of activity you want to do. It's a game?
>>
>> --
>> Date: Tue, 24 Sep 2013 19:21:17 +0200
>> From: laurent.bern...@gmail.com
>> To: alan...@hotmail.com
>> CC: gonz...@laptop.org; sugar-devel@lists.sugarlabs.org
>> Su
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.bern...@gmail.com
>>
t;
>>> >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
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
GTK3 version and I translate to GTK2 :-)
Regards!
Alan
Date: Tue, 24 Sep 2013 14:56:31 -0300
Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
From: gonz...@laptop.org
To: laurent.bern...@gmail.com
CC: alan...@hotmail.com; sugar-devel@lists.sugarlabs.org
No problem.In fact, tusmath is a c game
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
; You must make another few of changes. I use the default font, for example.
>
> If you want, you can do the GTK3 version and I translate to GTK2 :-)
>
> Regards!
>
> Alan
>
> --
> Date: Tue, 24 Sep 2013 14:56:31 -0300
> Subject: Re: [S
fonts = pygame.font.get_fonts()
Or load a specific font:
font = pygame.font.Font("path/to/the/font/my_font.ttf", 30)
Regards!
Alan
Date: Tue, 24 Sep 2013 20:32:27 +0200
Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
From: laurent.bern...@gmail.com
To: alan...@hotmail.com
CC: gonz...@laptop.o
>
> Regards!
>
> Alan
>
> --------------
> Date: Tue, 24 Sep 2013 20:32:27 +0200
> Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
> From: laurent.bern...@gmail.com
> To: alan...@hotmail.com
> CC: gonz...@laptop.org; sugar-devel@lists.sugarlab
gt;>
>> If you want to see all fonts:
>>
>> all_fonts = pygame.font.get_fonts()
>>
>> Or load a specific font:
>>
>> font = pygame.font.Font("path/to/the/font/my_font.ttf", 30)
>>
>> Regards!
>>
>> Alan
>>
>>
use PyGame directly, but when activity loads, it open another window
andyou not have the sugar toolbars.
And yes.. Pygame is the better python game library!
Regards!
Alan
Date: Wed, 25 Sep 2013 13:23:07 +0200
Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
From: laurent.bern...@gmail.co
2013/9/25 Alan Jhonn Aguiar Schwyn :
> SugarGames is a "bit" deprecated but works. There are a lot of activities
> that uses it.
> In my case, all my activities (except one) uses SugarGames library.
Yes, I agree, It works and at the end, it all depends on the audience
you are targetting.
--
..
).
>>>
>>> If you want to see all fonts:
>>>
>>> all_fonts = pygame.font.get_fonts()
>>>
>>> Or load a specific font:
>>>
>>> font = pygame.font.Font("path/to/the/font/my_font.ttf", 30)
>>>
>>> Regards!
>>>
>>>
en activity loads, it open another
>> window and
>> you not have the sugar toolbars.
>>
>> And yes.. Pygame is the better python game library!
>>
>> Regards!
>>
>> Alan
>>
>> --
>> Date: Wed, 25 Sep
(I don't know the name).
>>>>
>>>> If you want to see all fonts:
>>>>
>>>> all_fonts = pygame.font.get_fonts()
>>>>
>>>> Or load a specific font:
>>>>
>>>> font = pygame.font.Font("path/to/the/fon
gt;
> And yes.. Pygame is the better python game library!
>
> Regards!
>
> Alan
>
> ----------
> Date: Wed, 25 Sep 2013 13:23:07 +0200
> Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
> From: laurent.bern...@gmail.com
> To: alan...@hotmail.com
&
;
>>>>> 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
>>>>>
>>>>>
>>
>>>>>> Copy the patch to your GIT folder and do:
>>>>>>
>>>>>> git apply 0001-....
>>>>>>
>>>>>> After, if you like the changes, can commit them.
>>>>>>
>>>>>> In Pygame, when you do:
>>>>>>
&g
On 25 September 2013 18:53, laurent bernabe wrote:
> I thought about translating my application into a Sugar Web applications,
> but :
>
>- I don't know well sugar web library (sorry, I went to the developper
>page, looking at sources :
>http://developer.sugarlabs.org/sugar-web/README.
013/9/25 laurent bernabe
>>>>>
>>>>>> Thank you very much : I'll apply those changes today.
>>>>>>
>>>>>>
>>>>>> 2013/9/25 Alan Jhonn Aguiar Schwyn
>>>>>>
>>>>>>> Copy the pa
On 25 September 2013 19:13, laurent bernabe wrote:
> Ok. First I try to finish the SugarGame version (and as it is a very basic
> application, it must not be hard) : then after having intertionalized,
> integrated with the toolbar ...
> Maybe I will try to write it in HTML5 activity : at least for
2013/9/25 Daniel Narvaez
>
>
> That would be awesome, please reach out to the list if you run into any
> issue!
>
Ok, no problem. I've downloaded the WelcomeWeb activity, and looking at
activity_custom.js, it does not seems to me that there is any difficult
point, at least for a basic activity li
A new patch based on your latest commit.Now will must work.
Date: Wed, 25 Sep 2013 19:28:11 +0200
From: laurent.bern...@gmail.com
To: dwnarv...@gmail.com
CC: alan...@hotmail.com; sugar-devel@lists.sugarlabs.org; gonz...@laptop.org
Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
2013/9
an...@hotmail.com; sugar-devel@lists.sugarlabs.org;
> gonz...@laptop.org
> Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?
>
>
>
>
> 2013/9/25 Daniel Narvaez
>
>
> That would be awesome, please reach out to the list if you run into any
> issue!
>
>
> Ok
2013/9/25 Daniel Narvaez :
> Personally I wouldn't use gtk to write a game. As far as I know, a 2d
> drawing API (cairo) is pretty much all you are going to get from it.
>
> I would either keep using pygame, which doesn't integrate very well with gtk
> (and hence sugar), but it works in the end.
>
Thank you very much.
Maybe I can try developping the html activity version of my nearly finished
application HitTheBalls (there are little stuffs to add like setting up
some games levels, a main screen, and i18n) - renaming it to
HitTheBallsWeb - and adding it as a branch of my repository HitTheB
37 matches
Mail list logo