pong - grafika start

This commit is contained in:
2026-03-17 12:44:49 +01:00
parent e77824cd83
commit 1dbd8ec04c
3 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,9 @@ WIDTH = 1000
HEIGHT = 676
TITLE = "PONG - najlepsza gra na świecie ;-)"
# definicja sprita
sprite = Actor("ball.png")
# Najważniejsze funkcje sterujące
def update():
pass
@@ -11,5 +14,6 @@ def update():
def draw():
screen.blit("tomulus64.jpg", (0,0) )
sprite.draw()
pgzrun.go()

BIN
dzien_01/images/ball.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB