Water displays on top of player
This commit is contained in:
parent
ce31c1afee
commit
b44b3a76cd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user