pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Ringtale

Ringtale - 2009.9.23

Kris Schnee (snow)

Tags:

Description

A simple framework for managing multiple states of a game. You define states representing things like a title screen, main screen, and inventory screen, then "push" and "pop" states to easily switch between them. Make your game a subclass of ringtale.Framework. Define a state called "Spam" by defining functions "SpamSetup", "SpamLogic" and "SpamDraw". Now call your_game_object.PushState("Spam"), then your_game.MainLoop(). It'll automatically call the Logic and Draw functions in sequence, with the ability to push/pop additional states. Contains two demos and the option to add keyboard- and mouse-handler objects. Works with Pygame's sound system to handle looping music.

Links

Home Page: http://kschnee.xepher.net/code/
Source: http://kschnee.xepher.net/code/ringtale.py.txt

Releases

Ringtale - 2009.9.23 - Sep 26, 2009

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

October 16, 2009 3:46am - Ashley - nickname: (ropable) - 5/5
Very very useful to me (Pygame noob admittedly). Thanks for releasing this (along with Driftwood, etc).
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Dec 16, 2014


Dec 14, 2014

Dec 9, 2014

Dec 6, 2014

Dec 5, 2014

Dec 3, 2014

Nov 27, 2014


Nov 13, 2014

Nov 11, 2014


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)