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
Apr 19, 2014

Apr 16, 2014


Apr 13, 2014

Apr 9, 2014

Mar 18, 2014


Mar 15, 2014


Mar 14, 2014

Mar 13, 2014

Mar 11, 2014

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