Commit 6e6af69a authored by Aurel Wildfellner's avatar Aurel Wildfellner

removed debug output

parent c06bb99c
......@@ -167,7 +167,6 @@ class PongGame:
# handle events
for ev in self.rEvQueue.popAllEvents():
print(ev, ev.reader.name)
# handle a codescan
if (ev.etype == EventType.CODESCAN):
if (ev.code == PongConfig.barcodes["playerleft"]):
......
......@@ -66,7 +66,6 @@ class BallView():
#self.ball = BallView(ball, self.ratio, self.ball_image)
self.sprite = pyglet.sprite.Sprite(img=self.image)
self.sprite.scale = (self.size[0] / float(self.sprite.width))
print(self.sprite.scale)
def update(self):
self.sprite.x = (self.model.position[0] - self.model.radius) * self.ratio
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment