Hey, im not home and can not try it, but a thought affects me:
I have to randomize 2 images.
Even if the App Start it should display 2 images randomly.
certainly i will mut the pool of images in a table like this:
local pool = {“1”, “2”, “3”, etc.}
and call it by:
local randImage display.newImage(“Images/”…pool…".jpg")
now, this code just display .jpg files.
But what is, if file 3 is a sprite? how can i define the sprite values and get it in to the randomize?
Can i outsource the spriteinformation and call them by calling the lua file?
If yes, how? is there any documentation or tutorial?
thanks a lot and a nice day