Category "pygame-surface"

Why does my player disappears when pressed jump? All indentations wrong or right?

https://github.com/Aditya13114/pygame-error2 So, I am a beginner to Py game and i was creating an Infinite Runner Game. Turns out it is not working at all and w

Pygame: AttributeError: 'pygame.Surface' object has no attribute 'display'

Code: import pygame, sys, os from pygame.locals import * red = (255,0,0) pygame.init() window = pygame.display.set_mode((1000,600)) pygame.display.set_caption