[ad_1]
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
Asked
Viewed
152 times
I’ve been trying to make an algorithm to procedurally generate a path from a tile map attached below.
I’m just looking for a method to go about doing this.
EDIT: I want to make a path for a tile map like generate a path then output to a tile map. Pardon the drawing but this is kinda what I want it to look like:
[
I don’t want it to be something like this:
[
\$\endgroup\$
4
I would look at the maze generation algorithms for inspiration (single path is not generally warranted, so randomly open some paths, the amount depends on the openness needed) and then apply the tileset to the generated graph’s turn possibilities, straight, open, and split paths.
\$\endgroup\$
2
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged .
default
[ad_2]