From c241f279bd0524726f21a43969ec2cec75279a31 Mon Sep 17 00:00:00 2001 From: David Raison Date: Sat, 30 Aug 2014 15:38:47 +0200 Subject: [PATCH] Added empty init file to support folder --- .gitignore | 2 ++ game.py | 10 +++++++++- requirements.txt | 0 support/__init__.py | 0 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 requirements.txt create mode 100644 support/__init__.py diff --git a/.gitignore b/.gitignore index 51cbe85..45fd465 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,5 @@ coverage.xml # Sphinx documentation docs/_build/ +include +local diff --git a/game.py b/game.py index 46e6b73..3861a43 100644 --- a/game.py +++ b/game.py @@ -6,15 +6,23 @@ Avocados and stuff import os, random import pygame from pygame.locals import * + from support import colors import hud +# Move this outside +screen_width = 800 +screen_height = 600 +screen = pygame.display.set_mode((screen_width,screen_height)) +bg = (0,0,0) +screen.fill(bg) + def main(): pygame.init() pygame.display.set_caption('Avocados') clock = pygame.time.Clock() - + running = True while running: # Limit to 50 fps time_passed = clock.tick(30) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/support/__init__.py b/support/__init__.py new file mode 100644 index 0000000..e69de29