Progress bar for my game.
Hey guys,
I know this sounds pretty dumb, but I guess I've just been having a REALLY bad afternoon. :P
I want a progress bar that will fill up (not move self.position x like in TSB's progress bar template with the player and scene size etc) when I get enough points.
Example: when I decide to give points to the player, I want the progress bar to fill up a little.
You can continue to gain points until the progress bar or power bar is full.
Any Idea how I would do this?
Braydon
I know this sounds pretty dumb, but I guess I've just been having a REALLY bad afternoon. :P
I want a progress bar that will fill up (not move self.position x like in TSB's progress bar template with the player and scene size etc) when I get enough points.
Example: when I decide to give points to the player, I want the progress bar to fill up a little.
You can continue to gain points until the progress bar or power bar is full.
Any Idea how I would do this?
Braydon
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Comments
Love those wings! Amazing!
I did what you said and it seems to be working but with a few glitches. I can't wait for that video or demo file.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Hope you didn't have any heart burn from those wings last night.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Take your time on the video, I think I can read tshirtbooth code. :P
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
I saw and downloaded @tshirtbooth 's demo, and I followed it to the letter. Works pretty good.
The only problem is that when the progress bar is full, it moved from it's original spot.
I think it did this because it's changing it width. So, I cannot find a way to make it stay in the spot I want, even if it fills up.
Any ideas?
Thanks,
Bray
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
In my game, you need so many points to move on to the next "level"
But you won't get all the points you need in a single try, so you have to play multiple times.
So, what I had to do is, when you die, is change game.ScoreKeeperForNeededPoints to game.ScoreKeeperForNeededPoints+game.score. So this way, it will hold that rounds score, so it doesn't go away.
Could this bring up a problem?
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
But I'm still having this problem where the bar will move..
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
@creativeapps - yes, and I followed it. I had to tweak it to my needs, which is why, I think, something went wrong and that's why the bar moves when it fills up.
What's supposed to happen, is that the right side of the bar will move to the right, making it look like the bar fills up. This works, however, when its almost full, the left side starts moving too.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx