Mine island code help

@CodeHelp
I am working on a game called mine island
https://c.gethopscotch.com/p/11glba58oz

What I need help with is when you switch skins the collisions stop working. Is there any way I can fix this?

How to regenerate the problem.

  1. Go into my game
  2. Click on the fist in the bottom bar when game starts
  3. bump in to a tree. Ok it works.
  4. But know go to the backpack and click shop
  5. Buy a skin (I gave you ten coins)
  6. Try steps 2 and 3 again.
6 Likes

For the skins are you using different text object or what?

1 Like

And forgive me the game is not done yet so it might look a little unprofessional

1 Like

No the original skin just switches it’s text.

1 Like

Hmm that’s really interesting

1 Like

It’s because the game doesn’t take orders from another skin

2 Likes

And if I can’t figure this problem out there will be no skins :slightly_frowning_face:

2 Likes

I believe the problem is the skin method you have it might keep changing the physical objects hit box so it can’t count the bump the easiest way too fix this is make a separate object for a hit box and only use the player as a visual thing not a collideable object

2 Likes

Ahh so make a separate hit box the same size as the player instead of having the player it’s own hit box. GREAT IDEA.

1 Like

One sec I’m going to test this if it works we can close this topic.

1 Like

It worked! @Leaders can you please close this topic. THANK YOU SO MUCH @Dragonmaster101

1 Like