Simple tool for creating skill trees.
nodes
: List of skills with position and unlock rules.connections
: Links between skills.node_id_index
: Next free node ID.connection_id_index
: Next free connection ID.
{
"id": 0,
"key": "name_of_my_skill",
"max_points": 1,
"needed_neighbour_point_sum": 0,
"position_x": 180.0,
"position_y": 0.0
}
id
: Unique skill IDkey
: Skill keymax_points
: Max allocatable pointsneeded_neighbour_point_sum
: Points needed from neighbors to make this node availableposition_x/y
: UI position
{
"id": 0,
"from_skill_id": 0,
"to_skill_id": 1,
"from_anchor": "RIGHT",
"to_anchor": "LEFT"
}
- Connects one skill to another for dependency or UI
- Anchors are visual positions (
"UP"
,"DOWN"
,"LEFT"
,"RIGHT"
,"UP_LEFT"
,"UP_RIGHT"
,"DOWN_LEFT"
,"DOWN_RIGHT"
)