How can I make it look as though a ball is in front of the hoop on the way up but behind it on the way down. I have attached pictures if my explanation is unclear.
Thanks
As you can't change layer order in game you could have the net spawn a copy of itself once the balls y position is above the nets y position (plus an offset). Once the balls y position is below that spawned copy of the net then the spawned copy net would delete itself. You may need the ball and net on the same level, with the ball layered above the original net and then make sure that the spawned net is spawned at the front of the layer.
Comments
As you can't change layer order in game you could have the net spawn a copy of itself once the balls y position is above the nets y position (plus an offset). Once the balls y position is below that spawned copy of the net then the spawned copy net would delete itself. You may need the ball and net on the same level, with the ball layered above the original net and then make sure that the spawned net is spawned at the front of the layer.
I can't open GameSalad to send you an example.
To be honest you don't even need to spawn a net each time. You could have 3 layers:
On the net actor that's above the ball you can change the transparency so that the alpha is 1 when the ball is above the net and 0 when it's below it.
This seems like an easier option