Beispiel #1
0
import pygame, sys
from pygame.locals import *
import logo

pygame.init()
mainSurface = pygame.display.set_mode((500, 250), 0, 32)
pygame.display.set_caption("Pygame test window")

logo1 = logo.Logo(mainSurface)
logo1.draw_rectangles()
logo1.draw_trellis()
logo1.draw_words()

while True:
    for event in pygame.event.get():
        if event.type == QUIT:
            pygame.quit()
            sys.exit()
import pygame, sys
import logo
from pygame.locals import *

pygame.init()

mainSurface = pygame.display.set_mode((500, 250), 0, 32)
pygame.display.set_caption("Sandy Spring Friends School")
ssfs = logo.Logo(mainSurface)
ssfs.draw_rectangles()
ssfs.draw_trellis()
ssfs.draw_words()

while True:
    for event in pygame.event.get():
        if event.type == QUIT:
            pygame.quit()
            sys.exit()
Beispiel #3
0
import pygame
import sys
import logo
from pygame.locals import *

pygame.init()
main_surface = pygame.display.set_mode((500, 250), 0, 32)
pygame.display.set_caption("SSFS Logo")
my_logo = logo.Logo(main_surface)
my_logo.draw_logo()
my_logo.draw_words()

while True:
    for event in pygame.event.get():
        if event.type == QUIT:
            pygame.quit()
            sys.exit()
Beispiel #4
0
import pygame, sys
from pygame.locals import *
import logo

pygame.init()
main_surface = pygame.display.set_mode((500, 250), 0, 32)
pygame.display.set_caption("Sandy Spring Friends School")

ssfs = logo.Logo(main_surface)
ssfs.draw_rectangles()
ssfs.draw_trellis()

while True:
    for event in pygame.event.get():
        if event.type == QUIT:
            pygame.quit()
            sys.exit()