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

starsfield - 1

josmiley / Luke spywoker (mutualaccount)

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
Jan 19, 2017

Jan 18, 2017


Jan 7, 2017

Dec 30, 2016

Dec 21, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

Nov 24, 2016

Nov 20, 2016

Nov 14, 2016

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