[split] can you explain me about addition of keypress to move the turtle..? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Game Development (https://python-forum.io/forum-11.html) +--- Thread: [split] can you explain me about addition of keypress to move the turtle..? (/thread-27612.html) |
[split] can you explain me about addition of keypress to move the turtle..? - berto_simarmata - Jun-13-2020 # 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 RE: [split] can you explain me about addition of keypress to move the turtle..? - Yoriz - Jun-13-2020 https://docs.python.org/3.1/library/turtle.html#turtle.onkeypress Wrote:turtle.onkeypress(fun, key=None) |