Hi all,
I actually want to change a picture displayed on a fixed position (just like what card game did…they show different cards on the same position.)
currently I am using stupid method to do that. (create all images and alpha =0…when used alpha = 1)
Let say, I have a.png and b.png.
local img = display.newImage(“a.png”)
img.x, img.y = _W/2,_H/2
…
that display a.png on the screen at center, but what if now I want to change the pic to b.png?
can I set something like:
img.??? = “b.png”
just like what we use text1.text =“xxxxx” in text field?
Thanks guys.