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
(I'm not sure if same number preventing block works correctly though, too sleepy to test correctly)
Develop games in your browser. Powerful, performant & highly capable.
hey thanks for the example man, Ill now download it and try :)
sure no prob
I think i fixed issue with same pic in random, new example