Two Way Switch

Discussion in 'How Can I...?' started by fast999, Apr 8, 2023.

  1. fast999

    fast999 Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    151
    Likes Received:
    9
    Is there a way to make a switch to open and close a door?
     
    Last edited: Apr 8, 2023
  2. HG-2018

    HG-2018 Avid Boxer

    Joined:
    Jun 18, 2018
    Messages:
    387
    Likes Received:
    220
    Classic or 3d ?
     
    fast999 likes this.
  3. fast999

    fast999 Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    151
    Likes Received:
    9
    I am making a 2d platformer. So it's classic. Like a switch if we press it door opens and then again press it so door closes. We can use the switch infinite number of times.
     
  4. HG-2018

    HG-2018 Avid Boxer

    Joined:
    Jun 18, 2018
    Messages:
    387
    Likes Received:
    220
    Do you want to be able to move the switch with an extra button or when you walk over it?
     
    fast999 likes this.
  5. fast999

    fast999 Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    151
    Likes Received:
    9
    Well able to move the switch with an extra button is what I am looking for however the other option is also good. so any idea how to do it?
     
  6. HG-2018

    HG-2018 Avid Boxer

    Joined:
    Jun 18, 2018
    Messages:
    387
    Likes Received:
    220
    I have an idea. I need a little to see if it is feasible. But it should work. I will make a version with a button that only comes when you are on the switch and one where you only have to touch it.
     
    fast999 likes this.
  7. fast999

    fast999 Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    151
    Likes Received:
    9
    Thanks man I really appreciate it because I thought that this is something which is limited to buildbox tools.
     
  8. HG-2018

    HG-2018 Avid Boxer

    Joined:
    Jun 18, 2018
    Messages:
    387
    Likes Received:
    220
    I hope this is what you were looking for.
    I left the obejcte visible so you can see how it goes. It is a simple switch button .


    The first door opens when you simply go over the switch and the other door when you press the button.You just need to customize it for your game.

    You can download the file here
     
    Last edited: Apr 13, 2023
    fast999 likes this.
  9. fast999

    fast999 Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    151
    Likes Received:
    9
    Thanks man i really appreciate it. Thanks for the help. This trick can really help to make many combination of other things.
     
    HG-2018 likes this.
  10. HG-2018

    HG-2018 Avid Boxer

    Joined:
    Jun 18, 2018
    Messages:
    387
    Likes Received:
    220
    No problem. I learned to use the limited version of buildbox Classic and found out that buildbox Classic is not so limited. Sure it is very limited in one way, unfortunately, but I have found some tricks.
     
    fast999 likes this.
  11. fast999

    fast999 Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    151
    Likes Received:
    9
    Thats great to see. Its really all about using your experience and creativity.
     
    HG-2018 likes this.

Share This Page