Here is what my attempt looks like so far… Proof of concept, it doesn’t reflect the final product.
Credit to Mathematics2 for original concept.
I am good at doing multiple touch location checks using only 1 object, though…
@Mathematics2 I’ll still be able to do the clones method. What max (grid size) would you like? (note: large amounts can lead to lag spikes)
again, youve beaten math2 in time /lh
thank you! this is really helpful :)
64 by 64 please as some people may want that. Also I want to try your solver please.
That’s 4096 clones, that’s when it gets way too laggy. I won’t be able to add the other stuff that’s required on top of that (not literally, obviously. It means “other than that”).
Oh I see that makes sense. You can deside the max size.
you can draw the map and delete all clones before the solver gets to work - this way it wont be tooooo laggy
Ok. If I go for a large size, I’ll have to add scrolling as well. Each tile = 50x50 (on a 12.9" iPad Pro)
@Tri-Angle, I’m using the clones for the walls, now, instead of trails.
why? youre using when bumps?
No, it’s just for aesthetics. It’s mostly so you can change any tile without having to use advanced code to check a specific touch location.
Here’s what I have so far.
Note this is a BETA version. Your deserved credit will be in the full version, as well as other features such as size and tile customization.
@Mathematics2 here’s version 1.0
It certainly did take me a while to get it working…
Range is 2-30. 30 was the largest that I could put on one screen while still being able to edit the maze…
I never made it smart. It prioritizes up, then right, then down, then left.
I like how it says AE in it
Mine too! Hahaha. Next up would be a breadth-first surch.
What’s that? I’m genuinely confused…
A breadth-first search algorithm might be a little hard to implement…
It’s a kind of maze solving algravum.
Also can I please see it solve the maze like in your video. Ie actually see it solving it.
You want me to make a video of it solving the maze, or are you asking where the “solve maze” button is?
Oh, wait, I know what you’re talking about. The moving dot. Sure, I’ll add that option.