diff options
author | coolestdude1 <arielzamparini@gmail.com> | 2010-02-07 02:54:52 (GMT) |
---|---|---|
committer | coolestdude1 <arielzamparini@gmail.com> | 2010-02-07 02:54:52 (GMT) |
commit | 4a368caaf6740eca6f4e85ee8235d0f1a332c4ad (patch) | |
tree | 66a2d9aac667993a78346e119961afef1accab76 | |
parent | a146cae5b4e605cfbe52a6c3da7f309a5baf3056 (diff) |
fixed some things with imports
-rw-r--r-- | blocku.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ #!/usr/bin/python import pygame, random, os.path from pygame.locals import * +from pygame import * #import gtk #see if we can load more than standard BMP @@ -167,7 +168,7 @@ class Text(pygame.sprite.Sprite): self.font.set_italic(1) self.color = Color('blue') self.update() - self.rect = self.image.get_rect().move(20, 20) + self.rect = self.image.get_rect().move(40, 230) self.text = text def update(self): @@ -181,7 +182,7 @@ class mouseUpdate(pygame.sprite.Sprite): self.font.set_italic(1) self.color = Color('blue') self.update() - self.rect = self.image.get_rect().move(20, 250) + self.rect = self.image.get_rect().move(40, 250) def update(self): msg = 'Mouse Position %s, %s' % mouse.get_pos() |