How do i make so when Player (Blob in this case) collects coin,golden block appear so player can jump on it and it becomes visible?

also sorry @zGameCreator i know how to reply now haha

1 Like

also i didnt mention this code isnt working,golden block is only invisible but its there,and when i collect coin nothing happens at all

1 Like

What happens if you combine the first and third commands so the golden block is turned visible right after the coin is deleted and put the second beginning of the scene command at the top.

1 Like

Pretty much what @AquaEcho wrote - move the "Show GoldenBlock" action into the first event. What’s happening is you are deleting the ClanCoin that Blob is colliding with, so in the third event that collision is no longer there.

Note that even though GoldenBlock is hidden at the start, Blob can still interact with it. If GoldenBlock has a platform object behaviour attached (and Blob has platformer character behaviour), then Blob will walk on the hidden block. This is fine if that is your intention, otherwise it may be best to disable the platform object behaviour when hiding GoldenBlock, and enable it when showing GoldenBlock.

dont mention it, i should be apologising. :sweat_smile:

Nahh its alright haha

1 Like

Thanks,sorry for late reply uhh and i did that and it worked!

2 Likes