I would like to select an image
Example I want to select a character of three images.
lets suppose I choose “image2”
I will use that image in my game.
How can I do that?
[lua]
local image = display.newImageRect( “image.png”, 100, 100 )
image.x = 50
image.y = 100
local image1 = display.newImageRect( “image1.png”, 100, 100 )
image1.x = 50
image1.y = 150
local image2 = display.newImageRect( “image2.png”, 100, 100 )
image2.x = 54
image2.y = 200
[/lua]