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
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
© 2024 OneMinuteCode. All rights reserved.