Bump code stops working

ObedientNarwhal

iPad 6th Gen, iOS 14.2

I created a Subway Surfer game, but the collision code stops working when I exit and reopen the project.

Steps that the Hopscotch team can take to reproduce my problem every time:

  1. Play the game.
  2. If the collision between the train and penguin works, exit the game and then go back in. Collision stops working.

….

I expected this to happen:

The “When bumps” code to work consistently.

But instead this happened:

The “When bumps” code runs initially, then breaks after exiting the game.

Here’s a sweet screenshot:

8 Likes

The project is called: Subway Surfer Bug

3 Likes

Can you send a link please

3 Likes

I’ve had problems with this block before.

2 Likes

Are you using emojis for the bumps?
I had this problem before

3 Likes

Yeah, I had that problem with emojis

2 Likes

Yes, it was an emoji, and changing that has fixed the issue. Thank you!!

2 Likes

Glad to see that your project is fixed. However, I think this should stay open due to an emoji collision bug unless it is merged into another topic regarding the same issue.

1 Like

Happy to help!
Tag me anytime I love being tagged

Ooooh nice topic