|
|
@@ -10,6 +10,7 @@ running = True
|
|
|
dt = 0
|
|
|
smer = "none"
|
|
|
player_pos = pygame.Vector2(screen.get_width() / 2, screen.get_height() / 2)
|
|
|
+raketa = pygame.image.load("raketa.png").convert_alpha()
|
|
|
|
|
|
while running:
|
|
|
# poll for events
|
|
|
@@ -21,7 +22,7 @@ while running:
|
|
|
# fill the screen with a color to wipe away anything from last frame
|
|
|
screen.fill("pink")
|
|
|
|
|
|
- pygame.draw.circle(screen, "lightblue", player_pos, 40)
|
|
|
+ screen.blit (raketa, player_pos)
|
|
|
|
|
|
keys = pygame.key.get_pressed()
|
|
|
if keys[pygame.K_w]:
|