31.10.2010, 13:05
I dont know that function that you use but you just have to use your brain.
-> Amount of Pixels that the bar has
-> Maximum amount of what you want to display
Then you can 'calculate' the pixels that the bar has to be enlarged for each exp
e.g. The bar has 300 pixels and the maximum amount of Exp is 100
Then you have to enlarge the bar by 3 pixels for each exp
-> Amount of Pixels that the bar has
-> Maximum amount of what you want to display
Then you can 'calculate' the pixels that the bar has to be enlarged for each exp
e.g. The bar has 300 pixels and the maximum amount of Exp is 100
Then you have to enlarge the bar by 3 pixels for each exp