Hello, i'm doing the map of my game by displaying images, my question is, How can I do to alternate them by presing the arrows?
Ahoy there! Cat lover here! :D
I don't really understand the problem. Could you explain it better and what is your purpose?
What do you mean by "images" in this case? (Tiles maybe?) And what do you mean by "alternating" the images?
Ok, my problem is that i want to do map that is a display in the screen of an image, a png, and with presing the arrows on the keyboard change to other image.
Sorry i explain myself badly.
You should use a menu for that. Read the Lua API:
http://www.solarus-games.org/doc/1.6/lua_api_menu.html