diff --git a/cafe.tmx b/cafe.tmx index 81dba74..a62be9e 100644 --- a/cafe.tmx +++ b/cafe.tmx @@ -3,7 +3,7 @@ - + 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,6, diff --git a/cafe1.tsx b/cafe1.tsx index 528ed65..28917c5 100644 --- a/cafe1.tsx +++ b/cafe1.tsx @@ -1,6 +1,6 @@ - + diff --git a/tiles.py b/tiles.py index 3bb2f5f..0eb1dfc 100644 --- a/tiles.py +++ b/tiles.py @@ -8,6 +8,13 @@ clock = pygame.time.Clock() gameMap = pytmx.load_pygame("cafe.tmx") +waiterImg = pygame.image.load("waiter.png") +waiterX = 50 +waiterY = 300 + +def waiter(): + display.blit(waiterImg, (waiterX, waiterY)) + while(True): clock.tick(60) @@ -26,4 +33,5 @@ while(True): if(tile != None): display.blit(tile, (x * gameMap.tilewidth, y * gameMap.tileheight)) + waiter() pygame.display.update() \ No newline at end of file diff --git a/waiter.png b/waiter.png new file mode 100644 index 0000000..4319709 Binary files /dev/null and b/waiter.png differ