[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Display follow
To do so in pygame, you just move the background surface.
pseudo-code:
Surface = pygame.display.set_mode((800,600))
background = "">
#in your draw
Surface.blit(background,(-player_pos[0],-player_pos[1]))