http://buildbox.com/forum/index.php?threads/tutorial-game-progress-0-100.7890/#post-41306 Search the forum first. Almost many things are discussed and solved.
well I know that but if u look closely at the tutorial you will see that % changes when the user picks the diamond. This is not a progress. This will show 100% even if the player didn't reach that place in the game. and what happens if he doesn't pick the coin ?
Level Approach: If you are designing level completion type, design it. Calculate the whole distance, divide it by 100 for getting Unit Point Distance. Place a point/coin action at every Unit Point Distance (in a way that character must have to grab it, making the action across the screen and giving it 0 opacity). It should do it. You can then show the current points/coins collected at top of the Game UI and also in the Game Over UI with a % after it. World Approach: If you are designing world completion type with the restart checkpoint, the approach is similar.
There are a number of ways to achieve this like some others have suggested. Ive used a different method in my new game. I used the score based text system... so drag a new label onto your UI, change function to Score and set score type to Distance. What this does is display the amount of pixels moved. Now my game is based on level completion, and in my case I want it to count to 100 and then finish the level. So I created 10 scenes in my world each with a scene distance of 1000. Then in my game mind map I clicked on the world once to bring up its world settings. Change Score Multiplayer to 0.01 and now that counter will count much slower, at a normal pace. There is some math involved to getting it precise, and honestly I don't know exactly, but with that setting it works out OK. Just in my end scene I had to adjust the scene distance to 1250 and have menu jump right at the end for it to complete right on 100...... so its a little bit of tweaking the numbers and adjusting your scene distance to get right.
Is it possible to make Level (World) Progress Bar but as a graphic stripe, not the text with numbers? And not based on distance because I'm using random scenes where player collects Points so he can miss many coins and progress should be based on collected Points. For example to finish this World he needs to collect 20 Points. He can play for hours trying to find them but once found a progress bar will display graphical representation of the progress. I hope it's clear.