got both side of coins to move

something im stuck on is how to get them to move one at a time
This commit is contained in:
tsmith37
2025-10-05 12:45:30 -04:00
parent 27fb68ccb2
commit 0e837809cf
2 changed files with 30 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ for frame in animate(30):
forward(100)
pendown()
black_tile(40)
with frame.translate([-275, -150], [-225, -100]):
with frame.translate([-275, -150], [-225, -100], cycles=2):
red_coin(20)
goto(-175, -150)
@@ -20,6 +20,10 @@ for frame in animate(30):
input()
# for frame in animate(frames=30):
# with frame.translate([0, 0], [100, 100]):
# red_coin(25)