Coins only adding once

So when you hit the block once, it does add the coin. But once you hit a different one the coin score just stays at one.

Game: Flowlab Game Creator - Super Mario Bros. (WIP)

1 Like

Where is the code for the coins?

1 Like

As I said before, you should add the scoring in the player.

You made it in the lucky block, which means every single lucky block has it’s own label that it’s updating, so it’s not adding to one label, it’s adding to it’s own label.

1 Like

OHH mb ill try that.

Ive added the code into the mario but collision not working?

1 Like

Do both objects have Enable collisions checked?

1 Like

Ill check. (20 charactersss)

How do you make sure collisons are enabled? (Sorry i just started)

1 Like

If an object is solid, then collisions are automatically enabled, if it isn’t solid, then Enable Collisions soulh be a checkbox in the lower-right of the physics page.

1 Like

Click the arrow thing in the objects settings to show you more.
It’s in the bottom right of the little window in a light blue color

1 Like

Ah thanks, i made it so when you hit the lucky block it sends a message to the Mario to add the score. Thank you guys for your help!

1 Like