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

starsfield - 1

josmiley (josmiley)

Tags:

Description

a discrete scintillating star field that you can blit as background in your project since it's a Surface object

e.g.:

from pygame import *
from starsfield import Starsfield
scr = display.set_mode((500,500))
st = Starsfield()
while True:
     st.update()
     scr.blit(st,(0,0))
     display.flip()
     time.wait(15)

Links

Home Page: http://joel-murielle.perso.sfr.fr
Source: http://joel-murielle.perso.sfr.fr/starsfield.py

Screenshot


click to view original size

Releases

starsfield - 1 - Apr 27, 2011

Pygame.org account Comments

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

July 23, 2011 4:29pm - Maxime - nickname: (spacemax)
cool scrolling mais il freeze sous seven et provoque un plantage. Fonctionne correctement sous linux.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
May 19, 2013

May 18, 2013


May 17, 2013

May 16, 2013

May 15, 2013


May 11, 2013

May 8, 2013

Apr 26, 2013

Apr 24, 2013

Apr 23, 2013

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