How do I Switch a button's location and value on the fly

0 favourites
  • 2 posts
From the Asset Store
Toggles Dials Switches and Alerts ! A foundational sound grouping of Analog type switches and Steampunk effects
  • Hey all!

    I've been working on a simple game, in which players have to pick a right answer for a math problem, based on three buttons.

    The issue is however, I cant seem to make the right answer switch between buttons. I've tried to set it up on a check system where whatever button's "answer" variable is set to 1, it is correct, whilst checking the others to make sure they're not also set to correct.

    Whichever button is correct then assumes the text that is the answer, however I can't figure out how to actually make this work.

    I have it set so when a button is the correct choice, it should change the text of the button to be the answer to the problem, however, they just go blank the second they are told to change text, and I am very confused.

    Thanks in Advance

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You may need to post your capX to properly troubleshoot this.

    Have you checked that the text box is wide enough to display your answers in the layout screen?

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