DE EN FR ES IT CZ
Back Back to top

Object visibility

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  • #1, by marianna-lapina 8 years ago Quote
    I have an object on screen which, when looked at should trigger an object to show up.  I probably need to set object visibility of the big post it note to 0% and when 'looking at tiny post it note' is executed set big post it note visibility to 100%, but I don't understand where and how to do that exactly. And then when the cursor leaves the area of the big post it note the visibility should be set back to 0%. 
  • New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  • #2, by shico 8 years ago Quote
    1 - Create a conditon called  "big_note"  start "false"
    2- In "Big note"object properties link the big note object to the condition you create above.

    3- in "Big note" actions  add:
          Cursor leaves objects area 
              Change condition "big_note" to "false"

    4 - in "small note" actions:
           use execute command on object
            "look" executed ----> change condition "big_note" to "True"

    *don't forget to draw an object area for each object  


  • #3, by esmeralda 8 years ago Quote
    You can use interfaces for the close ups.

    Create an interface with the item you want to show as background and assign it to your character. Choose an interfaceclass you haven't already used. (or create a new one)
    Create an action on leaving the interface (in the properties of the interface)-> hide the interface (actionpart show/hide interface)
    You need to hide the interface at the beginning of the game (game properties). 
    In your look action you show the interface (actionpart show/hide interface). It will hide again when leaving the interfacearea because of the action you created in the properties.


    You could also create an image as big as your resolution as background of the interface. (transparent background, image in the middle) So clicking outside the image wouldn't cause the character to walk. 
  • #4, by marianna-lapina 8 years ago Quote
    Thank you a lot!!! I really appreciate it! 
  • #5, by afrlme 8 years ago Quote
    As Esmeralda said, you can use interfaces... check out this tutorial I wrote the other month - especially the bit about using an interface for close-up stuff.
  • #6, by shico 8 years ago Quote
    Thanks for the "Grid based scene" tutorial Lee! I wasn't aware it's available. I guess I got used too much to using "conditions" for everything!
  • #7, by Machtnix 8 years ago Quote
    It's OT, but your painting is wonderful. I hope to see more. Good luck!

    BTW: I remember you have only six  interfaces to create? Is this correct? I had a similar problem, because I used interfaces for every pop-up notes (like: do you want to save? Or: a treasure map to zoom), and at the end of the day all five or six interfaces were consumed. No more interfaces. But it was version 4.2.5, maybe it's better now?
  • #8, by sebastian 8 years ago Quote
    you can create new interface classes via the Explorer (ctrl+e / cmd+e) 
  • #9, by Machtnix 8 years ago Quote
    Really? Thanks.