Questions about Python Turtle!!!

Asked 2 years ago, Updated 2 years ago, 22 views

I drew this picture using a turtleneck, and I want to make it move when I press up, down, left, right. I can't find a way to google it ㅜㅜ Should we objectify these shapes and use these functions? Or should I use pygame? I want to move these shapes when I click the button, so please give me some advice <

python

2022-09-22 19:46

1 Answers

Use the global function.

Don't use Python 3 and Python 2 is enough.

Use a function called onkey to move when you press the up, down, left, and right buttons


2022-09-22 19:46

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.