Random Maze Tutorial - Preview

New releases and general discussions.

Post » Mon Mar 16, 2009 11:23 pm

The first of the Random Maze Tutorials is nearly ready for release.

I just have to finish off a few things first.
Should be finished by the end of the week.

This first one will focus on a simple algorithm for creating random mazes, going into detail about how the coder should approach the tasks, before allowing you to set the size of a maze and watch it being generated.



As you can see from the screenshots, as well as the size of the maze, you can control the speed of the generation and the zoom level.
You can also decide to have the camera follow Pacman (who's kindly volunteered to carve out our maze for us), or have control of the camera with the right mouse button.

I should point out that originally I'd planned to release this as a documented .cap file, but during the changeover from 0-based arrays to 1-based arrays, I decided to start again without using arrays (to save waiting) and the program uses detection instead.
As this isn't a method that anyone would use when creating a maze for their game, there is no value in releasing the .cap.

Because of this, I've made the tutorial very detailed on the specific aspects of maze creation, with plenty of diagrams, so as long you're comfortable using arrays there's no reason why you'd need the cap file anyway.

Sponge.
B
2
S
1
G
3
Posts: 105
Reputation: 1,310

Post » Tue Mar 17, 2009 9:06 am

I have to say that I am looking forward to this!
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Tue Mar 17, 2009 12:38 pm

Sounds great, hope you get it soon finished.
B
27
S
3
G
5
Posts: 172
Reputation: 3,628

Post » Tue Mar 17, 2009 2:27 pm

Looks cool :) I'm sure some people would still benefit from a .cap.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue Mar 17, 2009 2:29 pm

The second screenshot looks cute, haha.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Fri Mar 20, 2009 4:07 am

I'd like to see a .cap file either way... I'm not all that flash at using arrays myself so something like this would be perfect for me and many others I can think of.

Can't wait to see this!

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Wed Apr 01, 2009 1:16 am

Sorry for the delay guys.
I've been swamped for the past week, and when I did get some time to finish it today, I came across a Construct bug which seemed to affect the enabling/disabling of groups (which I can't seem to reproduce now).

Anyway, it's pretty much finished, so it should be up in the next 24 hours.

Tutorial #2 should follow in days, because it's basically a way of optimising the algorithm, which is important for larger mazes.

Cheers,
Sponge.
B
2
S
1
G
3
Posts: 105
Reputation: 1,310

Post » Fri Apr 03, 2009 6:42 pm

For those who haven't noticed yet, the tutorial is out.
You can find the thread in the tutorial section.

Cheers,
Sponge.
B
2
S
1
G
3
Posts: 105
Reputation: 1,310


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests