You Can Talk About Hopscotch Here; Topic 29 [OFFICIAL]

No I want to see a dot moving around the maze like in this vid:

Edit: nvm you figured it out on your own.

I’m currently updating the project. If it says “updating” in the title, I’m working on it.

I’m experiencing crashes, so I have to publish the update every minute, lol.

1 Like

Then you should make a bug report.

It’s already been reported. Months ago, actually. “Hopscotch keeps crashing within 2-5 minutes of opening app”

2 Likes

Can you link me to it. You said it’s from disconnecting from WiFi for a few days right?

More like more than 3-6 hours.

4 Likes

So I decided to maze my own maze solver lol

6 Likes

That’s a-maze-ing!

I guess that makes three of us, lol.

5 Likes

Challenge accepted jk I already had my fair share of maze-making in Hopscotch

4 Likes

Well, you made a randomly generating maze, Mathematics2 and I made a basic maze solving algorithm, and Spy_Guy_96 made a maze you can make and solve yourself (well, from what I saw, anyways)

For my version, I used a useful trick called “the recursive function” to make the solver able to backtrack without extra variables.

5 Likes

The way my maze solver works is by basically solving the maze backwards and creating “arrows” that point back to the finish. It’s kinda hard to explain lol.

6 Likes

So it does some sort of pathfinding algorithm…?

5 Likes

Yeah, I know they’re different things, but the random maze generation has a lot of the same concepts involved in it. More specifically, I use backtracking to minimize the time it takes to generate a maze (I think mine has two variables (one for walls and one for steps iirc) since my engine is a bit different (each tile is a space – mine have no solid walls)

Point proven! Same thing in my maze generator – it literally has arrows in the string doing the same thing

It’s for tracking paths the solver has been to

4 Likes

I guess I’m the odd one out. I literally mark the tile the solver is at as “checked”, then I check one tile above, to the right, down, or to the left to see if any of those are open, then I repeat and backtrack if needed.

3 Likes

Here it shows how it works.

5 Likes

Interesting – that’s not what I was thinking, but I see how that works. Pretty cool!

You can also go to the “Path Draw” object in my project and set DEBUG MODE to 1 to visualize maze creation. For some reason, it’s imperfect, but actually I find that quite nice since sometimes the maze can be solved in 2 different ways (and it feels more natural)

6 Likes

I just fixed that annoying bug where the solver doesn’t solve more than once.

2 Likes

Create an animal simulator

3 Likes

Cool! Did you give credit /idea credit for the person who made maze?

@TB23 could you please draw me a avatar for my forum account? You don’t have to do this. And just in case you ask what I want, I would like a panther.

3 Likes

Please give me credit for the idea.

2 Likes