Tutorials: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Tell user what the developer's manual will do for them)
m (→‎Sugar Activity Tutorials: +gtk tutorials)
Line 7: Line 7:


* [[Sugar 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
* [[Sugar 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
* Tuquito's [[Hello World!]] using GTK+Glade rather than hand-coded GTK
* [[Tubes Tutorial]] - Activity sharing using Tubes
* [[Tubes Tutorial]] - Activity sharing using Tubes

* [[PyGTK]]
** [[PyGTK/Hello World Tutorial|PyGTK Activity Tutorials]]: (with and without Glade)
** Tuquito's [[Hello World!]], using GTK+Glade
** [[PyGTK/Smooth_Animation_with_PyGTK|Smooth Animation with PyGTK]]

* [[OLPCGames]]/[[Pygame]]
* [[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
** [[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

Revision as of 11:38, 18 January 2008

<< Developers/Documentation

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

  • Sugar 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
  • Tubes Tutorial - Activity sharing using Tubes
  • 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
    • OLPCGames Presentation (Openoffice presentation, Powerpoint) - Slides describing how to create a working bundle manually (largely obsoleted by OLPCGames 1.2's skeleton builder)
  • 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 actvity (very involved).
  • Translation/Internationalization
    • Python i18n -- Python's built-in internationalization services and there 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

Further Reading

  • API Reference Pointers to reference documentation for the platform.