Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/rayito/__init__.py
blob: 32d86dfed57a36420c7a2fc474d79a45a9ad98f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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