From: Simon Cross Date: Fri, 4 Mar 2016 20:27:37 +0000 (+0200) Subject: The roaches have eyes! X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=abf2e680598a8fe729943b2a7c64add04dcfe7a7;p=koperkapel.git The roaches have eyes! --- diff --git a/koperkapel/roaches.py b/koperkapel/roaches.py index 9ac79be..586b508 100644 --- 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 = [