generated from mwc/project_drawing
	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:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										33
									
								
								drawing.py
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								drawing.py
									
									
									
									
									
								
							@@ -94,11 +94,17 @@ for frame in animate(40):
 | 
			
		||||
        forward(75)
 | 
			
		||||
        blue_row(1)
 | 
			
		||||
        flyto(-275, -150) 
 | 
			
		||||
        blue_coin(25)
 | 
			
		||||
        with frame.translate([0, 0], [50, 50]):
 | 
			
		||||
        
 | 
			
		||||
            blue_coin(25)
 | 
			
		||||
        flyto(-175, -150)
 | 
			
		||||
        blue_coin(25)
 | 
			
		||||
        with frame.translate([0, 0], [50, 50]):
 | 
			
		||||
 | 
			
		||||
            blue_coin(25)
 | 
			
		||||
        flyto(-75, -150)
 | 
			
		||||
        blue_coin(25)
 | 
			
		||||
        with frame.translate([0, 0], [50, 50]):
 | 
			
		||||
        
 | 
			
		||||
            blue_coin(25)
 | 
			
		||||
        flyto(25, -150)
 | 
			
		||||
        with frame.translate([0, 0], [50, 50]):
 | 
			
		||||
            
 | 
			
		||||
@@ -106,15 +112,24 @@ for frame in animate(40):
 | 
			
		||||
            
 | 
			
		||||
        flyto(-275, 150)
 | 
			
		||||
        red_row(1)
 | 
			
		||||
        flyto(-300, 100)
 | 
			
		||||
        forward(75)
 | 
			
		||||
        red_coin(25)
 | 
			
		||||
        flyto(-225, 100)
 | 
			
		||||
        with frame.translate([0, 0], [-50, -50]):
 | 
			
		||||
 | 
			
		||||
            red_coin(25)
 | 
			
		||||
        flyto(-125, 100)
 | 
			
		||||
        red_coin(25)
 | 
			
		||||
 | 
			
		||||
        with frame.translate([0, 0], [-50, -50]):
 | 
			
		||||
 | 
			
		||||
            red_coin(25)
 | 
			
		||||
        flyto(-25, 100)
 | 
			
		||||
        red_coin(25)
 | 
			
		||||
 | 
			
		||||
        with frame.translate([0, 0], [-50, -50]):
 | 
			
		||||
        
 | 
			
		||||
            red_coin(25)
 | 
			
		||||
        flyto(75, 100)
 | 
			
		||||
        red_coin(25)
 | 
			
		||||
        with frame.translate([0, 0], [-50, -50]):
 | 
			
		||||
        
 | 
			
		||||
            red_coin(25)
 | 
			
		||||
        flyto(-300, 200)     
 | 
			
		||||
input()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user