title: Pygame: How to change the size of a Rect to create a favorable hit-box for your player
body: <p>Another problem I've recently tried tackling was adjusting the size of the player's hitbox. Here's how I tried changing the hit-box (Rect's) size:</p>
  
  <pre><code>self.pseudo_rect = self.image.get_rect()  # This is the rect from the player's image to use as a reference
  self.rect = pygame.Rect((self.pseudo_rect.x,self.pseudo_rect.y), (self.pseudo_rect.width,self.pseudo_rect.height)) # This is where I used the above values to make a rect with the dimensions I want
  </code></pre>
  
  <p>What I've discovered after testing this was that only the width and height would change when an amount is added/subtracted from it, not the x or y values. I'm not exactly sure where to go from here. Can you tell me if there's something that I'm doing wrong, or even if there is a betterr/simpler solution to this?</p>