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
Oct 21, 2014


Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

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