Hey everyone!
Today I want to show you what I've been working on over the past week: the Equipment System!
What started as a simple system to handle clothing visibility and durability for the demo has evolved into a complete, full-fledged equipment system.
It's now fully integrated with the character's existing attribute system.
The character's clothes aren't just cosmetic anymore.
They can actually protect your character and grant extra attributes!
How the Equipment system Works
The equipment system is built around three main parts:
Slot
Equipment
Equipment/Slot Manager component
Slots
They contain:
Durability
Type (bra, panties, shirt, accessory, etc.)
Corresponding sprite layer
Currently equipped item
Active status
There are two main slot types right now:
Regular slots and Clothing slots
Clothing slots are special,they handle durability, visibility, and can enable/disable the visual layers of your character's outfit.
When a clothing slot's durability reaches zero, the equipment becomes invisible and its attribute bonuses are deactivated.
Equipment
They include
Name
Description
Attributes
Attribute description
Type (must match a compatible slot)
The Equipment Manager
it's the brain of this operation
It stores all slots, sums up the attributes from equipped items, and feeds them into the main attribute system.
It also handles enabling/disabling clothing visibility, clothing damage, and works on both the player and other characters.
This architecture allows me to expand and develop new slot for equipments as needed and allows to easily expand and implement new features around it if needed
I also made some tweaks and improvements to the attribute system so everything works together smoothly.
The core calculation logic remains the same, but now it plays nicely with equipment bonuses.
What's Next?
The core of the equipment system is done!
I just need to add a clothing damage parameter to the hitboxes and implement the actual damage mechanics.
This is the last major character-related mechanic before the demo release.
Once it's wrapped up, I'll move on to the final character animations:
Azalea defeat
Capra Demon spawn
Capra Demon defeat
I'm also planning to launch a Discord server this week!
I'm currently setting everything up properly (roles, channels, rules, etc.) so it feels right.
As soon as it's ready, I'll share the link with you all.
Thank you so much for your continued support it really means a lot!
See you in the next update!