I have a family of sprite objects (rectangular containers) that I want my character sprite to have the option of attaching to when the 2 are in close proximity to each other and releasing at will. While attached, I want the character sprite to move forwards and backwards with the 'containers'. My 'character' was able to push the 'containers' forward on collision by including the move at angle of my character action, but it looks quite glitchy because it's not a smooth animation (I need to move it at 25 pixels per second and it jumps, so I think if I apply the 8 direction movement, it will be smoother, but the when I tried that, all of the 'containers' move when I press the direction keys..??) and most importantly, I couldn't attach the 2 sprites so they move forwards and backwards together.
Can anybody help me with these dilemmas? I'm a total newb and any info would be much appreciated. Thanks in advance for your help.