pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Flashy Screen

Flashy Screen - 0.1

Eli Benevedes (mrroboman4321)

Tags:

Description

This program basically does this: 1. Goes into Fullscreen 2. Every iteration of the whil loop, it picks a random new color, and puts it on the screen. If you would like to ask me to do something with this program/make it better, comment and rate! Sorry, If anyone would like to enlightnen me on how to post a file on SourceFourge, I will have to write all the code here: import pygame, sys, random from pygame.locals import * pygame.init() screen = pygame.display.set_mode((1000, 750), FULLSCREEN) while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() sys.exit() screen.fill((random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))) pygame.display.update()

Links

Home Page: http://www.pygame.org/

Releases

Flashy Screen - 0.1 - Sep 1, 2012

Pygame.org account Comments

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

No user comments have been submitted.
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 21, 2014


Apr 19, 2014

Apr 16, 2014

Apr 13, 2014

Apr 9, 2014

Mar 18, 2014


Mar 15, 2014


Mar 14, 2014

Mar 13, 2014

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