Need help displaying an image on screen

  • #1, by guusWednesday, 04. June, 22:32 A week ago
    Hi! I'm building a small adventure game with an interface and inventory interface like the curse of monkey island (coin-interface). At some point in the game the player can pick up a scroll, and once it's being used in the inventory I'd like the scroll to pop up on screen large, add some voice over, and have it disappear when the player clicks a mouse button.

    I'm having trouble doing it, also because the scroll needs to be open-able on every scene, and some scenes have a wider background than the actual resolution (to create a scrollable background when the player walks to the edges of the screen).  I'm not very good with Lua, so my coding skills are limited. 

    I've added some screenshots: one of the scroll in the inventory and another with the result I want to achieve. What's the best way to tackle this?

    Newbie

    2 Posts


  • #2, by esmeraldaThursday, 05. June, 13:59 A week ago
    make it an interface.
    if you use a transparent background the size of the game resolution it will also block all input, so the character won't walk anywhere while the interface with the scroll is visible.

    Key Killer

    538 Posts

  • #3, by guusThursday, 05. June, 15:39 A week ago
    Ofcourse! That did the trick. Thanks!

    Newbie

    2 Posts

Write post