Search code examples
pythonpygamecollision-detection

How would I draw walls using Pygame?


I'm wondering how I would draw walls using pygame, and was wondering whether I would have to screen.blit(tile) for every single tile around the edge, I am hoping there is a simpler way. I only know of the RECT tool to draw sqaures, so I'm unsure.

Here's what I want the game to look like;

Please note: I'm not looking for the whole code, just some pointers on how to draw the outer wall and tile the backdrop.


Solution

  • Go over this tutorial. It has walls, among other things

    enter image description here