Show items by holding space bar ? (resolved)

  • #1, by Vincent MetalloSunday, 16. July 2017, 22:53 7 years ago
    Hi !

    Someone have an idea if it's possible to show all items the player can interact with by holding space bar ? Like my screenshot and like a lot of new generation point&click.



    I think it's possible but i wonder if it is without a script ?


    Newbie

    6 Posts


  • #2, by afrlmeSunday, 16. July 2017, 23:04 7 years ago
    Yes, it's possible without scripting. There's actually already a system built into Visionaire Studio for doing just that. wink

    You need to add animations manually to each of your scene objects that you want highlight, anyway... here's what you need to do.

    1. click on a scene object.
    2. navigate to the "effects" tab
    3. now link an animation to the "snoop animation" bit.
    4. at the top of the scene preview window, where the toolbar bit is you will find an icon that looks like the return/enter key of a keyboard. Select that & you will be able to move the hotspot animation around by left clicking & dragging the animation sprite. Place it wherever you want to place it.
    5. rinse & repeat the process for each scene/scene object.
    6. once you've done that, you will be needed to create 2 key event actions, so navigate to the main game tab, where all the games settings are. Then navigate to the key actions tab.
    7. Create a key event for "space" & now add the "show snoop animations" action part to that.
    8. Do the same again, but create a key event for "space (released)" & add the same action part as before but set it to hide snoop animations.

    I think that about covers it.

    Imperator

    7278 Posts

  • #3, by Vincent MetalloMonday, 17. July 2017, 12:40 7 years ago
    Great ! It's perfectly working ! Thanks a lot.

    I was on the good way but i didn't saw the "key released" option :/.

    Newbie

    6 Posts

  • #4, by afrlmeMonday, 17. July 2017, 12:51 7 years ago
    Great ! It's perfectly working ! Thanks a lot.

    I was on the good way but i didn't saw the "key released" option :/.
    But you managed to find them, though yeah? & no problem at all mate. smile

    Imperator

    7278 Posts

  • #5, by MachtnixMonday, 17. July 2017, 15:44 7 years ago
    Also thanks for this tutorial!

    Thread Captain

    1097 Posts