Fixed wrong spawnpoint coords
This commit is contained in:
parent
a264ac7cb1
commit
46d018dbfd
@ -7,7 +7,7 @@ import pygame
|
|||||||
|
|
||||||
class Player(Entity):
|
class Player(Entity):
|
||||||
def __init__(self, spawnpoint, size):
|
def __init__(self, spawnpoint, size):
|
||||||
super().__init__("player.jpg", size, spawnpoint)
|
super().__init__("player.jpg", size, (spawnpoint[0] * size, spawnpoint[1] * size))
|
||||||
# Where the player is facing, 0 - north, 1
|
# Where the player is facing, 0 - north, 1
|
||||||
self.rotation = Rotations.NORTH
|
self.rotation = Rotations.NORTH
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user