Random Path Creation
Hey guys! I didn't find what I needed in a search and I always seem to get a lot of good responses here from the gurus for any questions I have.
I have an idea for a new game, but it involves creating a random path from one side of the screen to the other. It will have an underlying grid, so it will be like calculating a path from one side of a checkerboard to the other. Does anyone have an idea of how to do that or is there a place where I can find info like that? If I can't figure this out, I can just lay out a lot of layers by hand, but it would be insanely cool for the game itself to generate them.
I have an idea for a new game, but it involves creating a random path from one side of the screen to the other. It will have an underlying grid, so it will be like calculating a path from one side of a checkerboard to the other. Does anyone have an idea of how to do that or is there a place where I can find info like that? If I can't figure this out, I can just lay out a lot of layers by hand, but it would be insanely cool for the game itself to generate them.
Answers
* Does it have to work its way around objects or is it just left to right (or right to left..lol)?
* Does it have to work out a shortest route or will any suffice?
I may have an idea as to how to do this (on paper, not actual rules) which may help.
I'm mainly looking for the basic idea of how to set up the logic, but actual rule setup for Gamesalad isn't necessary. I figure if I can understand the logic, then the rule setup will become clearer to me.
I'm also trying right now to work out some of the logic myself to see if I can do it, but it's trial and error for me. Progress is slow. I'm mainly an artist and just now learning some of the more complex logic needed to do things like this. I'm not quite there though.
Still working on a possible solution, I could be way off base with it, but if I can get it to work, I'll share with the community.