In my game i have health variable that respond to a animation frame that is from 1 to 100, but since the health is a variable number how do i get the percentage from it .. based on the initial state of it
Develop games in your browser. Powerful, performant & highly capable.
Health / Max Health = % of health