Merge branch 'master' of github.com:lvl2/avocados

master
Steve Clement 2014-08-31 01:03:43 +02:00
commit f77f15c0f3
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ class TheGame:
self.pinned = [] self.pinned = []
# Set splashscreen
splashScreen = pygame.image.load("img/splashScreen.png")
self.screen.blit(pygame.transform.scale(splashScreen, self.size), (0, 0))
pygame.display.flip()
pygame.time.wait(3000)
try: try:
pygame.mixer.init() pygame.mixer.init()
pygame.mixer.music.set_volume(0.5) pygame.mixer.music.set_volume(0.5)