Weird bug in my game going on

So, in the game I am making right now is a clicker game that adds up score then use that score in shop to buy upgrades but, when clicking on the purchase button and exiting the shop instead of destroying they stay there but when I don’t click on them, they destroy as supposed too.

3 Likes

It’s very hard to help if you don’t share a link to your project, but is there a chance you are creating more than one menu sprite? Then only the most recent one would be getting destroyed and the first one would stay.

1 Like

Provide me the link and I will look over the code I also made a cookie clicker.

2 Likes

wait if you edit my code will it affect the final product of it like if someone changes it?

4 Likes

No, but you can download their game after they edit a copy of your game

1 Like

No, they cannot edit your og code, but they can edit a copy of it! (hopefully this helps)

1 Like

Changes only apply to seperate links, if I grab your code and change it its only changed for my version, the older links are unaffected

1 Like

No it won’t but we have to send it back to you then.

1 Like

Nope. You’re sharing a copy of the project when giving us a link

2 Likes

im pretty sure if they edit your code only their copy of your game will be affected, your main one should be the same

1 Like

I removed my answer cause there are already so many!! Glad to see so many people helping out on here, makes me happy :smiling_face:

I wrote too much to delete it all

No. Sharing the link does not give edit access. It only shares the game code (like if you shared the game with a friend, so they can’t edit the project but they can play the game). We can copy the code and make our own copies, and then we can easily find the bug, but it will not change your original copy. When I find bugs I usually explain what’s wrong and send a screenshot of the fix!

hello everyone I have found the solution to the problem thanks to everyone who helped and supported.

2 Likes