❔ Filling sprites
I am currently working on a 2d platformer game in visual studio, using c# that is then displayed on a xaml window. I have recently added an item that increases the size of the player character. After consuming the item, the "hitbox" of the player character increases, which I noticed. because I started running into things that I didn't before, so at some level it must have worked. However, the sprite I'm using to show the player character doesn't grow to match the new rectangle it is supposed to fill. Does anybody know how I can make a sprite "refill" a rectangle?