From 9aafaf98766d44657cc3ae56e04f51f3246876f7 Mon Sep 17 00:00:00 2001 From: jingnanshi Date: Thu, 10 Dec 2015 23:35:45 -0800 Subject: [PATCH] added comments --- src/main.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/main.py b/src/main.py index 28237c6..01f2cb3 100644 --- a/src/main.py +++ b/src/main.py @@ -1,3 +1,8 @@ +""" by Lingdong Huang +""" + +# import modules + import pygame import sys import math @@ -21,11 +26,11 @@ import pygame._view import settings +# initialization pygame.init() settings.init() - - +# setting up variables size = width, height = 1280, 320 buff = 200 screen = pygame.display.set_mode([width/2,height+50])#,pygame.FULLSCREEN ) @@ -183,14 +188,8 @@ man.color = (140,140,140) man.arrows = arrows man.walk() - - - - pctrl = particle.ParticleCtrl() - - def makeBirds(n): global birds for i in range(0,n):