OscarC's Forum Posts

  • 2 posts
  • THANKS!

    It works great now. Thanks for helping me out!

    dropbox.com/s/t5mv8o10zh4l3i2/OPen%26Close.capx

    Use the same trigger only once, and 'else' is essential.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is what I have. It works but only once.

    Basically, I have a button. When I press the button a door opens. When I press it again it closes. If I press it again, it should open again...etc. ad infinitum

    I got it to open once, close once, then that's it.

    The door is just a tiled object and when I press the button the first time, it brings it forward on the layer and when I click it again it puts it to the bottom.

    I know I need some kind of loop but not sure how to do this.

    If I could use BASIC like commands in the even sheet, I would do a "GOTO 1" after the last line <img src="{SMILIES_PATH}/icon_e_geek.gif" alt=":geek:" title="Geek" />

    Here is what I have as an event to the button.

    imgur.com/a/VroYW

    Maybe I need to be using sprites or something for this.

    Thanks for helping this old n00b out <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

  • 2 posts