<div dir="ltr">Oh : I forgot there is the Ubuntu package for sugar-emulator.<div>I will try it again.</div><div><br></div><div>Thanks.</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/9/24 laurent bernabe <span dir="ltr"><<a href="mailto:laurent.bernabe@gmail.com" target="_blank">laurent.bernabe@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thank you.<div><br></div><div>So I think I'll try to develop for both GTK2 and GTK3.</div><div><br></div><div>It's a game, and I have nearly finished it for OLPC 0.100 : <a href="https://git.sugarlabs.org/hittheballs/hittheballs" target="_blank">https://git.sugarlabs.org/hittheballs/hittheballs</a></div>

<div><br></div><div>It's a very simple game where balls with operations goes across a screen area, and user must choose good one(s).</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

2013/9/24 Alan Jhonn Aguiar Schwyn <span dir="ltr"><<a href="mailto:alanjas@hotmail.com" target="_blank">alanjas@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">My case:<div><br></div><div>- I use Ubuntu with sugar-emulator 0.96 to test GTK2 activities. Only with a link of my GIT folder</div><div>to ~/Activities and I'm ready to test it!</div><div><br></div>

<div>- For latest: I download the sugar-build and works. But in certain moment, it begin with a grade of complex</div><div>that I don't like. Now with the broot system, it's a bit complicated. But "is what you get".</div>

<div><br></div><div>To make a GTK2 and GTK3 activity you need make 2 codes, and maybe, two different</div><div>activities. There are ways in python to check wich version of gtk you have in the system</div><div>and run a gtk2 or gtk3 activity. But that needs extra work to update both "branchs".</div>

<div><br></div><div>><span style="font-size:12pt">So what do you advice me ? (developping in GTK2, GTK3, and/or web activity)</span></div><div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">I don't know wich type of activity you want to do. It's a game?</span></div>

<div><br><div><hr>Date: Tue, 24 Sep 2013 19:21:17 +0200<br>From: <a href="mailto:laurent.bernabe@gmail.com" target="_blank">laurent.bernabe@gmail.com</a><br>To: <a href="mailto:alanjas@hotmail.com" target="_blank">alanjas@hotmail.com</a><br>

CC: <a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a>; <a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a><br>Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?<br>

<br><div dir="ltr">Hello<div><br></div><div>In fact I am developping against GTK3 because I have the latest sugar-build, which holds the 0.100 version.</div><div><br></div><div>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.</div>


<div><br></div><div>Also, I don't know how to develop the application so that it supports both gtk2 and gtk3.</div><div><br></div><div>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.</div>


<div><br></div><div>So what do you advice me ? (developping in GTK2, GTK3, and/or web activity)</div><div><br></div><div>Regards.</div><div><br></div></div><div><br><br><div>2013/9/24 Alan Jhonn Aguiar Schwyn <span dir="ltr"><<a href="mailto:alanjas@hotmail.com" target="_blank">alanjas@hotmail.com</a>></span><br>


<blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hi,<div><br></div><div>You only will make a GTK3 version?</div><div>The latest sugar (0.100) is not used in any deployment:</div><div>in all countries we have Sugar 0.94 or less.</div><div><br>Would be good have a GTK2 version of that activity.</div>


<div><br></div><div>Regards!</div><div><br></div><div>Alan<br><br><div><hr>Date: Tue, 24 Sep 2013 16:45:13 +0200<br>From: <a href="mailto:laurent.bernabe@gmail.com" target="_blank">laurent.bernabe@gmail.com</a><br>To: <a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a><br>


CC: <a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a><br>Subject: Re: [Sugar-devel] SugarGames, GTK3 and fonts ?<br><br><div dir="ltr">Thank you very much.<div><br></div>


<div>I'll try with Python/Cairo/Gtk3.</div></div><div><br><br><div>2013/9/24 Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a>></span><br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you are not porting a existing olpcgames application,<div>I suggest you use something else.</div><div>
You can use any of the html5 frameworks, or plain python/cairo stuff.</div><div>sugargames de not have to much development, </div>
<div>and pygame/gtk do not work really well together.</div><div><br></div><div>Gonzalo</div><div><br></div></div><div><br><br><div>On Tue, Sep 24, 2013 at 11:16 AM, laurent bernabe <span dir="ltr"><<a href="mailto:laurent.bernabe@gmail.com" target="_blank">laurent.bernabe@gmail.com</a>></span> wrote:<br>




<blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>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.</div>




<div><br>
</div><div>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.</div>





<div><br></div><div>Regards</div></div>
<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
<br>_______________________________________________
Sugar-devel mailing list
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a></div></div>                                     </div></div>
</blockquote></div><br></div>
<br>_______________________________________________
Sugar-devel mailing list
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a></div></div>                                     </div></div>
</blockquote></div><br></div>
</blockquote></div><br></div>