I am writing a 2d game. I have a panel that is my player. I also have a panel that acts as the players weapon. My player moves so how would I get the weapon to move with the player. I was thinking perhaps I could add a window element to the player panel and just add the bmap to the window. I can't seem to get it to work.

So far I have the pick up of the weapon in the level working. But am at a stand still as far as how to add one panel to another moving panel. I want the weapon and the player to move as one.

The reason why I want 2 panels instead of just creating one panel with the weapon is I want the weapon to be animated separatly from the player.

Thanks for your help! laugh