Fixed character placement
This commit is contained in:
2
game.py
2
game.py
@ -143,7 +143,7 @@ class Game(gameUtils.Game):
|
|||||||
for i in range(capLength):
|
for i in range(capLength):
|
||||||
# Calculate the base X position of this character
|
# Calculate the base X position of this character
|
||||||
# TODO: Make this better, I'm not too happy with my implementation here.
|
# TODO: Make this better, I'm not too happy with my implementation here.
|
||||||
x = self.size[0] / (capLength + 3)
|
x = drawSurface.size[0] / capLength
|
||||||
x *= i
|
x *= i
|
||||||
# Get the selected difficulty for this character
|
# Get the selected difficulty for this character
|
||||||
charDiff = normalDist(self.gameDifficulty)
|
charDiff = normalDist(self.gameDifficulty)
|
||||||
|
|||||||
Reference in New Issue
Block a user