Skip to content

Commit

Permalink
Update PygameIntro.rst
Browse files Browse the repository at this point in the history
if you write black on screen.fill(black) line its shows an arrow screen.fill("black") it worked like this in my computer
  • Loading branch information
kcivin committed Oct 20, 2023
1 parent 4065a11 commit 64de0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reST/tut/PygameIntro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ along, and a complete breakdown follows.
if ballrect.top < 0 or ballrect.bottom > height:
speed[1] = -speed[1]
screen.fill(black)
screen.fill("black")
screen.blit(ball, ballrect)
pygame.display.flip()
Expand Down

0 comments on commit 64de0e3

Please sign in to comment.