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
Feb 4, 2016

Jan 30, 2016

Jan 24, 2016

Jan 23, 2016

Jan 18, 2016

Jan 5, 2016


Dec 27, 2015

Dec 12, 2015

Dec 11, 2015

Dec 7, 2015

Nov 17, 2015

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