From c59836e5499aaa2b0a28edfce19789a7cc5a3004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szuszert?= Date: Tue, 8 Mar 2022 11:36:15 +0100 Subject: [PATCH] added waiter --- cafe.tmx | 2 +- cafe1.tsx | 2 +- tiles.py | 8 ++++++++ waiter.png | Bin 0 -> 1831 bytes 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 waiter.png 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 0000000000000000000000000000000000000000..4319709a6d3bee476658b65a54471677a160c08f GIT binary patch literal 1831 zcmV+?2iW+DP)(d0$QbwspTbO zu!1HNQpXRmEn}K~NT=4;(66I!?LY%&)khM!vJk}oV1&wK@mHgQ-5D%jxiWbB>Q$!u{Y>}!S^LqW>}$(c1VyVYEM$0O>hVs{ z>|BLr=PG1LNeqO_sqm?H5}~r-aN)?_*PL~0*Ussp1cT`9@5e|W08P^{vjMxyB!aEvM>@DMJy7+(2W}a zfQYJMWkG?VMx%+IYoC1^K3rs;7k=!hTvg8hXJ`lj(0if~F zb#{gTz+^Jvk=z^rfTAea-_!&E$bZ-i!DIpe_&Pg-JkMM9{ON!a3WrZ5i;=Vhx~@0% z4D^$s;hUQ>GMuw^U~}U>bY1D5HLv~R#l*Ox98whJAd;kiL6+%ukBs&8G2QQHw?4Yc zzFEDNeR$5t&cF9B_Kj~i$H{Y%8ac~|L7Il%^qLy`qd8lP=-tMdOQGtn}GmE#$~#+tWxuqJ#IhV zxGkh{+yNwFLokf%0Qv#+VUFY3ECFV-`S}>*c5x0j<=hWhct@7RNjB)0&PHE)r{8RK zW&r^HykqkO%US0D0M37E;<+8o4gd%%qu9B%C`!s7H?wF&H{{U}8z0eFa6D$_*fv#F z-<=unz7n|H?zag~zh}-VO2k&Kway%4A9ra}@4A+N7LV}S#H~q4Ji_Z*0)$SsVqO$A zlD`}P2mmJlh*!>riNF6HNs=n>+_^Jdp6N|!mZay4iOc+Y*L2+@guYEn2oMVeDzhjW%wpoM=1p`kZqCV8^cALP25C_bpcIcOMkM zn<(A&dgFd)`J=1hSg|HDYxa^7;_K~XBV!}vcdxuE9&BoM)YaG1y83#0u&LSc@~f|j z0r@s*>+51zT0-U$Kq@h%Vab4S4B(P@7!(+g7d*D0F|(X1TS()>3D0MSe@`7g@| VvCX%>Kyv^9002ovPDHLkV1fZBet`f0 literal 0 HcmV?d00001