Water displays on top of player

This commit is contained in:
theo@manjaro 2021-11-16 23:38:36 +01:00
parent ce31c1afee
commit b44b3a76cd

View File

@ -9,6 +9,8 @@ class Water(BaseObject):
self.destinationy = y
self.speed = 10
self.depth = 2
self.sprite = game.pygame.Surface((game.DISPLAY_WIDTH,game.DISPLAY_HEIGHT),flags=game.pygame.SRCALPHA)
self.sprite.fill([10,100,180])
self.sprite.set_alpha(200)