Vor Partikeln Stand
This commit is contained in:
parent
b4958d535f
commit
58aea455e9
2 changed files with 3 additions and 2 deletions
3
game.py
3
game.py
|
|
@ -44,10 +44,12 @@ class Game:
|
||||||
self.player: Player = Player(self, (50, 50), (8, 15))
|
self.player: Player = Player(self, (50, 50), (8, 15))
|
||||||
|
|
||||||
self.tilemap: Tilemap = Tilemap(self, 16)
|
self.tilemap: Tilemap = Tilemap(self, 16)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.tilemap.load("map.json")
|
self.tilemap.load("map.json")
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
self.clouds: Clouds = Clouds(self.assets["clouds"], count=16)
|
self.clouds: Clouds = Clouds(self.assets["clouds"], count=16)
|
||||||
self.isJumping: bool = False
|
self.isJumping: bool = False
|
||||||
self.scroll: list[float] = [0, 0]
|
self.scroll: list[float] = [0, 0]
|
||||||
|
|
@ -109,5 +111,4 @@ class Game:
|
||||||
game = Game()
|
game = Game()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
game.run()
|
game.run()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue