PathiGen - Infinite Path Generator

Hi Everyone,

The latest update to my path generating system PathiGen has been approved for the Unity Asset Store.

What is PathiGen?
PathiGen is a system for generating infinite random paths similar to what you’d find in games like Temple Run, or Agent Dash.

What can PathiGen do?

  • PathiGen can generate a random path as short or as long as you want.
  • PathiGen uses an array of pre-made path pieces giving you exact control over how the generated path looks.
  • PathiGen gives you total control over which path piece is generated and when.
  • Start and stop new paths seamlessly. It can easily generate a path leading up to a room with a boss fight and then pick up right where it left off.

Check out the demo!

Path Style Demo
This demo simply shows the variety that PathiGen can create.

Infinite Path Demo
An endless straight path. New path pieces are generated as old ones are deleted. This keeps things running smoothly. You can specify exactly how many path pieces you want in the scene to keep things running fast.

Limited Path Demo
Like the infinite path, except this one will stop generating pieces after a specified amount. Once it generates the last piece it will generate an end to the path, another prefab you specify. This could easily be a unique room or puzzle that once completed starts generating a new path.

What does PathiGen come with?
Aside from the main script. PathiGen includes 5 unique tilesets with 16 pieces each. All tiles are set up as prefabs with proper colliders so you can get started right away.


City Street, Desert Road, Stone Wall, Riverbank, Half-Pipe


Each tile set comes with two grades of up and down slopes, straight pieces, and a number of left and right turns

PathiGen is available now on the Unity Asset Store

Fix the demo link.

Fixed the demo link.

Is it possible to use your own prefabs as tiles (what are the requirements for tile sections to work with your system)?

Will side objects, attached to the prefab tiles, with colliders (buildings, rock faces) work with your system?

This looks like you could make some really fun things with it

Hey, thanks for the questions. Sorry about the delay in response.

cheezorg: You can absolutely use your own prefabs with this system. The only requirement is that they have an object at the start and finish of each tile piece for placement purposes. These pieces can be added in whatever 3D package you use (I place small cubes in 3D Studio MAX) or you can place empty gameObjects in Unity. Basically you just need a transform at the beginning and end of each so that the script can place the next tile properly. These nodes also need to be named a certain way but you can get that from the prefabs I’ve included in the package.

You can attach whatever you’d like to the tiles. Essentially PathiGen instances prefabs into the scene so if your tile prefab has trees or buildings or whatever, those will be generated as well.

lazygunn Thanks! There’s actually quite a few different types of games you could make with this system. This system was actually built for a game I’m working on.

To show the flexibility of PathiGen I’ve updated the demo to include a sidescroller demo as well, similar to how Jetpack Joyride works. Keep in mind the sidescroller demo is basic. Don’t expect a whole game. :wink:

PathiGen Demo Link

Hi,
Please can you provide free download source code of PathiGen - Infinite Path Generator project for free, for learning and developing 3d games in Unity.

Thanks
Ram

maybe cheaper… ? Need for a some tests…

Can I have it for free?