Show/hide my inventory with a transition

  • #1, by themis-tThursday, 09. February 2023, 15:30 A year ago
    Hey guys and girls!

    As you can obviously tell from my low number of posts, I'm a Visionaire noob...!

    So, here's my question. I've managed to set up my character's inventory, which pop ups at the bottom of the screen every time  the player presses the "I" button. 

    However, I don't really like the way the inventory appears and disappears - I'd love to add a fade in/out transition or make it come from e.g. the left of the screen to its final position.

    I thought I could gradually increase/decrease its visibility with e.g. 10 consecutive commands - but is there an easier way to accomplish this?

    Thanks a lot in advance!

    Newbie

    7 Posts


  • #2, by esmeraldaThursday, 09. February 2023, 17:26 A year ago
    You can do this by some lines of Lua code.
    Example:
    Interfaces["name_of_interface"]:to(500, {Offset = {x = 0, y = 900}, easeQuintOut})

    If you don't want to use a script, there are some plugins for custom action parts, including sliding an interface. 
    https://wiki.visionaire-tracker.net/wiki/Action_Part_Plugins


    And for increasing/decreasing the visibility. With the existing action part "set interface visibility" you can set the time for changing the visibility. So no need to have 10 action parts...

    Key Killer

    513 Posts

  • #3, by themis-tThursday, 09. February 2023, 17:58 A year ago
    You can do this by some lines of Lua code.
    Example:
    Interfaces["name_of_interface"]:to(500, {Offset = {x = 0, y = 900}, easeQuintOut})

    If you don't want to use a script, there are some plugins for custom action parts, including sliding an interface. 
    https://wiki.visionaire-tracker.net/wiki/Action_Part_Plugins


    And for increasing/decreasing the visibility. With the existing action part "set interface visibility" you can set the time for changing the visibility. So no need to have 10 action parts...

    Thank you very much for your help, much appreciated!

    Newbie

    7 Posts

  • #4, by themis-tThursday, 09. February 2023, 18:23 A year ago
    You can do this by some lines of Lua code.
    Example:
    Interfaces["name_of_interface"]:to(500, {Offset = {x = 0, y = 900}, easeQuintOut})

    If you don't want to use a script, there are some plugins for custom action parts, including sliding an interface. 
    https://wiki.visionaire-tracker.net/wiki/Action_Part_Plugins


    And for increasing/decreasing the visibility. With the existing action part "set interface visibility" you can set the time for changing the visibility. So no need to have 10 action parts...

    I'm afraid I'm struggling with this; I downloaded and installed the "Slide Interface Up/Down" plugin, and set it as you can see in the screenshot I'm attaching. Unfortunately, when I press the letter "I" during the game, the inventory interface does not appear. It does appear if I use the action part "Show/Hide Inventory", though, but obviously without any transition. 
    I'm attaching the inventory interface properties as well, in case it helps you with , hopefully, coming up the solution to this "problem". 
    Once again, thank you for your precious time.

    Newbie

    7 Posts