Author Topic: Display images.  (Read 470 times)

Minefran12

  • Newbie
  • *
  • Posts: 12
    • View Profile
Display images.
« 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?

Diarandor

  • Hero Member
  • *****
  • Posts: 1018
  • Cats are cool! (ΦωΦ)
    • View Profile
Re: Display images.
« Reply #1 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?
“If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you.”

Minefran12

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Display images.
« Reply #2 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.

Diarandor

  • Hero Member
  • *****
  • Posts: 1018
  • Cats are cool! (ΦωΦ)
    • View Profile
Re: Display images.
« Reply #3 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
“If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you.”