Show items by holding space bar ? (resolved)

  • #1, z Vincent MetalloSunday, 16. July 2017, 22:53 hodinky 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 ?


    Bažant

    6 Posts


  • #2, z afrlmeSunday, 16. July 2017, 23:04 hodinky 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.

    Imperátor

    7285 Posts

  • #3, z Vincent MetalloMonday, 17. July 2017, 12:40 hodinky 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 :/.

    Bažant

    6 Posts

  • #4, z afrlmeMonday, 17. July 2017, 12:51 hodinky 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

    Imperátor

    7285 Posts

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

    Kapitán

    1097 Posts