Solarus-Games English Forum

Solarus => Development => Topic started by: Minefran12 on March 27, 2018, 07:41:02 PM

Title: Display images.
Post by: Minefran12 on March 27, 2018, 07:41:02 PM
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?
Title: Re: Display images.
Post by: Diarandor on March 27, 2018, 08:03:10 PM
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?
Title: Re: Display images.
Post by: Minefran12 on April 02, 2018, 07:50:19 PM
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.
Title: Re: Display images.
Post by: Diarandor on April 04, 2018, 11:22:17 AM
You should use a menu for that. Read the Lua API:
http://www.solarus-games.org/doc/1.6/lua_api_menu.html