Skip to main content

starsfield

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


josmiley / Luke spywoker
(mutualaccount)

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)

Changes

Links

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

Releases

starsfield 1 — 27 Apr, 2011

Pygame.org account Comments