Added vignette

This commit is contained in:
theo@manjaro 2021-09-15 20:56:56 +02:00
parent ca8fe7de62
commit 7930b72fc8
2 changed files with 4 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -69,6 +69,10 @@ class Manager(BaseObject):
pass
def afterdraw(self):
# Draw vignette
self.game.realwindow.blit(self.game.sprite_lib["vignette.png"],[0,0])
# Draw score and lives with outline
txtsurfacescore = self.game.fontfile.render("Score : "+str(int(self.score)),False,[150,255,150])
txtsurfacescoreblack = self.game.fontfile.render("Score : "+str(int(self.score)),False,[0]*3)