All the previous files

This commit is contained in:
bendtherules
2014-02-05 10:44:04 +05:30
commit 12135f9a60
160 changed files with 8827 additions and 0 deletions
@@ -0,0 +1,26 @@
# all imports
import math;
import pygame;
from pygame.locals import *
from class_definition import *
# game startup code
c=pygame.time.Clock();
#pygame.display.update()
pygame.display.update(surf.fill((0,0,0)))
# main game loop
while True:
# event check
for event in pygame.event.get():
if event.type == QUIT:
exit();
c.tick();
pygame.display.set_caption(str(c.get_fps()));
update_inside(player.all_instances);
player.all_instances.clear(surf,pygame.Surface((400,400)))
pygame.display.update(player.all_instances.draw(surf));
#Events here
#--------------------------------------------------------- end---------------------------------------------------#