changed fps count to 60
This commit is contained in:
parent
ee58257d54
commit
59f9eaae36
4
game.py
4
game.py
@ -6,7 +6,7 @@ from pygame.locals import *
|
|||||||
import utils
|
import utils
|
||||||
|
|
||||||
##INITIALIZE STATIC VARIABLES#########
|
##INITIALIZE STATIC VARIABLES#########
|
||||||
FPS = 5
|
FPS = 60
|
||||||
|
|
||||||
all_sprites = sprite.Group()
|
all_sprites = sprite.Group()
|
||||||
fps_clock = time.Clock()
|
fps_clock = time.Clock()
|
||||||
@ -57,4 +57,4 @@ while(1):
|
|||||||
|
|
||||||
display.flip()
|
display.flip()
|
||||||
fps_clock.tick(FPS)
|
fps_clock.tick(FPS)
|
||||||
##################################################################################
|
##################################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user