The forum is read-only. New threads, replies and edits are disabled.
How to put the line under the ball?
Camila

I'm trying to put the ball on top of the line and I can't , can someone help me?

 

 

print-waze.png

All 4 Comments
Gio

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);
Camila

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

Gio

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?

Camila

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.