Files
project_drawing/diving_penguins.py
ilmabura 7f65079d8b Commit 4: Created penguins that move forward
I actually figured out how to do this by accident. I meant to check how my penguin positions were changing
but then I got it moving. I think it's funny that I thought it was going to be very difficult to figure it out.
It wasn't. I think I am a bit hesitant to attempt the jump because I don't know where to start.
I still don't know why I need to press enter to get the animation going.
2025-10-04 13:50:15 -04:00

13 lines
300 B
Python

from superturtle.animation import animate
from penguins import *
from drawing import *
for frame in animate(60, debug=False, loop=True):
if frame.index%6==0:
penguins(120,345,35)
elif frame.index%6==1:
penguins(120,0,0)
else:
penguins(60,0,0)
input()