Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Tree Maps - Graphs and Skill Trees

An asset by ToxicStarfall
The page banner background of a mountain and forest
Tree Maps - Graphs and Skill Trees hero image

Quick Information

0 ratings
Tree Maps - Graphs and Skill Trees icon image
ToxicStarfall
Tree Maps - Graphs and Skill Trees

Tree Maps provides useful nodes and functionality to help create graphical maps of tree-like node structures.Designed for creating skill & technology trees.See repository for details and examples.

Supported Engine Version
4.4
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
13 hours ago
Git URL
Issue URL

Tree Maps - Graphs and Skill Trees

Tree Maps provides useful nodes and functionality to help create graphical maps of tree-like node structures.

image

Godot Asset Library - Releases

About

One day while trying to make a very large technology tree, I found that I was having trouble creating a system which would allow me quickly expand and add lots of different upgrades and paths. To simplify this process I decided to create Tree Maps in order to adress some of the complications behind creating tech/skill trees.

Currently, this remains a very simple addon, however I plan to continue adding features in order to help with creating fully fledged skill and technology trees.

Download & Installation

There are two options to install this addon:
  1. Through the built-in AssetLib tab in Godot.
  2. Download the zip file manually, unpack it, and put it in your project's "addons" folder.

Usage

This addon adds two new custom nodes which both inherit from Node2D: TreeMap and TreeMapNode

Starting in 2D view, add a new TreeMap to your scene, positioned at the origin.

Note: Positioning the TreeMap node anywhere else will effect drawing of TreeMapNodes. Will be fixed later.

TreeMap comes with several custom properties in the Inspector. By default, these properties will be passed down to any children TreeMapNodes. These properties will effect how TreeMapNode childs will be displayed and/or interact.

From here, you can now add TreeMapNode as a child of the TreeMap.

Note: It is highly recommended to have TreeMapNode be children of TreeMap. By continueing without TreeMap, there WILL be errors.

Editing any properties within the "Overrides" section will result in that TreeMapNode having its own property seperate from its parent TreeMap. To reset it to its default inherited property, simply reset the property normally.

Upon selecting a TreeMap or TreeMapNode, you can see in the tool bar at the top will change, showing some new tool buttons. These will allow you to edit your TreeMapNode(s)

Main Tools

Right click to disable active tool.
  • Edit Connections: Click to create connection. If there is a existing connection, remove it instead. If there is a existing connection poiting towards the selected node, swap pointing direction.
  • Add Nodes - Creates a new TreeMapNode at mouse click.
  • Remove Nodes - Removes the selected node.

Modifiers

These tools change the way Main Tools behave.
  • Chaining - selects the targeted node after using a tool (if applicable).
  • Lock/Unlock (WIP) - disables editing of the selecetd node(s).

Miscellaneous

  • Info (WIP) - Shows helpful info

to be continued...


Examples

Demo video

https://github.com/user-attachments/assets/fbfc2732-9639-446d-b620-4464e99fa997

Tree Maps provides useful nodes and functionality to help create graphical maps of tree-like node structures.

Designed for creating skill & technology trees.

See repository for details and examples.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Tree Maps - Graphs and Skill Trees icon image
ToxicStarfall
Tree Maps - Graphs and Skill Trees

Tree Maps provides useful nodes and functionality to help create graphical maps of tree-like node structures.Designed for creating skill & technology trees.See repository for details and examples.

Supported Engine Version
4.4
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
13 hours ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers