pygame is
pygame.org is
|
Splash screen
Splash screenRock Achu (rockachu2)Tags:Description#! /usr/bin/env python
import pygame
import time
import os, sys
print 'Splash load...'
os.environ['SDL_VIDEO_CENTERED'] = '1'
pygame.init()
pygame.font.init()
screen = pygame.display.set_mode((500,80),pygame.NOFRAME)
background = pygame.Surface(screen.get_size())
background.fill((2,24,244))
screen.blit(background, (0,0))
screen.blit(pygame.font.Font('pala.ttf', 72).render('Loading...', 1, (255,255,255)), (90,10))
pygame.display.update()
time.sleep(5) Links
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
|