it instant quit with "Process finished with exit code -1073740771 (0xC000041D) "
too long for show&dont know where error start from but maybe
screen.blit(stertmeunbackground,(0,-10))
Startingbutton.update()
for event in pygame.event.get():
if event.type == MOUSEBUTTONDOWN:
if Startingbutton.rect.collidepoint(pygame.mouse.get_pos()):
starting = False
if event.type == QUIT:
running = False
pygame.quit()
exit()
pygame.display.flip()
class startingbutton(pygame.sprite.Sprite):
def __init__(self):
pygame.sprite.Sprite.__init__(self)
self.image = startbutton
self.rect = self.image.get_rect()
self.rect.x = 600
self.rect.y = 400
def update(self):
screen.blit(startbutton,(self.rect.x,self.rect.y))
pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html
Process finished with exit code -1073740771 (0xC000041D) this is what all i get when running, but it's a game and will show up screen,after show up for 1 sec, it auto leave :( i tried using python and pycharm to run it, both failed
User contributions licensed under CC BY-SA 3.0