Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devtools
diff options
context:
space:
mode:
authordavesilver <nibor123@gmail.com>2010-08-03 17:13:55 (GMT)
committer davesilver <nibor123@gmail.com>2010-08-03 17:13:55 (GMT)
commit99b8f3dfb35d991156f3487a07b6bee5d0f8e480 (patch)
tree3c237dd3e5f8c1c64bac494d613818b9f0667db0 /devtools
parentaaa6e0c77093c5792c813deec165d9f1373c9290 (diff)
Working on integration
Diffstat (limited to 'devtools')
-rw-r--r--devtools/Dave's Test Kit/DrawableObject.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/devtools/Dave's Test Kit/DrawableObject.py b/devtools/Dave's Test Kit/DrawableObject.py
index b3584a3..3b12d85 100644
--- a/devtools/Dave's Test Kit/DrawableObject.py
+++ b/devtools/Dave's Test Kit/DrawableObject.py
@@ -115,9 +115,10 @@ class DrawableObject(pygame.sprite.Sprite):
def makeTransparent(self, bool = True):
if bool == True:
- self.nudge(-3000, 0)
+ self.image.fill((255,255,255,255))
else:
- self.nudge(3000, 0)
+ self._images[self._frame] = self._origImages[self._frame]
+ self.image = self._images[self._frame]
def setColorKey(self, aColor):
for i in range(len(self._images)):