I'm trying to put the ball on top of the line and I can't , can someone help me?
I'm trying to put the ball on top of the line and I can't , can someone help me?
Hi
If you put the ball sprite on a layer with a lower number than the line, it will appear on top.
It's normally done when creating the sprite:
var ball = new Sprite(image, layerId);
I did it. I put the ball id = 10 and line id = 11 and it worked. But now does not work gamestate = ' finished ' . What 's wrong now ? Thanks
I think that shouldn't be affected by which layers you're using. It's a bit difficult to tell without seeing any code... do you want to either attach a zip file of the game here, or PM it to me?
Hi Gio,
I correct my code. Thanks.
Now, i need a new help.
Can you see the lines and gray balls?I need to paint the ball and the line with the same color as the ball pair, when connecting is correct.