Tutorials: Difference between revisions
Jump to navigation
Jump to search
(Integrate content from "Developers", description of target audience, link to API ref) |
(Added translation templates) |
||
(23 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Developers}} |
|||
= Software Developer's Tutorials = |
|||
{{Translations}} |
|||
<< [[Developers/Documentation]] |
|||
Here you will find links to tutorials for [[Developers]] describing how to create [[Activity|Activities]] for the OLPC XO environment. |
|||
These tutorials demonstrate the programming of software for the OLPC environment. You should likely read the [[Developers|Developer's Manual]] to understand how to set up your working environment before you attempt any of these tutorials. |
|||
== Sugar Activity Tutorials == |
== Sugar Activity Tutorials == |
||
* [[ |
* [[Activity tutorial]] - This Hello World activity shows the basics of creating a python activity for Sugar using basic GTK operations. The bulk of the tutorial is focused on setting up the activity directory structure and boilerplate |
||
* [[Collaboration Tutorial]] - [[Activity sharing]] using [[Tubes]] |
|||
⚫ | |||
* OLPCGames Presentation ([http://ywwg.com/olpc/pygame_olpc_bundle.odp Openoffice presentation], [http://ywwg.com/olpc/pygame_olpc_bundle.ppt Powerpoint]) - Slides describing how to create a working bundle with the pygame framework |
|||
* [[PyGTK]] |
|||
** [[PyGTK/Hello World Tutorial|PyGTK Activity Tutorials]]: (with and without Glade) |
|||
⚫ | |||
** [[PyGTK/Smooth_Animation_with_PyGTK|Smooth Animation with PyGTK]] |
|||
* [[OLPCGames]]/[[Pygame]] |
|||
** [[Game development HOWTO]] -- download a zip file, run a command, register the resulting activity, run it, now make it do something fun and run it again |
|||
** [http://www.vrplumber.com/olpc/pycon2008-handout.odt PyCon 2008 Tutorial] ([http://www.vrplumber.com/olpc/pycon2008.tar.gz Code]) -- Hello World, Participant Tracking in Games, Networked TicTacToe, Journal integration, SVG and Pango rendering |
|||
** [[Porting pygame games to the XO]] -- Phil Hassey's notes on porting two of his games to the XO. Much shorter and higher-level presentation, assumes you already have a working Pygame game, know your way around your game's code base, and just need to know what's different about OLPCGames under Sugar |
|||
* Red Hat Magazine Tutorials (Block Party) |
* Red Hat Magazine Tutorials (Block Party) |
||
** [http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar Introducing Sugar] Article describing how to use sugar-jhbuild to set up a development environment |
** [http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar Introducing Sugar] Article describing how to use sugar-jhbuild to set up a development environment |
||
** [http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/ Anatomy of an Activity] - A more detailed look at Sugar activities (Hello World style introduction to creating a new activity) |
** [http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/ Anatomy of an Activity] - A more detailed look at Sugar activities (Hello World style introduction to creating a new activity) |
||
** [http://www.redhatmagazine.com/2007/04/05/building-the-xo-porting-a-pygtk-game-to-sugar-part-one/ Converting a PyGTK application to Sugar: Part 1] - Part 1 in a series of tutorials on how to port existing applications to Sugar. This tutorial goes into the internals of the game BlockParty in preparation for converting it into a Sugar activity. |
** [http://www.redhatmagazine.com/2007/04/05/building-the-xo-porting-a-pygtk-game-to-sugar-part-one/ Converting a PyGTK application to Sugar: Part 1] - Part 1 in a series of tutorials on how to port existing applications to Sugar. This tutorial goes into the internals of the game BlockParty in preparation for converting it into a Sugar activity. |
||
** [http://www.redhatmagazine.com/2007/04/26/building-the-xo-porting-a-pygtk-game-to-sugar-part-two/ Converting a PyGTK application to Sugar: Part 2] - Part 2 in a series of tutorials on how to port existing applications to Sugar. This tutorial goes into converting the BlockParty game into a Sugar |
** [http://www.redhatmagazine.com/2007/04/26/building-the-xo-porting-a-pygtk-game-to-sugar-part-two/ Converting a PyGTK application to Sugar: Part 2] - Part 2 in a series of tutorials on how to port existing applications to Sugar. This tutorial goes into converting the BlockParty game into a Sugar activity (very involved). |
||
* Translation/Internationalization |
|||
** [[Python i18n]] -- Python's built-in internationalization services and their use described as applied to a PyGame project |
|||
** [[Python Unicode]] -- Python's unicode data-type |
|||
** [[Translating]] -- Guide on how to go about doing translations |
|||
== Hardware == |
|||
* [[Programming the camera]] -- tutorial describing how to program the (video) camera using [[GStreamer]] |
|||
* [[Forth Lessons]] -- How to use [[Forth]] and [[Open Firmware]] |
|||
== Further Reading == |
== Further Reading == |
Latest revision as of 05:01, 22 May 2011
For Developers
These tutorials demonstrate the programming of software for the OLPC environment. You should likely read the Developer's Manual to understand how to set up your working environment before you attempt any of these tutorials.
Sugar Activity Tutorials
- Activity tutorial - This Hello World activity shows the basics of creating a python activity for Sugar using basic GTK operations. The bulk of the tutorial is focused on setting up the activity directory structure and boilerplate
- Collaboration Tutorial - Activity sharing using Tubes
- PyGTK
- PyGTK Activity Tutorials: (with and without Glade)
- Tuquito's Hello World!, using GTK+Glade
- Smooth Animation with PyGTK
- OLPCGames/Pygame
- Game development HOWTO -- download a zip file, run a command, register the resulting activity, run it, now make it do something fun and run it again
- PyCon 2008 Tutorial (Code) -- Hello World, Participant Tracking in Games, Networked TicTacToe, Journal integration, SVG and Pango rendering
- Porting pygame games to the XO -- Phil Hassey's notes on porting two of his games to the XO. Much shorter and higher-level presentation, assumes you already have a working Pygame game, know your way around your game's code base, and just need to know what's different about OLPCGames under Sugar
- Red Hat Magazine Tutorials (Block Party)
- Introducing Sugar Article describing how to use sugar-jhbuild to set up a development environment
- Anatomy of an Activity - A more detailed look at Sugar activities (Hello World style introduction to creating a new activity)
- Converting a PyGTK application to Sugar: Part 1 - Part 1 in a series of tutorials on how to port existing applications to Sugar. This tutorial goes into the internals of the game BlockParty in preparation for converting it into a Sugar activity.
- Converting a PyGTK application to Sugar: Part 2 - Part 2 in a series of tutorials on how to port existing applications to Sugar. This tutorial goes into converting the BlockParty game into a Sugar activity (very involved).
- Translation/Internationalization
- Python i18n -- Python's built-in internationalization services and their use described as applied to a PyGame project
- Python Unicode -- Python's unicode data-type
- Translating -- Guide on how to go about doing translations
Hardware
- Programming the camera -- tutorial describing how to program the (video) camera using GStreamer
- Forth Lessons -- How to use Forth and Open Firmware
Further Reading
- API Reference Pointers to reference documentation for the platform.