#Skill Tree for a game built with SDL(OpenGL as well)

19 messages · Page 1 of 1 (latest)

wide creek
#

So Im working on my first game and I wanna implement a skill tree, ik how to build the skill tree in code(something like linked list with parents and children) but I can't figure how to visualise it

I would like learning resources that you worked with to learn those topics

raw gateBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

wide creek
sweet ibex
#

In computer science, a tree is a widely used abstract data type that represents a hierarchical tree structure with a set of connected nodes. Each node in the tree can be connected to many children (depending on the type of tree), but must be connected to exactly one parent, except for the root node, which has no parent (i.e., the root node as th...

sweet ibex
wide creek
#

But idk how to visualise it

sweet ibex
# wide creek

since this doesn't seem to look like a freeform graph like graphviz would draw, personally I would start by giving each node a position, then drawing the links between them as you walk the tree

wide creek
#

Got you

sweet ibex
#

but I don't do graphics programming, and I don't have much experience with graphs

#

so uh

#

take it with a grain of salt :)

wide creek
#

I will find more ways like this

sweet ibex
#

aw :)
but, if you like graphics programming, maybe these kinds of questions would be well-suited to the graphics programming discord: discord gg 6mgNGk7

wide creek
#

Tnx

#

Does not work can you send me it @sweet ibex