Weird bug in my game

(Ι don’t know if ι put this in the right category sorry)

So when Ι’m playing my game, there’s one block that sends me back to the beginning of the level even though nothing’s telling it to.
https://c.gethopscotch.com/p/106jbe2omb
Can someone help me figure out what’s happening? It happens to a few other squares. It went away for a while, but now it’s back.


@CodeHelp?
@Petrichor and @CreationsOfaNoob do you have any ideas?

13 Likes

I’ll try… I unfortunately don’t have time right now, however. (First post)

3 Likes

Lemme check it, I’ll try to fix k? Then i’ll tell u

4 Likes

Weird. But you have put this in the right category, I think, unless this is a bug with the Hopscotch app itself.

6 Likes

If there’s the rule wrong move it sends the block back… so you need to take it out

4 Likes

Wait I deleted it and I still died… that’s really weird

4 Likes

It worked for me.

4 Likes

I looked at it (btw great game!) and I couldn’t figure out why it was doing that…

3 Likes

Something might be wrong with the code.

3 Likes

Hhhhhh my game would be out by now if it weren’t for this bug

1 Like

I’m going to look in to this in the next 5 to 10 minutes. Don’t worry.

1 Like

That’s what happened to me when I played it, I tried to tell you but I wasn’t very clear about it. I’ll try to fix it when I get back.

2 Likes

Yeah you’re the one that made me realize it came back

Since then I’ve been frustratedly trying to get rid of it.

So thanks!

2 Likes

Of course something’s wrong with the code. Well either that or hopscotch has a bug.

4 Likes

Thanks captain obvious:p

I don’t want you to take offense to that, it’s just a joke. Sorry if you do.

4 Likes

For some reason, the link to the game is no longer working. Could you please publish this project to your profile temporarily and tell me your username? Thank you.

1 Like

Based on first post – one question:
Why does it say bumps square 51 instead of self or = selfX & == selfY?

2 Likes

what did i do?

1 Like

You’ll have to post the game temporarily so I can see the code.

1 Like

i’m going through fixes in my game-all of which work-but the stu.pid big won’t go away!

1 Like