I wanna show random images on a button clip in my game. Any Help?
I have sprite objects with images and wanna display them on the button click. How should I do it?
you can load each image into frame and randomly generate number on button click and load frame that has selected number.
see file for demo
box.com/s/w938y0zspne5asrjafxm
(I'm not sure if same number preventing block works correctly though, too sleepy to test correctly)
hey thanks for the example man, Ill now download it and try :)
Develop games in your browser. Powerful, performant & highly capable.
sure no prob
I think i fixed issue with same pic in random, new example