How do I set SliderBar to visible?

0 favourites
  • 3 posts
From the Asset Store
Custom Slider Bar Tutorial. I don't have other remaining words to type here
  • I'm trying to make an alternative touch control with the sliderbar instead of buttons.

    Here is the event sheet:

    SliderBar is initially set to visible, and the buttons are invisible.

    It changes from the sliderbar to the regular controls, but it doesn't change back.

    Any idea how to fix this?

    Thanks!

  • 'Is on screen' refers to a position. Is the position on the screen or not.

    I know that the SliderBar has no 'Is visible' condition. It is a form element. So .....

    Give SliderBar an instance Boolean 'VisBle', set it to true (in the properties ... if it starts visible)

    Now the code is:

    (SliderBar) Is Boolean set ('VisBle')

    __________________set invisible

    __________________set Boolean ('VisBle') to false

    Else

    __________________set visible

    __________________set Boolean ('VisBle') to true

    Else is NEEDED, else the first event (set invisible) will set the second event ALWAYS true.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks a lot!

    it now works

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)