The main goal of this project is to be used for fast prototype games that require a Graph Node. 

Currently, you can:

  1. Set up the total number of nodes of the graph
  2. Set up the number of Starting Nodes - this will determine the amount of paths to the nearest end node available
  3. Set up the number of Ending Nodes
  4. The size of the world, in a rectangular shape
  5. The Size of the nodes, also in a rectangular shape
  6. Seeds, in case you need to create the same world multiple times
  7. Set up the direction in which the path will follow from Start to End nodes:
    1.   Bottom -> Top or Left -> Right
  8. Set up the number of connections between the lanes created from the starting nodes - those are created based on the proximity of the nodes between two paths
  9. Set up the algorithm to create the graph that connects everything:
    1. Distance to End node
    2. Axis X and Y
  10. You can create a parallel batch for determined settings that run in parallel. It helps to generate the map faster in case your setup takes a long time to be created. 
  11. Debug information:
    1. Display Nodes discarded because they are out of bounds
    2. Display Nodes discarded due to overlapping

See a simple example below:



You can find the code on GitHub and its using Unity

Published 19 hours ago
StatusReleased
CategoryTool
PlatformsHTML5
Authorycarowr
GenreEducational
Made withUnity
Tagsgraph, node, Roguelike, Roguelite, world-map, worldmap

Leave a comment

Log in with itch.io to leave a comment.