hoanganh17's Recent Forum Activity

  • Dear AarongamerX

    Thank so much for your quick reply

    I change my program like that, but same result..??

    Where I must put System.DelayTime ???

    Global number isMoving =1

    Button|On clicked -->System|wait 0.5 seconds

              [SubEvent](if)     System|isMoving = 0 -->Button|Set text to "Stop"

                        -     -->System|Set isMoving to 1

              [SubEvent](else)     System|isMoving = 1 --> Button|Set text to "Start"

                             -->System|Set isMoving to 0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I got big problem when I want to reset value of Global variable and Button text.

    My purpose:

    1. In initial time, my Button have text = "Start" and Global variable isMoving == 1.

    2. After first click my Button must have text = "Stop" and Global variable isMoving is reset to isMoving == 0.

    3. After second click my Button must have text = "Start" again and Global variable isMoving must be equal 1.

    But actually, when program is launched, my Button text == "Start" after few clicks..?? and I guess my Global variable isMoving == 0.... <img src="smileys/smiley3.gif" border="0" align="middle" />

    Could some one help me pls. Because very specific purpose I could use only one button.

    My program like below

    Global number isMoving =1

    Button     |     On clicked

              (if)     System|isMoving = 0 -->Button|Set text to "Stop"

                        -     -->System|Set isMoving to 1

              (else)     System|isMoving = 1 --> Button|Set text to "Start"

                             -->System|Set isMoving to 0

hoanganh17's avatar

hoanganh17

Member since 29 Jul, 2012

None one is following hoanganh17 yet!

Connect with hoanganh17

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies