Changed controls of Turtle Crossing, going forward is now done with the space key

This commit is contained in:
ben 2022-07-21 16:40:02 -05:00
parent 6b6cd55c5b
commit 56098735ee

View file

@ -23,7 +23,7 @@ car_manager = CarManager()
car_manager.create_car() car_manager.create_car()
screen.listen() screen.listen()
screen.onkey(fun=player.move, key='u') # Listens for 'w' key, and moves screen.onkey(fun=player.move, key='space') # Listens for 'space' key, and moves
screen.onkey(fun=soft_exit, key='q') screen.onkey(fun=soft_exit, key='q')
game_is_on = True game_is_on = True