colortest: fixed some stuff

This commit is contained in:
madmaurice 2016-02-18 14:38:39 +01:00
parent a5220fb56c
commit 56cb6e3998

View file

@ -25,6 +25,9 @@ class Vector(tuple):
def __div__(self,factor):
return self.__mul__(1.0/factor)
def __truediv__(self,factor):
return self.__div__(factor)
def __rmul__(self,factor):
return self.__mul__(factor)
@ -202,7 +205,7 @@ class Game(object):
def __init__(self, modes=[SwarmMode,TransitionMode,LelMode,BallMode]):
self.modes = modes
pygame.init()
self.screen = pygame.display.set_mode( (1280,800), pygame.FULLSCREEN )
self.screen = pygame.display.set_mode( (1280,800), pygame.HWSURFACE )
pygame.mouse.set_visible(False)
self.setmode(0)
self.running = True