Quantcast
Channel: GameSalad 101 — GameSalad Forums
Viewing all articles
Browse latest Browse all 8964

percent progress bar

$
0
0

Hi, so I am creating a running game(not endless) and I have a a variable that records the percent ran(the max is 100). So
I have a progress bar that is 270 pixels wide. I have made my variable equal self.size.width(of the progress bar). then constrain self.position.x = 27+(self.size.width)/2. So the problem is that I cant figure out how to show the percentage in a progress bar so that when it is 100% the progress bar is 270 pixels wide. Please dont post a file(not enough storage) but rather a screenshot,video, or type it. Thanks. Please reply in the next 10 days because I have a free trial(had account for 2 years, but not paid) and want to finish my game(worked on for year). Thank you so much.


Viewing all articles
Browse latest Browse all 8964

Trending Articles