Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Buffer Buff

The Problem:

Buffs were updating the player stats but that was not being reflected in damage output. You would pick up a buff that would increase your strength, and it would reflect the update. However your sword attack would still only do the base damage. We had two or three systems working but not totally working together. So while things updated in one system they didn't in another at least not fully.


The Solution:

Spent many hours in meetings with the other developers. We went over each system and one dev fully re-worked a system in order for us to get this working as intended. I had to change up  a few functions to return different variables, and take in new params. Hours of talking and walking through different systems and files finally lead us to the problem. Now the players strength increases and their damage output is now increased. 





** First image is the buff info, base damage is 25

** Second image is the damage before picking up enemy started with 100hp

** Third image is damage after pickup


author: Dewayne Hicks
posted on 13/10/23

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.