edited comments in examples

This commit is contained in:
themixray 2022-01-07 14:12:02 +03:00
parent 30719ab6d8
commit af2e74ce1b
4 changed files with 89 additions and 89 deletions

View file

@ -38,7 +38,7 @@ while run:
playerRect.x += start_pos[0]-win.position[0] # Set player rect x pos relatively start window position
playerRect.y += start_pos[1]-win.position[1] # Set player rect y pos relatively start window position
win.draw.rect((0,0,0),playerRect)
# print(playerRect)
atemp = apple.copy() # Create copy of apple rect
atemp.x += start_pos[0]-win.position[0] # Set apple x pos relatively start window position
atemp.y += start_pos[1]-win.position[1] # Set apple y pos relatively start window position