Added vignette
This commit is contained in:
parent
ca8fe7de62
commit
7930b72fc8
BIN
gamedata/assets/vignette.png
Normal file
BIN
gamedata/assets/vignette.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
@ -69,6 +69,10 @@ class Manager(BaseObject):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def afterdraw(self):
|
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])
|
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)
|
txtsurfacescoreblack = self.game.fontfile.render("Score : "+str(int(self.score)),False,[0]*3)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user