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
Aug 26, 2015


Aug 25, 2015


Aug 21, 2015

Aug 16, 2015


Jul 30, 2015

Jun 24, 2015

Jun 17, 2015

Jun 14, 2015

Jun 8, 2015

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