Author archive

Building the XO: Porting a PyGTK game to Sugar, part two

In the last lesson we learned about what made Block Party tick. In this lesson, we will turn the same PyGtk codebase into a Sugar activity with only minimal modification of the core code. As always, the code for this lesson can be found at:

http://dev.laptop.org/~j5/BlockParty_tutorial/block_party_lesson_2.tar.gz
» Read more


Building the XO: Porting a PyGTK game to Sugar, part one

Welcome to this tutorial series on porting a PyGTK game to the OLPC’s Sugar environment. While we will be concentrating on a game called Block Party, the lessons taught here can be used as a guide to create or port any number of applications. Games are just more fun to learn with. On top of learning a bit about the Sugar environment, one will also learn about graphics and input handling in PyGTK as well as a few object oriented concepts. All code in this tutorial should run as standalone PyGTK apps as well as inside of the Sugar environment.

» Read more