I’ve been sketching out an app i want to make and one has come across my mind, which involves arrays and timers. Problem is i don’t know where to start.
I want to make some items pop up on the screen for 1 second receive a touch event then go to the NEXT array table and any pictures that aren’t touched from the previous array count as +1 for the score. On this map 0 should be empty space and 1 should be an image that i have made. It would last for 1 minute so 1 second per array would be 60 arrays?
local Map = {{},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 1, 0}}
Where should i start?
