Percentage Bundle

Very simple percentage bundle I created in 5 minutes.

3 Likes

There are a lot of behaviors in the bundle that could be simplified by using a single expression.

image

4 Likes

I am still trying to figure out how expressions work but this is very helpful with simplifying it even further. Thank you.

3 Likes

If you want to look more into expressions, percentages, and number manipulations, take a look at my Range Converter bundle. It’s kinda doing the same thing, but is based on a range of values that you input into it, outputting the percentage or value you need.

For example, 10% of a range of 10 to 20 will be the value 11.

image

In the Progress Bar example, it takes the percentage of the player position between the start and goal positions. The UI uses that percentage to place the Marker between the start and end positions of the bar.

https://flowlab.io/game/play/1380087

4 Likes

Ok. Thank you, this is very helpful. I will bookmark this.

3 Likes