Python Forum
Can't make the turtle walk..
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't make the turtle walk..
#3
1. Indentation like heiner55 said !

2. no loops in main loop. it just make him do all his moves in 1 turn.
for coords in path:
3. pygame.display.set_caption should not be in loop
4. suggestion pygame.time.Clock() should be a variable outside the loop
5. never use python time.sleep() it stop the world.
99 percent of computer problems exists between chair and keyboard.
Reply


Messages In This Thread
Can't make the turtle walk.. - by Turry - May-27-2017, 06:16 PM
RE: Can't make the turtle walk.. - by heiner55 - Nov-26-2017, 01:55 PM
RE: Can't make the turtle walk.. - by Windspar - Nov-26-2017, 05:05 PM
RE: Can't make the turtle walk.. - by heiner55 - Nov-26-2017, 05:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Make a wall in turtle module Jan_97 2 7,493 Aug-18-2021, 08:47 PM
Last Post: Jan_97
  [Turtle]How to make smooth moving and add gravity? ZakHacks 2 6,657 Aug-25-2019, 02:27 AM
Last Post: SheeppOSU

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020