diff options
author | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-10-03 21:13:57 (GMT) |
---|---|---|
committer | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-10-03 21:13:57 (GMT) |
commit | 7ee8058d85f3d38c6cdff0f0320505f3d8a6c616 (patch) | |
tree | 72424b09b12874974f769dd415d5d7fd2a070f2f /game.py | |
parent | 236da2e52e2f70eec5d4a04cdb40648fc5048a87 (diff) |
Add backgroud
Signed-off-by: Cristhofer Travieso <cristhofert97@gmail.com>
Diffstat (limited to 'game.py')
-rw-r--r-- | game.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,7 +7,9 @@ class AntFarm(glucosa.GameArea): def __init__(self): glucosa.GameArea.__init__(self) - + + self.backgroud = glucosa.Image('images/backgroud.png') + image = glucosa.Image('images/aceituna.png') sprite = glucosa.Sprite(image, 100, 100, 18, 18, scale=2) self.add_sprite(sprite) |