Added scale_by to prepare for resolution input later

This commit is contained in:
2025-06-15 23:42:03 +01:00
parent f21e27b0d7
commit 1ef32e3e4e

View File

@ -68,9 +68,8 @@ while running:
#screen code
screen.fill("black")
MainSurface.blit(gun[spinInc][0],(0,0))#draw the gun
screen.blit(MainSurface,(0,yOffset))
screen.blit(pygame.transform.scale_by(MainSurface,1),(0,yOffset))#renders the main surface to the screen, while also scaling it for the required display resolution
pygame.display.flip()