diff options
Diffstat (limited to 'rayito/__init__.py')
-rwxr-xr-x | rayito/__init__.py | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/rayito/__init__.py b/rayito/__init__.py new file mode 100755 index 0000000..32d86df --- /dev/null +++ b/rayito/__init__.py @@ -0,0 +1,43 @@ +#! /usr/bin/env python +# Rayito - a timeline-based event player for pygame +# Copyright (C) 2011 Gabriel Eirea +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# Contact information: +# Gabriel Eirea geirea@gmail.com +# Ceibal Jam http://ceibaljam.org + +"""Rayito - a timeline-based event player library for pygame + +Usage: + +0. Import pygame, create display, create clock, etc. +1. Import rayito +2. Load pygame images, sounds, fonts, etc. +3. Create rayito objects +4. Create a timeline and add events as (object, time, event, parameters) +5. Create a player with canvas size, position and timeline +6. In the main pygame loop, use player.update() and player.render(); +use the clock to set fps. + +""" + +from RtoObject import RtoImage +from RtoObject import RtoDialog +from RtoObject import RtoSprite +from RtoObject import RtoButton +from RtoObject import RtoSound +from RtoTimeLine import RtoTimeLine +from RtoPlayer import RtoPlayer |