Hello everyone. I need help to implement a combat mechanic in my game.
Basically I want that when hitting an enemy with its weakness it adds one point to a variable, the idea is that up to 5 points can only be accumulated. When you have enough points you can use points to perform a special attack.
The idea is that as you accumulate points, a star-shaped meter fills up (Here is an image as an example, the yellow stars represent the points you have).
I need help to implement it in my game, any suggestion, help, or plugin you can give me I would greatly appreciate it.
Basically I want that when hitting an enemy with its weakness it adds one point to a variable, the idea is that up to 5 points can only be accumulated. When you have enough points you can use points to perform a special attack.
The idea is that as you accumulate points, a star-shaped meter fills up (Here is an image as an example, the yellow stars represent the points you have).
I need help to implement it in my game, any suggestion, help, or plugin you can give me I would greatly appreciate it.