[ad_1]
Sport Improvement Stack Trade is a query and reply website for skilled and unbiased sport builders. It solely takes a minute to enroll.
Anyone can ask a query
Anyone can reply
One of the best solutions are voted up and rise to the highest
Requested
Considered
153 instances
I have been attempting to make an algorithm to procedurally generate a path from a tile map hooked up beneath.
I am simply in search of a technique to go about doing this.
EDIT: I wish to make a path for a tile map like generate a path then output to a tile map. Pardon the drawing however that is kinda what I would like it to appear to be:
[
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]