projects
/
koperkapel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c2e63f
)
The roaches have eyes!
author
Simon Cross
<hodgestar@gmail.com>
Fri, 4 Mar 2016 20:27:37 +0000
(22:27 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Fri, 4 Mar 2016 20:27:37 +0000
(22:27 +0200)
koperkapel/roaches.py
patch
|
blob
|
history
diff --git
a/koperkapel/roaches.py
b/koperkapel/roaches.py
index 9ac79bec0431fb0453fdf41d66c7a06300fdfc38..586b508a394be68fe10f01aed14b5869d9f67a17 100644
(file)
--- a/
koperkapel/roaches.py
+++ b/
koperkapel/roaches.py
@@
-31,8
+31,10
@@
class RoachFactory:
self.frames = 4
def assemble_frame(self, i, roach_data):
- base = images.load("roach%s/roach_%d" % (self.suffix, i + 1))
- return base
+ roach = images.load("roach%s/roach_%d" % (self.suffix, i + 1))
+ eyes = images.load("roach%s/eyes_%d" % (self.suffix, i + 1))
+ roach.blit(eyes, (0, 0))
+ return roach
def assemble(self, roach_data):
frames = [