How do I check if the marble will loop into a wall when it moves?

I have a game, where the player can loop-around the board. The only problem is, I don’t know how to check if the player will go into a wall after looping. They can’t move into them normally. Anyone know how to fix?



4 Likes
4 Likes

Thanks for embedding my not-embed messages

2 Likes

I don’t really have the time to check this out fully, and hopefully I’m not interpreting anything wrong, but see if you can detect what tile the circle will move to, and check the data string at that index.

So, instead of moving directly, you’d set a variable to where it would move, then check it before moving.

2 Likes

Hm… that could work!

2 Likes

Except I’m not too sure how to do that…

1 Like

Is there a way to clone a clone when it is on a specific spot, and then tell the clone’s clone to do something?

2 Likes
When Object Is Cloned
If Clone Index = // your clone’s index
// execute code
1 Like

I could do that, but the problem is that the original object clones 100 times, and most likely it will clone before it first caps at 100 clones. It wouldn’t hurt to try though!

1 Like

what? it’ll word even if the original object clones 2096 times

2 Likes

work***

1 Like