Hello All!
I’m trying to generate a 4X4 grid with images and write code to help the code identify matching images. Basically a matching game. The problem I’m having the most difficulty with is randomly the 4X4 images.
My images are in a sub folder ex. root_folder --> images --> gamescreen <-- (then all my image files are in here…).
how do I build the function and for loop to randomly generate the images out of this folder onto the screen?
() function scene:create( event ) local sceneGroup = self.view -- Code here runs when the scene is first created but has not yet appeared on screen end