# Keyboard Binding wn.listen() wn.onkeypress(paddle_a_up,"w") wn.onkeypress(paddle_a_down,"s") wn.onkeypress(paddle_a_left,"a") wn.onkeypress(paddle_a_right,"d")can you explain me about addition of keypress to move the turtle..?
thank you
[split] can you explain me about addition of keypress to move the turtle..?
|
# Keyboard Binding wn.listen() wn.onkeypress(paddle_a_up,"w") wn.onkeypress(paddle_a_down,"s") wn.onkeypress(paddle_a_left,"a") wn.onkeypress(paddle_a_right,"d")can you explain me about addition of keypress to move the turtle..? thank you
Jun-13-2020, 03:33 PM
https://docs.python.org/3.1/library/turt...onkeypress Wrote:turtle.onkeypress(fun, key=None) |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[PyGame] keypress isnt working need help | jakegold98 | 1 | 3,293 |
Dec-08-2017, 10:16 PM Last Post: micseydel |