well im making an rpg game where you can increase your variable stats as the game progresses like maxhealth and etc. but i made a healthbar that has 20 frames from 0"empty to 20 "completely full"
the problem is that when i increase the maximum health more than 20 it gets complicated because i dont know the right "formula" for calculating percentages and converting them into frames. i saw the other healthbar examples but they were either not what i was looking for, or too complicated so please... a little help?