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.
This commit is contained in:
ilmabura
2025-10-04 13:50:15 -04:00
parent 23e57c7c6c
commit 7f65079d8b
2 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@@ -3,9 +3,11 @@ from penguins import *
from drawing import *
for frame in animate(60, debug=False, loop=True):
if frame.index%2==0:
if frame.index%6==0:
penguins(120,345,35)
elif frame.index%6==1:
penguins(120,0,0)
else:
penguins(120,345,35)
penguins(60,0,0)
input()