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-07-27 15:14:08 (GMT)
committer davesilver <nibor123@gmail.com>2010-07-27 15:14:08 (GMT)
commit1f6c3c356cf8e1376d26517ab2fc7d713f02615b (patch)
tree90f74a2bf1c44dd1a638a397a08077aeac881bcd /devtools
parentdf070205cb120a541884bfaf5110d6860b2d6674 (diff)
Editing Sprite tests
Diffstat (limited to 'devtools')
-rw-r--r--devtools/CompleteTestKit/DynamicDrawableObject2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/devtools/CompleteTestKit/DynamicDrawableObject2.py b/devtools/CompleteTestKit/DynamicDrawableObject2.py
index 0aa3229..281c0db 100644
--- a/devtools/CompleteTestKit/DynamicDrawableObject2.py
+++ b/devtools/CompleteTestKit/DynamicDrawableObject2.py
@@ -52,12 +52,13 @@ class DynamicDrawableObject(DrawableObject, pygame.sprite.Sprite):
#if self.animations[cnt] == self._current_anim:
timePassed = t + self._last_update
+ print timePassed
if (timePassed) > self._delay:
if self._frame < self.animations.get(self._current_anim)[0] or self._frame > self.animations.get(self._current_anim)[1]: #checking if I am in the animation and putting me there if I am not
- print "oh god no"
self._frame = self.animations.get(self._current_anim)[0]
self._frame += timePassed/self._delay
+ print self._frame
while self._frame >= self.animations.get(self._current_anim)[1]:
framesPast = self._frame - self.animations.get(self._current_anim)[1]