Random number with gradation

Post your own tutorials, guides and demos.

Post » Tue Aug 23, 2011 11:26 pm

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 : http://www.hostmyfilez.com/99717v6ab3av/gradiated_randomisation_system.cap

Hope this helps.
B
6
S
1
G
1
Posts: 69
Reputation: 1,019

Post » Wed Aug 24, 2011 2:32 am

Hm... it says I need the SpriteButton plugin to open the cap file.
B
8
S
2
G
6
Posts: 44
Reputation: 3,007

Post » Fri Aug 26, 2011 12:10 am

[QUOTE=TheBen] Hm... it says I need the SpriteButton plugin to open the cap file.[/QUOTE]

Yes, it's required a plug in.

http://www.scirra.com/forum/plugin-sprite-button_topic39401.html
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Wed Aug 31, 2011 6:17 pm

Thanks. This is a very nice example, though the sheer amount of events in there could be a bit debilitating. Good work!
B
8
S
2
G
6
Posts: 44
Reputation: 3,007


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests