how do i program a skill and stat tree like in diablo 2

Started by
3 comments, last by uedgk360 14 years, 11 months ago
how do i program a skill and stat tree like in diablo 2
Advertisement
What are you programming in?

Pretty much for stuff like this I would write down on paper what you want it to do, if you want a whole interface like in diablo2 its going to be alot of work...

Basically draw everything, have buttons for each skill, to activate skills lower in the tree make sure there is enough points in stuff above it.

What, specifically, are you needing to know more about? Without more specifics, I would recommend that you begin by reading about trees and other data structures.
well first you create a data structure that represents your tree. Then you implement a tree traversal so that you can display an update your tree.
Quote:Original post by yewbie
What are you programming in?

Pretty much for stuff like this I would write down on paper what you want it to do, if you want a whole interface like in diablo2 its going to be alot of work...

Basically draw everything, have buttons for each skill, to activate skills lower in the tree make sure there is enough points in stuff above it.


c++ and opengl

This topic is closed to new replies.

Advertisement