Game: change player spawnpoint
This commit is contained in:
parent
3c8f3e817f
commit
2f605c2919
@ -42,7 +42,7 @@ class Game:
|
|||||||
|
|
||||||
self.mapDataFolder = path.dirname("../data/mapdata/")
|
self.mapDataFolder = path.dirname("../data/mapdata/")
|
||||||
self.map = Map(path.join(self.mapDataFolder, 'map.txt'), self.screen)
|
self.map = Map(path.join(self.mapDataFolder, 'map.txt'), self.screen)
|
||||||
self.player = Player((0, 0), self.map.tileSize)
|
self.player = Player((6, 2), self.map.tileSize)
|
||||||
self.map.addEntity(self.player)
|
self.map.addEntity(self.player)
|
||||||
self.eventManager = EventManager(self, self.player)
|
self.eventManager = EventManager(self, self.player)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user