This is a small example of how, when picking a number, to prefer the smaller values. You can change the degree of gradation by dragging the slider. If you have any questions on how this works feel free to ask.
Download link : hostmyfilez.com/99717v6ab3av/gradiated_randomisation_system.cap
Hope this helps.
Hm... it says I need the SpriteButton plugin to open the cap file.
Yes, it's required a plug in.
http://www.scirra.com/forum/plugin-sprite-button_topic39401.html
Develop games in your browser. Powerful, performant & highly capable.
Thanks. This is a very nice example, though the sheer amount of events in there could be a bit debilitating. Good work!