Hello,
I'm working on a game where I catch a butterfly with a net, at which point it stacks the butterflies on top of each other on the back end of my skateboard (that moves with my catcher using the left and right keys).
I was able to program the catch behavior between the net/butterflies using the isTouching and removeTouching functions, but I'm stumped as to how I'd get the butterfly sprites to stack on the back of the skateboard.
I was thinking setLocation might be the answer, but its parameters require x and y values, and the x value of my skateboard would be changing as I move it left/right, so I'm not sure how/if that would work. Could someone point me in the right direction?
Thank you!
