- Made for using with Game Creator 2
- Full suite for making spell systems and skill trees!
Advanced Skill System for Game Creator 2
A complete, production-ready skill tree system with visual scripting integration, save/load support, and a powerful sequencer for Game Creator 2.
🎯 Features
Core System
- ✅ Flexible Skill Trees - Create unlimited skill trees with prerequisites and level requirements
- ✅ Multi-Level Skills - Skills can have multiple levels with different effects per level
- ✅ Skill Points System - Configurable currency system for unlocking and upgrading skills
- ✅ Prerequisites - Skills can require other skills to be unlocked first
- ✅ Unlock Conditions - Use Game Creator 2 conditions for complex unlock requirements
- ✅ Active & Passive Skills - Support for both skill types
Visual Scripting Integration
- ✅ 35+ Visual Scripting Elements - Complete integration with Game Creator 2
- ✅ 6 Events/Triggers (OnSkillUnlocked, OnSkillLevelUp, OnSkillUsed, etc.)
- ✅ 9 Conditions (IsSkillUnlocked, CanUnlockSkill, CompareSkillLevel, IsSkillInHotbar, etc.)
- ✅17 Instructions (UnlockSkill, UseSkill, SpawnInFormation, PullEnemies, ApplyDamageInRadius, etc.)
- ✅ 3 Properties (GetSkillValue, GetSkillTreeValue, CheckSkillLevel)
Animation System
- ✅ Sequencer Integration - Timeline-based skill execution with animation sync
- ✅ Root Motion Support - Full support for root motion animations
- ✅ Phase-Based Execution - Cast, Release, and Recovery phases
- ✅ Frame-Perfect Instructions - Execute instructions at specific animation frames
UI System
- ✅ Drag & Drop - Intuitive skill tree UI with drag and drop support
- ✅ Skill Hotbar - Quick access bar with keyboard shortcuts (1-8)
- ✅ Tooltips - Configurable tooltips with skill information
- ✅ Visual Feedback - Cooldown indicators, level display, unlock states
- ✅ Connection Lines - Beautiful vector-quality lines between skills
- ✅ Confirmation System - Confirmation UI for unlock/level up/refund (optional)
- ✅ Refund System - Refund skills and recover spent points, supports full re-spec
- ✅ Skill Points Display - Animated skill points counter with color feedback
Technical Features
- ✅ Object Pooling - Optimized memory management for skill instances
- ✅ Save/Load System - Full persistence support with Game Creator 2 memory
- ✅ Cooldown System - Robust cooldown management with visual feedback
- ✅ Debug Mode - Built-in debug logging for troubleshooting
- ✅ Clean Architecture - Code with encapsulation and error handling
📋 Requirements
- Unity 2021.3 or higher
- Game Creator 2 (Core package required)
- TextMeshPro (included with Unity)
🚀 Quick Start
1. Installation
- Import the Skill Tree System package into your project
- Ensure Game Creator 2 is already installed
- The system will automatically set up required folders
2. Setup Wizard (Recommended)
The easiest way to get started:
- Go to
Tools > Skill Tree > Setup Wizard
- Follow the step-by-step wizard:
- Select your Player GameObject
- Create your first skill tree
- Choose to create example skills (recommended)
- Set up UI in your scene
- Click "Setup!" and you're done!
3. Manual Setup
If you prefer manual setup:
Create a Skill Tree
- Right-click in Project window
Create > Skill Tree > Skill Tree Data
- Name it (e.g., "Combat Skills")
Create Skills
- Right-click in Project window
Create > Skill Tree > Skill
- Configure the skill:
- Name and description
- Icon
- Cost (skill points)
- Max level
- Cooldown duration
- Prerequisites (optional)
Add to Player
- Select your Player GameObject
- Add Component >
Skill Tree Component
- Assign your Skill Tree Data
- Set initial skill points
Add UI
- Drag
SkillTree.prefab into your Canvas
- Drag
SkillHotbar.prefab into your Canvas
- Link the Skill Tree Component reference
📖 Core Concepts
Skill Tree Data
The main container for your skills. Think of it as a "skill database" that holds all available skills for a character class or system.
Skill
A ScriptableObject that defines:
- Basic Info: Name, description, icon
- Costs: Unlock cost, level up cost
- Requirements: Prerequisites, unlock conditions
- Actions: What happens on unlock, use, and level up
- Animation: Optional sequencer for animated skills
Skill Instance
Runtime representation of a skill for a specific player:
- Current level
- Unlock state
- Cooldown state
- Managed automatically by the system
Skill Tree Component
The main component on your player that:
- Manages skill points
- Tracks unlocked skills
- Handles skill usage
- Triggers events
🎮 Usage Examples
Unlock a Skill (Visual Scripting)
Trigger: On Button Click
Condition: Has Skill Points >= 5
Instruction: Unlock Skill [Fireball]
Use a Skill with Hotkey
The hotbar automatically handles this! Just:
- Drag a skill from the tree to a hotbar slot
- Press the number key (1-8)
- The skill executes with cooldown
Check Skill Level (Visual Scripting)
Condition: Check Skill Level
- Skill: [Fireball]
- Comparison: Greater Than or Equal
- Required Level: 3
Award Skill Points
Trigger: On Enemy Killed
Instruction: Add Skill Points
- Amount: 1
Refund a Skill
Trigger: On Button Click
Instruction: Refund Skill
- Skill: [Fireball]
- Refund All Levels: true
Create AOE Damage Zone
Trigger: On Skill Used
Instruction: Spawn Persistent Zone
- Position: Player Position
- Radius: 5
- Duration: 10 seconds
- Tick Rate: 1 second
- On Tick: Apply Damage (10)
Pull Enemies (Black Hole Effect)
Trigger: On Skill Used
Instruction: Pull Enemies To Position
- Position: Player Position
- Radius: 10
- Force: 5
- Duration: 3 seconds
Spawn Projectiles in Formation
Trigger: On Skill Used
Instruction: Spawn In Formation
- Prefab: [Fireball Projectile]
- Count: 8
- Formation: Circle
- Spacing: 2
Create Skill with Animation
- Create a Skill asset
- Enable "Use Sequencer"
- Assign an Animation Clip
- Add phases in the sequencer:
- Cast Phase: Wind-up animation
- Release Phase: Execute damage/effects
- Recovery Phase: Cool-down animation
- Add instructions to each phase
🎨 UI Customization
Skill Tree UI
- Modify
SkillTree.prefab to change layout
- Adjust colors in
SkillItemUI component
- Configure connection line style in
SkillTreeUI
Skill Hotbar
- Change hotbar position (Top, Bottom, Left, Right)
- Customize slot appearance
- Configure hotkeys in
SkillHotbarUI
Tooltips
- Adjust tooltip offset per skill
- Modify
SkillTooltip.prefab for custom styling
- Add/remove information fields
💾 Save & Load
The system integrates with Game Creator 2's save system:
Automatic Saving
Instruction: Save Game
- Profile: [Your Profile]
This automatically saves:
- Unlocked skills
- Skill levels
- Current skill points
- Hotbar configuration
Loading
Instruction: Load Game
- Profile: [Your Profile]
Everything is restored automatically!
🔧 Advanced Features
Object Pooling
Skill instances are automatically pooled for optimal performance. No configuration needed!
Custom Unlock Conditions
Use any Game Creator 2 condition:
- Player level requirements
- Quest completion
- Item possession
- Custom variables
- And more!
Specific Level Conditions
Define different requirements for each skill level:
Level 1: No requirements
Level 2: Requires 100 mana
Level 3: Requires quest "Dragon Slayer" complete
Event System
Subscribe to events in your own scripts:
skillTreeComponent.OnSkillUnlocked += (skill) => {
Debug.Log($"Unlocked: {skill.SkillName}");
};
📚 Visual Scripting Reference
Events (Triggers)
- On Skill Unlocked - When a skill is unlocked
- On Skill Level Up - When a skill levels up
- On Skill Used - When a skill is used/cast
- On Skill Points Changed - When skill points change
- On Skill Cooldown Start - When cooldown begins
- On Skill Cooldown End - When cooldown finishes
Conditions
- Is Skill Unlocked - Check if skill is unlocked
- Can Unlock Skill - Check if skill can be unlocked now
- Is Skill On Cooldown - Check cooldown state
- Is Skill Max Level - Check if skill is maxed
- Has Skill Points - Check if player has enough points
- Compare Skill Level - Compare skill level (==, !=, >, >=, <, <=)
- Compare Skill Points - Compare skill points (==, !=, >, >=, <, <=)
- Is Skill In Hotbar - Check if skill is assigned to hotbar
- Is Hotbar Slot Empty - Check if hotbar slot is empty
Instructions
Skill Management
- Unlock Skill - Unlock a specific skill
- Level Up Skill - Increase skill level
- Use Skill - Use/cast a skill
- Set Skill Level - Set skill to specific level
- Refund Skill - Refund a skill and return points
- Reset Skill Cooldown - Clear cooldown
- Reset All Skills - Clear all progress (with optional refund)
Skill Points
- Add Skill Points - Give skill points
- Set Skill Points - Set points to specific amount
- Remove Skill Points - Take away points
VFX & Spawning
- Instantiate Multiple - Spawn multiple objects at once
- Instantiate Multiple With Delay - Spawn with delay between each
- Spawn In Formation - Spawn in formations (V, Line, Square, Hexagon, Triangle, Diamond, Circle, Wedge)
- Spawn Persistent Zone - Create zones with tick effects (damage zone, heal zone, buff zone)
Combat
- Apply Damage In Radius - AOE damage with falloff curve
- Pull Enemies To Position - Black hole effect that pulls enemies
UI
- Show Unlock Confirmation - Show confirmation panel for unlock
- Show Refund Confirmation - Show confirmation panel for refund
Properties
- Get Skill Value - Get skill data (level, cooldown, etc.)
- Get Skill Tree Value - Get tree stats (unlocked count, etc.)
- Check Skill Level - Compare skill level
🐛 Troubleshooting
Skills not appearing in UI
- Check that skills are added to the Skill Tree Data
- Verify Skill Tree Component has the correct Skill Tree Data assigned
- Ensure UI prefabs are properly linked
Hotbar not working
- Verify Player GameObject has "Player" tag
- Check that Skill Tree Component reference is set in SkillHotbarUI
- Ensure skills are unlocked before assigning to hotbar
Save/Load not working
- Confirm you're using Game Creator 2's save system
- Check that SkillTreeMemory component is in the scene
- Verify save profile is correctly configured
Cooldowns not resetting
- Check that the skill has a cooldown duration set
- Verify the Skill Tree Component is active
- Try using "Reset Skill Cooldown" instruction
Animation not playing
- Ensure "Use Sequencer" is enabled on the skill
- Verify Animation Clip is assigned
- Check that the character has a Character component
- Confirm Gesture system is working
📞 Support
🔄 Changelog
Version 1.0.0
-
Initial release
-
Complete skill tree system
-
Visual scripting integration (35+ elements)
-
Projectile system with 9 behaviors (Straight, Curve, Wave, Zig Zag, Spiral, Boomerang, Homing, Orbit, Artillery)
-
Area of Effect, Effect Over Time, Gravity Pull
-
Animation sequencer
-
Save/load support
-
UI system with hotbar
-
Object pooling
-
Debug system
📄 License
This asset is licensed for use with Game Creator 2.
See LICENSE.txt for full details.
🙏 Credits
Created by KingEdward
Built for Game Creator 2 by Catsoft Studios
🚀 What's Next?
Now that you have the basics, explore:
- Create your first complete skill tree (10-15 skills)
- Set up prerequisites and unlock conditions
- Add animations using the sequencer
- Customize the UI to match your game
- Test save/load functionality
- Build your game!
Happy skill tree building! 🎮✨