Display images.

Started by Minefran12, March 27, 2018, 07:41:02 PM

Previous topic - Next topic
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?
"If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you."

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
"If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you."