Original Post
Hi there. In a 2D game of mine, I want to give the level designer (through the level editor) the ability to set the spawnrate of various game items using some sliders going from 0 to 100. How could I display an actual percentage chance that each specific object will spawn? Example: There are 6 items spawnable, all sliders are at the same position so all objects would have approx 17% chance of spawning. But if all sliders are down at 0% ecxept one, no matter what value it has (other than 0 of course) it would have 100% spawnrate. Currently I can't really see how to do that because the sliderbar's value (0-100) can't directly be used as the spawn chance, the chance depends on the other slider's values as well.