[ad_1]
if (0.0 < playerVX < maxSpeed) or (-maxSpeed < playerVX < 0.0):
if not haveJumped and (leftDown or rightDown):
playerVX = playerVX * 1.1
This did the trick for me.
[ad_2]
solved SyntaxError within nested if statement
[ad_1]
if (0.0 < playerVX < maxSpeed) or (-maxSpeed < playerVX < 0.0):
if not haveJumped and (leftDown or rightDown):
playerVX = playerVX * 1.1
This did the trick for me.
[ad_2]
solved SyntaxError within nested if statement