Hi all, very new to C3. How can I make a simple 2x2 matrix that looks like tiles and each tile will have a simple image/sprite...except one. That one will be a different sprite but should be located at random location of the tile. So I'm thinking a 2D array but not sure how to link the array in memory to the sprites/images' location. I know C/C++, Python and others, but this paradigm is new to me.
example: I want an image of a happy face (image_ repeated and shown in a tile of a 2x2 matrix. Then at a 0-index based array's random location (e.g. 0,0 at first cell once, then at 1,1), I want a sad face (image) appear. Then when the user clicks on the sad face sprite object the game does something, like score (I can do that part).
A simple example would be VERY appreciated and make the difference between buy/not-buy.
I need to populate the array with a for loop (I think I can figure out the loop part on the array object) but with the images (this part I'm confused about). Then pick a random location and insert (push?) an image to that random location and keep track of that specific tile (so I can track user-click on it).
P.S. I'm trying out on free account before buying, so I can only do 2 layers max and 50 events.
MANY THANKS!