I was wondering how to randomise the positioning of buttons for a game for each time it is attempted.
Thanks :D
Printable View
I was wondering how to randomise the positioning of buttons for a game for each time it is attempted.
Thanks :D
Whta you'll have to do here is randomize placements of MC's, not buttons. Place your button(s) inside of a movie clip, and go from there:
JIC:
SetProperty(/nameofMC,_x) = Random(TOTALX)
SetProperty(/nameofMC,_y) = Random(TOTALY)