My code involves two different picture boxes but they keep cutting each other out. i can't resize them because of the fact that they are gifs and resizing them will break them.
I've tried adding one of the pictureboxes to the other's control. So for example :
public FrmBossBattle()
{
InitializeComponent();
IdleMove.Controls.Add(bossidle); //Here I tried making the one on the right belong to the one on the left, but they still cut each other out and don't overlap properly.
picBoxBackground.Controls.Add(IdleMove); // IdleMove added to background
IdleMove.Location = new Point(83, 100); // Location is added
IdleMove.BackColor = Color.Transparent; // color is null
IdleMove.Visible = true; //IDLE MOVE IS THE PICTURE ON THE LEFT
picBoxBackground.Controls.Add(bossidle); // ANIMATION/PICTURE ON RIGHT
bossidle.BackColor = Color.Transparent; // color = null
bossidle.Location = new Point(368, 96); // location added
bossidle.Visible = true;
what images look like in design what images look like in output