#How to make damage buffer?
1 messages · Page 1 of 1 (latest)
Well, how do they interact with each other
I don't quite understand. Enemies and player can damage each other but I don't want initiative bias
As in you dont want one to hit before the other?
What's stopping you in implementing this? Sounds like you just need a damage object stored in a list on the characters. Before or after update, consume the list.
So the damage object could be as simple as the damage value
It can be anything you want it to be. Id make a class realistically that holds a float for damage, then a reference to the character/object that sent the damage.