pygame is
Simple DirectMedia Layer is
Site Swing
Flashy Screen

Flashy Screen - 0.1

Eli Benevedes (mrroboman4321)



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()


Home Page:


Flashy Screen - 0.1 - Sep 1, 2012 account Comments

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

No user comments have been submitted.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Nov 17, 2015

Nov 12, 2015

Nov 11, 2015

Nov 8, 2015

Oct 16, 2015

Oct 9, 2015

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

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