#Skill Tree for a game built with SDL(OpenGL as well)
19 messages · Page 1 of 1 (latest)
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.
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...
this looks more like a https://en.wikipedia.org/wiki/Graph_(abstract_data_type)
In computer science, a graph is an abstract data type that is meant to implement the undirected graph and directed graph concepts from the field of graph theory within mathematics.
A graph data structure consists of a finite (and possibly mutable) set of vertices (also called nodes or points), together with a set of unordered pairs of these vert...
Yeah, I already built a general tree in C++
But idk how to visualise it
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
So every node will have X and y ?
Got you
yes, that'd be my naive approach
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 :)
You just opened a door for me
I will find more ways like this
aw :)
but, if you like graphics programming, maybe these kinds of questions would be well-suited to the graphics programming discord: discord gg 6mgNGk7