testing #3
2
board
2
board
@ -40,7 +40,7 @@ def draw(square_num, objectArr):
|
||||
circleY = objectArr[0].yPos * square - square / 2
|
||||
#radius = 10
|
||||
#pygame.draw.circle(screen, agent_color, (a + circleX, b + circleY), radius)
|
||||
truck = pygame.image.load("C:/Users/gabi9/Downloads/car.png.png").convert_alpha() #tu ścieżka do zdjęcia w tle
|
||||
truck = pygame.image.load("https://git.wmi.amu.edu.pl/s450737/SI-projekt-smieciarka/src/branch/master/car.png.png").convert_alpha() #tu ścieżka do zdjęcia w tle
|
||||
truck = pygame.transform.scale(truck, (square, square))
|
||||
screen.blit(truck, (circleX, circleY))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user