This commit is contained in:
Yadciel 2023-05-11 17:35:29 +02:00
parent b0b449cef0
commit 73182e90b9

View File

@ -28,7 +28,6 @@ def start():
white = (255, 255, 255)
blue = (0, 0, 255)
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
@ -101,10 +100,13 @@ def start():
# debug ausgabe
# ---------------------------
if debug:
debug_selfrect = font.render('self centerx: ' + str(player1.rect.centerx) + ' self centery: ' + str(player1.rect.centery), True, white)
debug_selfrect = font.render(
'self centerx: ' + str(player1.rect.centerx) + ' self centery: ' + str(player1.rect.centery), True,
white)
win.blit(debug_selfrect, (20, 60))
debug_selfrect = font.render('dest x: ' + str(player1.dest_x) + ' dest y: ' + str(player1.dest_y), True, white)
debug_selfrect = font.render('dest x: ' + str(player1.dest_x) + ' dest y: ' + str(player1.dest_y), True,
white)
win.blit(debug_selfrect, (20, 80))
# ---------------------------
# ----------------------------------------