Hai All.,
I am really very new to corona sdk (lua)
please any one help! i need it in a hurry kindly anybody help me !!!
The question is :
First I stored 10 images in array(i.e. table) from 1-10 as key values and I create a random number usingmath.random function between 0-9., and i need to access the image that is stored in array by the value created by random function, and need to assign the touch and move(drag and drop) function for the particular image file alone., other images also needs touch(i.e drag alone)
Ex: if the random fn creates no as “5” i need to drag and drop the image 5.png that is stored in array index as 5 .,other images except 5.png should not able to drop., (i.e., they are allowed to move in screen but not to drop able in screen)
Thanks a lot in advance
i attached some code what so far i done.,