I'm basically doing this Skill Tree system, which permits actors to learn their skills from multiple skill trees and level them up, and whatnot. But I'm not so experienced in the fields of scripting and having some trouble with Sprites.

Here's a screenshot of how it looks. The core mechanics of the skill tree drawing and operation is almost done. The only thing I'm really unsure is how will I draw the arrows that show skill requirements. The arrows tend to vary in angle and size, and they must look good, or be able to look good with some custom sprites.

I've done those 16x16 "tiles" of arrows, so they can be combined (and customized later) to form arrows of any size and... rotated... to any direction. But I wonder how the Sprite rotation works and how will that look...

For the moment I made this placeholder draw_arrow method, but right now it only does crazy stuff (already showing some of the intended logic, but since I don't know what is best, I don't know if I should keep on with the method)... Just un-comment the test lines and you'll see.
Is there a good way to make those multi-directional, multi-length arrows?
Skill Tree Demo.zip

Here's a screenshot of how it looks. The core mechanics of the skill tree drawing and operation is almost done. The only thing I'm really unsure is how will I draw the arrows that show skill requirements. The arrows tend to vary in angle and size, and they must look good, or be able to look good with some custom sprites.
I've done those 16x16 "tiles" of arrows, so they can be combined (and customized later) to form arrows of any size and... rotated... to any direction. But I wonder how the Sprite rotation works and how will that look...

For the moment I made this placeholder draw_arrow method, but right now it only does crazy stuff (already showing some of the intended logic, but since I don't know what is best, I don't know if I should keep on with the method)... Just un-comment the test lines and you'll see.
Is there a good way to make those multi-directional, multi-length arrows?
Skill Tree Demo.zip
