A downloadable asset pack

Buy Now$16.00 USD or more

Skill Tree is an advanced system written in Ren'Py scripting language. 

The lines visible in the preview images are dynamically generated using code. The system is built around renpy.Displayable and renpy.Render.


Features:

  • Unlock skills by meeting requirements such as skill points and unlocking prerequisite (parent) skills.
  • Reset entire skill categories and recover spent skill points.
  • Set multiple requirements for unlocking a skill, allowing connections from several other skills.
  • Automatically choose the best calculation formula to render paths between skills based on their positions.
  • The skill tree viewport adjusts its size automatically based on the placement of the furthest skill (the viewport is not a frame with the light blue borders in the preview images; the viewport is inside that frame; it's draggable and scrollable)
  • Automatically change the color of lines connecting skills based on whether the next skill is/can be unlocked.
  • Tooltip is shown after hovering over the skill icons (visible on preview images)
  • Supports Ren'Py rollback.


Additional Content:

This additional content is provided as examples to help you understand the system's potential and how to implement it correctly.

  • A Player class with attributes and logic (level, experience, skill points, leveling up mechanics).
  • 73 example skills.
  • 7 practical examples of skill implementations within a game.
  • 71 skill icons (you may use them in your projects).


Script Statistics:

  • Relevant files: 2 (script.rpy | skill_tree.rpy)
  • Total lines of code: ~371 (Excluding comments, skill examples, and example usage. Including everything, it's around 720 lines).


Skill Attributes:

Required:

('ID', 

'Name', 'Description', 'Icon', 'Category', 

'Cost', 'Required Skills', 

'X Position', 'Y Position', 

Optional:

'Skill Image Width', 'Skill Image Height', - (default 124×124)

'Dict Data For Rendering Lines*') - (default from bottom to top)

*Dict Data For Rendering Lines - by default, lines are generated from the bottom of the parent skill to the top of the child skill. If you need a different configuration, you can provide specific information for the generator.

Example configuration:  {'storage_tier_unlock': ('top', 'bottom')}


This is the first part of a forthcoming RPG scripts series. The next script in line will feature a commission system along with party management.

If you encounter any bugs, please report them on the product website (here) or contact me directly. I’ll address and resolve them promptly.

Have any questions? Feel free to reach out using the contact information below.

I'm open for commissions.

Contact:

  • Discord: collynnyy
  • E-Mail: coltosocial@gmail.com


Purchase

Buy Now$16.00 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $16 USD. You will get access to the following files:

SkillTree.rar 1.2 MB

Leave a comment

Log in with itch.io to leave a comment.