New Item System


Add a new item system that allows you to make your own items upgrading the stats of the player

"Hello everyone, and welcome to another devlog! Today, I’ll be showcasing a new feature I've added to my game: a custom item system that allows players to create their own items and upgrade their character's stats. This system is perfect for adding depth to RPGs or games with character progression."

[SECTION 1 - What is the Custom Item System?] "So, what exactly is this system? Essentially, it allows players to either collect or craft items that can be used to upgrade their character's stats, like health, speed, attack power, and more. It's a dynamic system that gives players control over how their character grows."

[SECTION 2 - How the System Works in Unity "Now, let’s dive into the implementation. In Unity, this system is based on scripts that track player stats and allow the items to modify them. I’ve created a base Item class that defines the different types of items and how they affect the player."

[SECTION 3 - Applying the Item Upgrades to the Player]

"Next, let’s see how we can apply these item upgrades to the player’s stats. I’ve created a PlayerStats class that holds the player’s current stats and applies the boosts when they acquire a new item."

[SECTION 4 - Expanding the System with Crafting "To make the system more interactive, I also added a crafting feature. Players can gather materials and combine them to create new items that will affect their stats."


[SECTION 5 - Demonstration "Let’s see this system in action! In the game, the player collects an item, and you can immediately see their health, speed, and attack power improve as the item is applied."

(Show gameplay footage where the player collects or crafts items, and stats increase.)

[SECTION 6 - Final Thoughts and Thanks "That’s how you can implement a custom item system in Unity, where players can create or collect items to improve their stats. This system adds a lot of depth and replayability, especially in games focused on character progression."

Files

WebGL (2).zip 10 MB
58 days ago

Get SDK_Unity_Demo

Leave a comment

Log in with itch.io to leave a comment.