From abf2e680598a8fe729943b2a7c64add04dcfe7a7 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Fri, 4 Mar 2016 22:27:37 +0200 Subject: [PATCH] The roaches have eyes! --- koperkapel/roaches.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 = [ -- 2.34.1