Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2022.3.39f1 | Compatible | Compatible | Compatible |
Requires Unity 2022 and above. Otherwise it is a scripting asset and has no dependencies on any specific rendering pipeline. Tested in Unity 2022.3.39f and Unity 6000.35f1.
DeepStats is a simple, intuitive Stat and Modifier system that can be used in almost any type of game. Utilise a convenient editor workflow to author your custom stat system, design interesting modifiers with a powerful inspector, then perform extremely fast stat calculations with a highly optimised, Burst compiled library.
Who is DeepStats for?
DeepStats is designed for programmers or independent game developers who have some basic programming knowledge. It is meant to be used as the backbone of any numerical systems in your game so you must be able to integrate it by adding it to your own scripts and calling a relatively simple API. After integration, DeepStats can be used by designers as most of the authoring tools are available in the Unity Editor.
Features:
- Scale Stats in a wide variety of ways with an easy to use custom inspector for Modifiers.
- Apply Modifiers conditionally using a high performance Tag system to check for requirements on yourself or a target or both (eg. Sword Damage against Undead).
- Scale individual Modifiers using the Scaler system, allowing you to hook your own gameplay into DeepStats to create interesting Modifiers (eg. +5 Damage for each nearby enemy).
- Create advanced Modifiers that interact between Stat Types, such as Stat Value conversions, Tag conversions, Modifier Type conversions and many more.
- Support for both single stat values and stat ranges between a min and max.
- Endlessly composable: DeepStats can inherit values from other DeepStats, to allow you to chain stats together and apply scaling at each step (Eg. Give Stats and Modifiers to Weapons, then scale them again by the Players own Modifiers).
- Simple and intuitive programming API for easy integration into your own code.
- Core calculations are written in Burst and carefully applied `unsafe` C# code for maximum performance.
- Code generation is used to provide a simple interface to access your custom DeepStats types in your own code. Author the types of your stat system with ScriptableObjects, then generate code and access them using enums.
- Multiple demo scenes are available for examples of ways to utilise DeepStats.
- Comprehensive documentation available.
DeepStats is perfect for creating complex stat systems for an ARPG like Path of Exile, Diablo, Survivors-type games like Vampire Survivors. It is also flexible and fast enough for any other genre that uses dynamic numbers in gameplay such as RTS, RPG and many more.
Usage Documentation | Github Bugs and Feature Requests
DeepStats - Highly Flexible, High Performance Stat System
