summaryrefslogtreecommitdiff
path: root/AsteroidsInfinity
diff options
context:
space:
mode:
authorRobert Scheibe <rob.scheibe@gmail.com>2020-07-03 15:33:31 +0200
committerRobert Scheibe <rob.scheibe@gmail.com>2020-07-03 15:33:31 +0200
commitae7e1fc4d7bc4d5ec4ad09aaf28f8f16982c85a5 (patch)
tree7103a1607aafd80582b28d1d07fc147922a946bf /AsteroidsInfinity
parent150ef16e8d5eee4e121f10e70c0980e04646b965 (diff)
added more info
Diffstat (limited to 'AsteroidsInfinity')
-rwxr-xr-x[-rw-r--r--]AsteroidsInfinity/AsteroidsInfinity.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/AsteroidsInfinity/AsteroidsInfinity.py b/AsteroidsInfinity/AsteroidsInfinity.py
index a702e26..085f3ab 100644..100755
--- a/AsteroidsInfinity/AsteroidsInfinity.py
+++ b/AsteroidsInfinity/AsteroidsInfinity.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
# The above line makes this executible in unix systems
# Asteroids Infinity
@@ -616,9 +616,10 @@ def main():
small_font = pygame.font.Font("font/Vectorb.ttf", 10)
large_font = pygame.font.Font("font/Vectorb.ttf", 40)
loadsounds()
- screen = pygame.display.set_mode(screensize)
+ screen = pygame.display.set_mode(screensize,FULLSCREEN|DOUBLEBUF|HWSURFACE)
screen.fill(backcolor)
pygame.display.flip()
+ pygame.mouse.set_visible(False)
fullscreen = 0
pygame.display.set_caption("Asteroids Infinity")
volume = 100
@@ -1048,9 +1049,9 @@ def main():
beattype = 1
viewpoint[0] += viewpointspeed[0] / fps
viewpoint[1] += viewpointspeed[1] / fps
+ screen.fill((backcolor))
Objects.update()
ProtoObjs.update()
- screen.fill((backcolor))
#Objects.draw(screen)
dirtyrects = []
for sprite in ProtoObjs.sprites():